This topic describes the features of shared instance families and lists the instance types of each family.

Shared instances use a CPU-unbound scheduling scheme. Each vCPU is randomly allocated to an idle CPU hyperthread. The vCPUs of different instances compete for CPU resources. This results in fluctuations in computing performance when traffic loads are heavy. Shared instances can only ensure availability but not performance in the SLA. Compared with enterprise-level instances that have exclusive resources, shared instances share resources. Therefore, shared instances cannot guarantee consistent computing performance but they have a lower cost.
Note A burstable instance is also a shared instance. For more information, see Overview.

Previous-generation shared instance families xn4, n4, mn4, and e4

Features:
  • Equipped with 2.5 GHz Intel ® Xeon ® E5-2682 v4 (Broadwell) processors.
  • Paired with DDR4 memory.
  • Offers multiple CPU-to-memory ratios.
Instance family Description vCPU-to-memory ratio Scenario
xn4 Shared compact type 1:1
  • Frontend web applications
  • Lightweight applications and microservices
  • Applications for development or testing applications
n4 Shared compute optimized type 1:2
  • Websites and web applications
  • Development environments, servers, code repositories, microservices, and testing and staging environments
  • Lightweight enterprise applications
mn4 Shared general purpose type 1:4
  • Websites and web applications
  • Lightweight databases and caches
  • Integrated applications and lightweight enterprise services
e4 Shared memory optimized type 1:8
  • Applications that require a large amount of memory
  • Lightweight databases and caches
Instance types of xn4
Instance type vCPU Memory (GiB) Local storage (GiB) Bandwidth (Gbit/s) Packet forwarding rate (Kpps) IPv6 support NIC queues ENIs (including one primary ENI) Private IP addresses per ENI
ecs.xn4.small 1 1.0 None 0.5 50 No 1 2 2
Note
Instance types of n4
Instance type vCPU Memory (GiB) Local storage (GiB) Bandwidth (Gbit/s) Packet forwarding rate (Kpps) IPv6 support NIC queues ENIs (including one primary ENI) Private IP addresses per ENI
ecs.n4.small 1 2.0 None 0.5 50 No 1 2 2
ecs.n4.large 2 4.0 None 0.5 100 No 1 2 2
ecs.n4.xlarge 4 8.0 None 0.8 150 No 1 2 6
ecs.n4.2xlarge 8 16.0 None 1.2 300 No 1 2 6
ecs.n4.4xlarge 16 32.0 None 2.5 400 No 1 2 6
ecs.n4.8xlarge 32 64.0 None 5.0 500 No 1 2 6
Note
Instance types of mn4
Instance type vCPU Memory (GiB) Local storage (GiB) Bandwidth (Gbit/s) Packet forwarding rate (Kpps) IPv6 support NIC queues ENIs (including one primary ENI) Private IP addresses per ENI
ecs.mn4.small 1 4.0 None 0.5 50 No 1 2 2
ecs.mn4.large 2 8.0 None 0.5 100 No 1 2 2
ecs.mn4.xlarge 4 16.0 None 0.8 150 No 1 2 6
ecs.mn4.2xlarge 8 32.0 None 1.2 300 No 1 2 6
ecs.mn4.4xlarge 16 64.0 None 2.5 400 No 1 2 6
ecs.mn4.8xlarge 32 128.0 None 5 500 No 2 8 6
Note
Instance types of e4
Instance type vCPU Memory (GiB) Local storage (GiB) Bandwidth (Gbit/s) Packet forwarding rate (Kpps) IPv6 support NIC queues ENIs (including one primary ENI) Private IP addresses per ENI
ecs.e4.small 1 8.0 None 0.5 50 No 1 2 2
ecs.e4.large 2 16.0 None 0.5 100 No 1 2 2
ecs.e4.xlarge 4 32.0 None 0.8 150 No 1 2 6
ecs.e4.2xlarge 8 64.0 None 1.2 300 No 1 3 6
ecs.e4.4xlarge 16 128.0 None 2.5 400 No 1 8 6
Note

References