m4.2xlargevsm5.2xlarge
m5.2xlarge is 4% cheaper than m4.2xlarge on demand in US East (N. Virginia), saving $11.68 a month.
| At a glance | m4.2xlarge | m5.2xlarge |
|---|---|---|
| On-demand | $0.4/hr | $0.384/hr4% less |
| Lowest rate | $0.1561/hrSpot, can be interrupted | $0.129/hr17% lessSpot, can be interrupted |
| Size | 8 vCPUs, 32 GiB | 8 vCPUs, 32 GiB |
| Processor | Intel Xeon E5-2676 v3 (Haswell) | Intel Xeon Platinum 8175 |
| Architecture | x86_64 | x86_64 |
Prices in US East (N. Virginia)
“Off” is the discount against each type’s own on-demand price. Linux, USD per hour.
| Option | m4.2xlarge | m5.2xlarge | m5.2xlarge vs m4.2xlarge |
|---|---|---|---|
| On-demandPay by the hour | $0.4 | $0.384 | ▼ 4% |
| SpotCan be interrupted | 61% off$0.1561 | 66% off$0.129 | ▼ 17% |
| 1-yr reservedNo upfront | 38% off$0.2478 | 37% off$0.242 | ▼ 2% |
| 3-yr reservedNo upfront | 57% off$0.1728 | 57% off$0.166 | ▼ 4% |
| 1-yr savings planHourly commitment | 29% off$0.285 | 27% off$0.282 | ▼ 1% |
| 3-yr savings planHourly commitment | 50% off$0.1987 | 49% off$0.195 | ▼ 2% |
Key differences
The biggest lead each one has.
Where m4.2xlarge leads
Max EBS volumes40 vs 27
48% higherWhere m5.2xlarge leads
On-demand price$0.384 vs $0.4 per hour
4% cheaperEBS max bandwidth4,750 Mbps vs 1,000 Mbps
4.8× higherNetwork baseline2.5 Gbps vs 1 Gbps
2.5× higherECU37 vs 26
42% higherSpecs
21 of 41 specs differ. Those are in bold.
| Compute5 of 11 differ | m4.2xlarge | m5.2xlarge |
|---|---|---|
| vCPUs | 8 | 8 |
| Physical cores | 4 | 4 |
| Threads per core | 2 | 2 |
| Architecture | x86_64 | x86_64 |
| Processor | Intel Xeon E5-2676 v3 (Haswell) | Intel Xeon Platinum 8175 |
| CPU maker | Intel | Intel |
| Clock speed | 2.4 GHz | 3.1 GHz |
| Sustained clock | 2.4 GHz | 3.1 GHz |
| Processor features | Intel AVX; Intel AVX2; Intel Turbo | Intel AVX; Intel AVX2; Intel AVX512; Intel Turbo |
| Burstable | No | No |
| ECU | 26 | 37 |
| MemoryAll 1 match | m4.2xlarge | m5.2xlarge |
|---|---|---|
| Memory (GiB) | 32 | 32 |
| Networking3 of 8 differ | m4.2xlarge | m5.2xlarge |
|---|---|---|
| Network | High | Up to 10 Gigabit |
| Network baseline | 1 Gbps | 2.5 Gbps |
| Network peak | 10 Gbps | 10 Gbps |
| Enhanced networking | No | Yes (ENA) |
| EFA | No | No |
| IPv6 | Yes | Yes |
| Max network interfaces | 4 | 4 |
| IPv4 addresses per interface | 15 | 15 |
| Storage9 of 11 differ | m4.2xlarge | m5.2xlarge |
|---|---|---|
| Storage | EBS only | EBS only |
| EBS optimized | Yes | Yes |
| EBS over NVMe | No | Required |
| EBS throughput | 1000 Mbps | Up to 2120 Mbps |
| EBS baseline bandwidth | 1,000 Mbps | 2,300 Mbps |
| EBS max bandwidth | 1,000 Mbps | 4,750 Mbps |
| EBS baseline throughput | 125 MB/s | 287.5 MB/s |
| EBS max throughput | 125 MB/s | 593.75 MB/s |
| EBS baseline IOPS | 8,000 | 12,000 |
| EBS max IOPS | 8,000 | 18,750 |
| Max EBS volumes | 40 | 27 |
| Instance details4 of 10 differ | m4.2xlarge | m5.2xlarge |
|---|---|---|
| Family | m4 | m5 |
| Category | General purpose | General purpose |
| Current generation | Yes | Yes |
| Normalization factor | 16 | 16 |
| Bare metal | No | No |
| Hypervisor | Xen | Nitro |
| Placement groups | Cluster, Partition, Spread | Cluster, Partition, Spread |
| Hibernation | Yes | Yes |
| Nitro Enclaves | No | Yes |
| Boot modes | Legacy BIOS | Legacy BIOS, UEFI |
On-demand prices by region
Cheapest for m4.2xlarge first. Linux, USD per hour.
| Region | m4.2xlarge | m5.2xlarge | Difference |
|---|---|---|---|
| US East (N. Virginia)Used in summaryus-east-1 | $0.4 | $0.384 | ▼ 4% |
| US East (Ohio)us-east-2 | $0.4 | $0.384 | ▼ 4% |
| US West (Oregon)us-west-2 | $0.4 | $0.384 | ▼ 4% |
| Asia Pacific (Mumbai)ap-south-1 | $0.42 | $0.404 | ▼ 4% |
| Canada (Central)ca-central-1 | $0.444 | $0.428 | ▼ 4% |
| EU (Ireland)eu-west-1 | $0.444 | $0.428 | ▼ 4% |
| EU (London)eu-west-2 | $0.464 | $0.444 | ▼ 4% |
| US West (N. California)us-west-1 | $0.468 | $0.448 | ▼ 4% |
| EU (Frankfurt)eu-central-1 | $0.48 | $0.46 | ▼ 4% |
| Asia Pacific (Seoul)ap-northeast-2 | $0.492 | $0.472 | ▼ 4% |
| Asia Pacific (Singapore)ap-southeast-1 | $0.5 | $0.48 | ▼ 4% |
| Asia Pacific (Sydney)ap-southeast-2 | $0.5 | $0.48 | ▼ 4% |
| AWS GovCloud (US-West)us-gov-west-1 | $0.504 | $0.484 | ▼ 4% |
| Asia Pacific (Osaka)ap-northeast-3 | $0.516 | $0.496 | ▼ 4% |
| Asia Pacific (Tokyo)ap-northeast-1 | $0.516 | $0.496 | ▼ 4% |
| South America (Sao Paulo)sa-east-1 | $0.636 | $0.612 | ▼ 4% |
Keep exploring
Each type’s own page, and how it compares with others.
AWS EC2 Linux prices in USD. Monthly figures use 730 hours. Prices last updated 12 Nov 2026.