turbot/alicloud
steampipe plugin install alicloud

Table: alicloud_ecs_zone - Query Alibaba Cloud Elastic Compute Service Zones using SQL

Alibaba Cloud Elastic Compute Service (ECS) provides fast memory and flexible compute power. An ECS Zone is a physical area with independent power grids and networks inside an Alibaba Cloud region. Zones are designed to ensure that failures are isolated within Zones and are physically separated within a typical metropolitan region.

Table Usage Guide

The alicloud_ecs_zone table provides insights into the zones within Alibaba Cloud Elastic Compute Service (ECS). As a system administrator, explore zone-specific details through this table, including zone availability, network type, and resource specifications. Utilize it to uncover information about zones, such as their capacities and capabilities, the network types they support, and the resources available within them.

Examples

Basic info

Explore which resources, volume categories, and instance types are available in specific zones of your Alicloud Elastic Compute Service. This can help you make informed decisions about where to deploy your resources based on the capabilities of each zone.

select
zone_id,
local_name,
available_resource_creation,
available_volume_categories,
available_instance_types
from
alicloud_ecs_zone;
select
zone_id,
local_name,
available_resource_creation,
available_volume_categories,
available_instance_types
from
alicloud_ecs_zone;

Get details for a specific region

Determine the resources available in a specific geographical region. This is useful for planning and optimizing resource allocation for your operations in that region.

select
zone_id,
local_name,
available_resource_creation,
available_volume_categories,
available_instance_types
from
alicloud_ecs_zone
where
zone_id = 'ap-south-1b';
select
zone_id,
local_name,
available_resource_creation,
available_volume_categories,
available_instance_types
from
alicloud_ecs_zone
where
zone_id = 'ap-south-1b';

Schema for alicloud_ecs_zone

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
account_idtextThe Alicloud Account ID in which the resource is located.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
available_dedicated_host_typesjsonbThe supported types of dedicated hosts. The data type of this parameter is List.
available_disk_categoriesjsonbThe supported disk categories. The data type of this parameter is List.
available_instance_typesjsonbThe instance types of instances that can be created. The data type of this parameter is List.
available_resource_creationjsonbThe types of the resources that can be created. The data type of this parameter is List.
available_resourcesjsonbAn array consisting of ResourcesInfo data.
available_volume_categoriesjsonbThe categories of available shared storage. The data type of this parameter is List.
dedicated_host_generationsjsonbThe generation numbers of dedicated hosts. The data type of this parameter is List.
local_nametextThe name of the zone in the local language.
regiontextThe Alicloud region in which the resource is located.
titletextTitle of the resource.
zone_idtextThe zone ID.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- alicloud

You can pass the configuration to the command with the --config argument:

steampipe_export_alicloud --config '<your_config>' alicloud_ecs_zone