Table: alicloud_ecs_region - Query Alicloud Elastic Compute Service Regions using SQL
Alicloud Elastic Compute Service (ECS) is a high-performance, stable, reliable, and scalable IaaS-level service provided by Alibaba Cloud. ECS eliminates the need to invest in IT hardware up front and allows you to quickly scale computing resources on demand, making ECS more convenient and efficient than physical servers. ECS provides a variety of instance types that suit different business needs and help boost business growth.
Table Usage Guide
The alicloud_ecs_region
table provides insights into the regions available within Alibaba Cloud's Elastic Compute Service (ECS). As a system administrator or DevOps engineer, you can explore region-specific details through this table, including region ID, local name, and status. Utilize it to uncover information about regions, such as those that are active, to better manage resource allocation and understand geographical distribution of your ECS instances.
Examples
Basic info
Discover the segments that are active within different regional endpoints of the Alibaba Cloud Elastic Compute Service. This can help in assessing the performance and availability of various regions for better resource management.
select region, local_name, region_endpoint, statusfrom alicloud_ecs_region;
select region, local_name, region_endpoint, statusfrom alicloud_ecs_region;
Get details for a specific region
Explore which regions are active by checking their status, specifically focusing on the 'us-east-1' region. This provides insights into the operational status and local name of the region, which can be useful for managing resources and planning deployments.
select region, local_name, region_endpoint, statusfrom alicloud_ecs_regionwhere region = 'us-east-1';
select region, local_name, region_endpoint, statusfrom alicloud_ecs_regionwhere region = 'us-east-1';
Schema for alicloud_ecs_region
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
account_id | text | =, !=, ~~, ~~*, !~~, !~~* | The Alicloud Account ID in which the resource is located. |
akas | jsonb | Array of globally unique identifier strings (also known as) for the resource. | |
local_name | text | The local name of the region. | |
region | text | The Alicloud region in which the resource is located. | |
region_endpoint | text | The endpoint of the region. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
status | text | Indicates whether the cluster is sold out. | |
title | text | Title of the resource. |
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_region