All Products
Search
Document Center

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

Last Updated:Sep 10, 2024

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

Description of the ECS instance families

x86-based ECS instance families can be divided into enterprise-level instance families and shared instance families based on whether the instance families are suitable for enterprise scenarios:

x86-based enterprise-level computing 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.

Category

x86-based enterprise-level instance family

General-purpose instance families

g8a, g8i, g7a, g7, g6e, g6a, g6, g5, sn2, and sn2ne

Compute-optimized instance families

c8a, c8i, c7a, c7, c6e, c6a, c6, c5, sn1, and sn1ne

Memory optimized instance families

r8a, r8i, r7a, r7, r6e, r6a, r6, r5, se1ne, and se1

General compute category instance families

u1

Compute-intensive instance families

ic5

Instance families with high clock speeds

  • hfg8i, hfg7, hfg6, and hfg5

  • hfc8i, hfc7, hfc6, and hfc5

  • hfr8i and hfr7

Big data instance families

d1 and d1ne

Instance families with local SSDs

i2 and i2g

x86-based shared computing 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.

Category

x86-based shared instance family

Economy instance families

e

Note

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.

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

Configuration description

API mode

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.

Parameter

Type

Example

Description

InstanceType

String

ecs.c6.xlarge,ecs.g6.xlarge

The ECS instance types. You can specify up to five ECS instance types at a time. Separate multiple instance types with commas (,).

Console mode

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.

Note
  • 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 process 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 mode because the console mode does not support in attaching local disks.

指定ECS规格.png