All Products
Search
Document Center

Elastic Container Instance:Specify x86-based ECS instance types to create an elastic container instance

Last Updated:Feb 28, 2026

This topic describes how to specify x86-based Elastic Compute Service (ECS) instance types to create an elastic container instance.

Supported instance families

x86-based ECS instance families are divided into enterprise-level instance families and shared instance families based on whether they are designed for enterprise scenarios.

Enterprise-level instance families

x86-based ECS instance types are based on the x86 architecture. Each vCPU corresponds to a hyper-thread of a processor core. They deliver stable performance and are suitable for scenarios such as enterprise-level applications, database systems, video encoding and decoding, and data analysis.

CategoryInstance families
General-purpose instance familiesg8a, g8i, g7a, g7, g6e, g6a, g6, g5, sn2, and sn2ne
Compute-optimized instance familiesc8a, c8i, c7a, c7, c6e, c6a, c6, c5, sn1, and sn1ne
Memory-optimized instance familiesr8a, r8i, r7a, r7, r6e, r6a, r6, r5, se1ne, and se1
General compute category instance familiesu1
Compute-intensive instance familiesic5
Instance families with high clock speedshfg8i, hfg7, hfg6, hfg5, hfc8i, hfc7, hfc6, hfc5, hfr8i, and hfr7
Big data instance familiesd1 and d1ne
Instance families with local SSDsi2 and i2g

Shared instance families

Shared ECS instance types are suitable for small and medium-sized websites and individuals. Compared with enterprise-level ECS instance types, shared ECS instance types emphasize the sharing of resource performance to maximize resource utilization. In this case, the stability of computing performance cannot be ensured, but the cost is reduced.

CategoryInstance families
Economy instance familiese

Local disk considerations

Some of the preceding ECS instance families, such as i2 and d1ne, use local disks. If you want to specify ECS instance types that use local disks to create an elastic container instance and attach a local disk to the elastic container instance, specify the volume-related parameters. For more information, see Specify ECS instance types that use local disks to create an elastic container instance.

Related references

For more information about ECS instance families, see the following topics:

Configuration description

API

When you call the CreateContainerGroup operation to create an elastic container instance, you can use the InstanceType parameter to specify ECS instance types. The following table describes the parameter. For more information, see CreateContainerGroup.

ParameterTypeExampleDescription
InstanceTypeStringecs.c6.xlarge,ecs.g6.xlargeThe ECS instance types. You can specify up to five ECS instance types at a time. Separate multiple instance types with commas (,).

Console

When you create an elastic container instance in the Elastic Container Instance console, you can click the Specify Instance Type tab in the Container Group Configurations section and select x86-based ECS instance types based on your business requirements.

You can select the number of vCPUs and a memory size or select a specific ECS instance type to filter ECS instance types. You can also filter ECS instance types by selecting a processor in the Processor column.
If you want to use an x86-based ECS instance type that uses a local disk to create an elastic container instance, we recommend that you use the API because the console does not support attaching local disks.
Specify ECS instance types