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 ensure only availability but not performance that may be required in the 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:
  • Uses 2.5 GHz Intel® Xeon® E5-2682 v4 (Broadwell) processors.
  • Uses the DDR4 memory.
  • Offers multiple CPU-to-memory ratios.
Instance family Description vCPU-to-memory ratio Scenario
xn4 Compact type 1:1
  • Frontend web applications
  • Lightweight applications and microservices
  • Development and testing environments
n4 Shared compute type 1:2
  • Websites and web applications
  • Development environments, servers, code repositories, microservices, and testing and staging environments
  • Lightweight enterprise applications
mn4 Shared balanced type 1:4
  • Websites and web applications
  • Lightweight databases and caches
  • Integrated applications and lightweight enterprise services
e4 Shared memory type 1:8
  • Applications that require a large 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