This topic describes the features of shared instance families and lists the instance types of each instance family.
Previous-generation shared instance families xn4, n4, mn4, and e4
Shared instances use a CPU-unbound scheduling scheme. Each vCPU is randomly allocated
to an idle CPU hyperthread. vCPUs of different instances compete for CPU resources,
which causes computing performance to fluctuate when traffic loads are heavy. Shared
instances can guarantee availability but cannot guarantee the performance that may
be required in the service level agreement (SLA). Different from enterprise-level
instances that have exclusive resources, shared instances share resources. Therefore,
shared instances cannot ensure consistent computing performance but offer lower costs.
Note Burstable instances are also shared instances. For more information, see Overview.
Previous-generation shared instance families xn4, n4, mn4, and e4
Features
- Offers multiple CPU-to-memory ratios.
- Uses 2.5 GHz Intel® Xeon® processors.
- Uses DDR4 memory.
Instance family | Description | vCPU-to-memory ratio | Scenario |
---|---|---|---|
xn4 | Shared compact instance family | 1:1 |
|
n4 | Shared compute instance family | 1:2 |
|
mn4 | Shared general-purpose instance family | 1:4 |
|
e4 | Shared memory instance family | 1:8 |
|
xn4
Instance type | vCPUs | Memory (GiB) | Bandwidth (Gbit/s) | Packet forwarding rate (pps) | NIC queues | ENIs | Private IP addresses per ENI |
---|---|---|---|---|---|---|---|
ecs.xn4.small | 1 | 1.0 | 0.5 | 50,000 | 1 | 2 | 2 |
Note
- Secondary elastic network interfaces (ENIs) cannot be bound to instances of this instance family while the instances are being created, and can be bound after the instances are created. When you bind secondary ENIs to or unbind them from an ecs.xn4.small instance, the instance must be in the Stopped state.
- You can go to the ECS Instance Types Available for Each Region page to view the instance types available in each region.
- For more information about these specifications, see Instance type specifications.
n4
Instance type | vCPUs | Memory (GiB) | Bandwidth (Gbit/s) | Packet forwarding rate (pps) | NIC queues | ENIs | Private IP addresses per ENI |
---|---|---|---|---|---|---|---|
ecs.n4.small | 1 | 2.0 | 0.5 | 50,000 | 1 | 2 | 2 |
ecs.n4.large | 2 | 4.0 | 0.5 | 100,000 | 1 | 2 | 2 |
ecs.n4.xlarge | 4 | 8.0 | 0.8 | 150,000 | 1 | 2 | 6 |
ecs.n4.2xlarge | 8 | 16.0 | 1.2 | 300,000 | 1 | 2 | 6 |
ecs.n4.4xlarge | 16 | 32.0 | 2.5 | 400,000 | 1 | 2 | 6 |
ecs.n4.8xlarge | 32 | 64.0 | 5.0 | 500,000 | 1 | 2 | 6 |
Note
- Secondary ENIs cannot be bound to instances of this instance family while the instances are being created, and can be bound after the instances are created. When you bind secondary ENIs to or unbind them from an ecs.n4.small or ecs.n4.large instance, the instance must be in the Stopped state.
- You can go to the ECS Instance Types Available for Each Region page to view the instance types available in each region.
- For more information about these specifications, see Instance type specifications.
mn4
Instance type | vCPUs | Memory (GiB) | Bandwidth (Gbit/s) | Packet forwarding rate (pps) | NIC queues | ENIs | Private IP addresses per ENI |
---|---|---|---|---|---|---|---|
ecs.mn4.small | 1 | 4.0 | 0.5 | 50,000 | 1 | 2 | 2 |
ecs.mn4.large | 2 | 8.0 | 0.5 | 100,000 | 1 | 2 | 2 |
ecs.mn4.xlarge | 4 | 16.0 | 0.8 | 150,000 | 1 | 2 | 6 |
ecs.mn4.2xlarge | 8 | 32.0 | 1.2 | 300,000 | 1 | 2 | 6 |
ecs.mn4.4xlarge | 16 | 64.0 | 2.5 | 400,000 | 1 | 2 | 6 |
ecs.mn4.8xlarge | 32 | 128.0 | 5 | 500,000 | 2 | 8 | 6 |
Note
- Secondary ENIs cannot be bound to instances of this instance family while the instances are being created, and can be bound after the instances are created. When you bind secondary ENIs to or unbind them from an ecs.mn4.small or ecs.mn4.large instance, the instance must be in the Stopped state.
- You can go to the ECS Instance Types Available for Each Region page to view the instance types available in each region.
- For more information about these specifications, see Instance type specifications.
e4
Instance type | vCPUs | Memory (GiB) | Bandwidth (Gbit/s) | Packet forwarding rate (pps) | NIC queues | ENIs | Private IP addresses per ENI |
---|---|---|---|---|---|---|---|
ecs.e4.small | 1 | 8.0 | 0.5 | 50,000 | 1 | 2 | 2 |
ecs.e4.large | 2 | 16.0 | 0.5 | 100,000 | 1 | 2 | 2 |
ecs.e4.xlarge | 4 | 32.0 | 0.8 | 150,000 | 1 | 2 | 6 |
ecs.e4.2xlarge | 8 | 64.0 | 1.2 | 300,000 | 1 | 3 | 6 |
ecs.e4.4xlarge | 16 | 128.0 | 2.5 | 400,000 | 1 | 8 | 6 |
Note
- Secondary ENIs cannot be bound to instances of this instance family while the instances are being created, and can be bound after the instances are created. When you bind secondary ENIs to or unbind them from an ecs.e4.small or ecs.e4.large instance, the instance must be in the Stopped state.
- You can go to the ECS Instance Types Available for Each Region page to view the instance types available in each region.
- For more information about these specifications, see Instance type specifications.