ECS resources overview

更新时间:
复制 MD 格式

ECS resources include instances, auto provisioning groups, images, disks, security groups, and ENIs. Each resource has a unique ID and is bound to a specific region or zone.

Limitations

Resource IDs

Each resource has a unique ID that consists of a resource-type letter prefix, a hyphen (-), and a fixed-length string. Examples: instance ID i-bp13izg0l4s3********, custom image ID m-bp1gbwvlscsk********, and launch template ID lt-bp18i1ibppnr********.

Some API and CLI parameters require resource IDs. For example, the following command starts an ECS instance with ID i-bp13izg0l4s3********:

aliyun ecs StartInstance --RegionId cn-hangzhou --InstanceId i-bp13izg0l4s3********

Resource locations

Each ECS resource is bound to a region or zone. See Regions and zones for details.

Resource

Location

Description

Instance

Zone

An ECS instance is tied to its creation zone. Instance type availability varies by zone within a region.

Reserved instance

Zone or region

  • Zonal reserved instances provide zone-level resource reservation.

  • Regional reserved instances offset pay-as-you-go bills for specific instance types in the same region.

Storage capacity unit (SCU)

Region

An SCU offsets pay-as-you-go bills for disks in the same region.

Image

Region

  • Custom image: To use a custom image across regions, copy it to the destination region. A new image ID is generated in the destination region.

  • Public image: Public images released in all regions have no region restrictions.

Elastic Block Storage (EBS) device

Zone

An EBS device can only be attached to ECS instances in the same zone.

Snapshot

Region

A snapshot backs up data of a cloud disk in the same region.

Security group

Region

Security group rules only enable internal network communication between ECS instances in the same region. Cross-region internal communication requires a cloud service configured for Internet communication.

SSH key pair

Region

To use a key pair across regions, create it locally and import it to the target region.

ENI

Region

An ENI can only be bound to ECS instances in the same region.

Launch template

Region

A launch template is region-specific. Specify the zone when using it to create ECS instances.

Deployment set

Region

A deployment set applies only to ECS instances in the same region.

Auto provisioning group

Region

An auto provisioning group is region-specific. Specify the zone for creating pay-as-you-go or spot instances.

Tag

Region

A tag can only be added to ECS instances in the same region.

Cloud Assistant command

Region

A Cloud Assistant command can only run on ECS instances in the same region.