AWS M4 instance types
M4 is a general purpose Amazon EC2 family with 6 instance types, from 2 – 64 vCPUs and 8 GiB – 256 GiB of memory, running on Intel Xeon E5-2676 v3 (Haswell). Linux on demand starts at $0.10 per hour.
general purposex86-64
- sizes
- 6
- vCPUs
- 2 – 64
- memory
- 8 GiB – 256 GiB
- processor
- Intel Xeon E5-2676 v3 (Haswell)
- on-demand from
- $0.10
per hour · 16 regions
M4 sizes and prices
Linux, hourly, US East (N. Virginia) (other regions on each size's page)
| Size | vCPU | Memory | Local storage | On-demand | Monthly | Spot | 1-yr |
|---|---|---|---|---|---|---|---|
| m4.large | 2 | 8 GiB | – | $0.10 | $73.00 | $0.05 | $0.062 |
| m4.xlarge | 4 | 16 GiB | – | $0.20 | $146 | $0.0934 | $0.1239 |
| m4.2xlarge | 8 | 32 GiB | – | $0.40 | $292 | $0.1785 | $0.2478 |
| m4.4xlarge | 16 | 64 GiB | – | $0.80 | $584 | $0.3553 | $0.4956 |
| m4.10xlarge | 40 | 160 GiB | – | $2.00 | $1,460 | $0.9391 | $1.239 |
| m4.16xlarge | 64 | 256 GiB | – | $3.20 | $2,336 | $1.403 | $1.982 |
M4 equivalents on other clouds
closest match to m4.2xlarge (8 vCPU, 32 GiB)
AkamaiG8 Dedicated 32x8Dedicated CPU (G8) family · 8 vCPU · 32 GiB$0.42/hr · Newark, NJDedicated CPU (G8) family →
Other general purpose families on AWS
M4 FAQ
What sizes does the AWS M4 family have?
M4 has 6 instance types, from m4.large (2 vCPU, 8 GiB) to m4.16xlarge (64 vCPU, 256 GiB). They run on Intel Xeon E5-2676 v3 (Haswell).
What is the cheapest M4 instance type?
m4.large at $0.10 per hour (Linux, on demand) in US East (N. Virginia), about $73.00 per month.
What is M4 best for?
M4 is a general purpose family. Balanced CPU and memory (about 4 GiB per vCPU) for web apps, services and most workloads.