sc_crawler.vendors._alicloud
Functions:
- inventory_compliance_frameworks – Manual list of compliance frameworks known for Alibaba Cloud.
- inventory_regions – List all available Alibaba Cloud regions.
- inventory_zones – List all availability zones.
- inventory_servers – List all server types at Alibaba Cloud using the
DescribeInstanceTypesAPI endpoint. - inventory_server_prices – Fetch server pricing and regional availability using the
QuerySkuPriceListRequestAPI endpoint. - inventory_server_prices_spot – Fetch spot instance pricing by time-based sampling of on-demand instances per region.
- inventory_storages – List all block storage offerings.
- inventory_storage_prices – Fetch server prices using the
QuerySkuPriceListRequestAPI endpoint. - inventory_traffic_prices – Collect inbound and outbound traffic prices of Alibaba Cloud regions.
- inventory_ipv4_prices – Static IPv4 pricing of Alibaba Cloud regions.
func inventory_compliance_frameworks
inventory_compliance_frameworks(vendor)
Manual list of compliance frameworks known for Alibaba Cloud.
Resources: https://www.alibabacloud.com/en/trust-center/compliance
func inventory_regions
inventory_regions(vendor)
List all available Alibaba Cloud regions.
Data sources:
- https://api.alibabacloud.com/document/Ecs/2014-05-26/DescribeRegions
- Foundation year collected from https://www.alibabacloud.com/en/global-locations?_p_lc=1
- Aliases (old region names) collected from https://help.aliyun.com/zh/user-center/product-overview/regional-name-change-announcement
func inventory_zones
inventory_zones(vendor)
List all availability zones.
func inventory_servers
inventory_servers(vendor)
List all server types at Alibaba Cloud using the DescribeInstanceTypes API endpoint.
Lifecycle (DescribeAvailableResource StatusCategory): WithStock -> ACTIVE,
ClosedWithStock -> PLANNED_FOR_RETIREMENT, WithoutStock -> INACTIVE,
ClosedWithoutStock -> RETIRED; missing in availability response -> INACTIVE.
func inventory_server_prices
inventory_server_prices(vendor)
Fetch server pricing and regional availability using the QuerySkuPriceListRequest API endpoint.
Alternative approach could be looking at https://g.alicdn.com/aliyun/ecs-price-info-intl/2.0.375/price/download/instancePrice.json.
func inventory_server_prices_spot
inventory_server_prices_spot(vendor)
Fetch spot instance pricing by time-based sampling of on-demand instances per region.
Each region worker fetches spot prices for a random sample of instances within sample_time, adapting to different response times, parallelized across regions.
func inventory_storages
inventory_storages(vendor)
List all block storage offerings.
Data sources:
- https://www.alibabacloud.com/help/en/ecs/user-guide/essds
- https://www.alibabacloud.com/help/en/ecs/developer-reference/api-ecs-2014-05-26-createdisk
- https://www.alibabacloud.com/help/en/ecs/user-guide/block-storage-performance
Capacity ranges are specified in GiB in the Alibaba Cloud documentation and are converted to GB here. Throughput values are in MB/s as per the documentation.
func inventory_storage_prices
inventory_storage_prices(vendor)
Fetch server prices using the QuerySkuPriceListRequest API endpoint.
func inventory_traffic_prices
inventory_traffic_prices(vendor)
Collect inbound and outbound traffic prices of Alibaba Cloud regions.
Inbound is free as per https://www.alibabacloud.com/help/en/ecs/public-bandwidth.
Outbound traffic pricing collected from the QuerySkuPriceListRequest API endpoint.
Account level tiering information can be found at https://www.alibabacloud.com/help/en/cdt/internet-data-transfers/#4a98c9ee8eemn.
func inventory_ipv4_prices
inventory_ipv4_prices(vendor)
Static IPv4 pricing of Alibaba Cloud regions.
Static (not Elastic) IP addresses are free, you only pay for bandwidth or traffic as per https://www.alibabacloud.com/help/en/ecs/user-guide/public-ip-address?spm=a2c63.p38356.0.i1#52c0fa8bbcee6.