Skip to main content

sc_crawler.vendors._alicloud

Functions:

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:

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:

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.