m5.2xlargevsr5.2xlarge
m5.2xlarge is 24% cheaper than r5.2xlarge on demand in US East (N. Virginia), saving $87.60 a month.
| At a glance | m5.2xlarge | r5.2xlarge |
|---|---|---|
| On-demand | $0.384/hr24% less | $0.504/hr |
| Lowest rate | $0.129/hr1% lessSpot, can be interrupted | $0.1297/hrSpot, can be interrupted |
| Size | 8 vCPUs, 32 GiB | 8 vCPUs, 64 GiB |
| Processor | Intel Xeon Platinum 8175 | 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 | m5.2xlarge | r5.2xlarge | r5.2xlarge vs m5.2xlarge |
|---|---|---|---|
| On-demandPay by the hour | $0.384 | $0.504 | ▲ 31% |
| SpotCan be interrupted | 66% off$0.129 | 74% off$0.1297 | ▲ 1% |
| 1-yr reservedNo upfront | 37% off$0.242 | 37% off$0.318 | ▲ 31% |
| 3-yr reservedNo upfront | 57% off$0.166 | 57% off$0.218 | ▲ 31% |
| 1-yr savings planHourly commitment | 27% off$0.282 | 28% off$0.365 | ▲ 29% |
| 3-yr savings planHourly commitment | 49% off$0.195 | 48% off$0.263 | ▲ 35% |
Key differences
The biggest lead each one has.
Where m5.2xlarge leads
On-demand price$0.384 vs $0.504 per hour
24% cheaperWhere r5.2xlarge leads
Memory (GiB)64 vs 32
2× higherSpecs
4 of 41 specs differ. Those are in bold.
| ComputeAll 11 match | m5.2xlarge | r5.2xlarge |
|---|---|---|
| vCPUs | 8 | 8 |
| Physical cores | 4 | 4 |
| Threads per core | 2 | 2 |
| Architecture | x86_64 | x86_64 |
| Processor | Intel Xeon Platinum 8175 | Intel Xeon Platinum 8175 |
| CPU maker | Intel | Intel |
| Clock speed | 3.1 GHz | 3.1 GHz |
| Sustained clock | 3.1 GHz | 3.1 GHz |
| Processor features | Intel AVX; Intel AVX2; Intel AVX512; Intel Turbo | Intel AVX; Intel AVX2; Intel AVX512; Intel Turbo |
| Burstable | No | No |
| ECU | 37 | 37 |
| Memory1 of 1 differ | m5.2xlarge | r5.2xlarge |
|---|---|---|
| Memory (GiB) | 32 | 64 |
| NetworkingAll 8 match | m5.2xlarge | r5.2xlarge |
|---|---|---|
| Network | Up to 10 Gigabit | Up to 10 Gigabit |
| Network baseline | 2.5 Gbps | 2.5 Gbps |
| Network peak | 10 Gbps | 10 Gbps |
| Enhanced networking | Yes (ENA) | Yes (ENA) |
| EFA | No | No |
| IPv6 | Yes | Yes |
| Max network interfaces | 4 | 4 |
| IPv4 addresses per interface | 15 | 15 |
| Storage1 of 11 differ | m5.2xlarge | r5.2xlarge |
|---|---|---|
| Storage | EBS only | EBS only |
| EBS optimized | Yes | Yes |
| EBS over NVMe | Required | Required |
| EBS throughput | Up to 2120 Mbps | Up to 4750 Mbps |
| EBS baseline bandwidth | 2,300 Mbps | 2,300 Mbps |
| EBS max bandwidth | 4,750 Mbps | 4,750 Mbps |
| EBS baseline throughput | 287.5 MB/s | 287.5 MB/s |
| EBS max throughput | 593.75 MB/s | 593.75 MB/s |
| EBS baseline IOPS | 12,000 | 12,000 |
| EBS max IOPS | 18,750 | 18,750 |
| Max EBS volumes | 27 | 27 |
| Instance details2 of 10 differ | m5.2xlarge | r5.2xlarge |
|---|---|---|
| Family | m5 | r5 |
| Category | General purpose | Memory optimized |
| Current generation | Yes | Yes |
| Normalization factor | 16 | 16 |
| Bare metal | No | No |
| Hypervisor | Nitro | Nitro |
| Placement groups | Cluster, Partition, Spread | Cluster, Partition, Spread |
| Hibernation | Yes | Yes |
| Nitro Enclaves | Yes | Yes |
| Boot modes | Legacy BIOS, UEFI | Legacy BIOS, UEFI |
On-demand prices by region
Cheapest for m5.2xlarge first. Linux, USD per hour.
| Region | m5.2xlarge | r5.2xlarge | Difference |
|---|---|---|---|
| US East (N. Virginia)Used in summaryus-east-1 | $0.384 | $0.504 | ▲ 31% |
| US East (Ohio)us-east-2 | $0.384 | $0.504 | ▲ 31% |
| US West (Oregon)us-west-2 | $0.384 | $0.504 | ▲ 31% |
| Asia Pacific (Hyderabad)ap-south-2 | $0.404 | $0.52 | ▲ 29% |
| Asia Pacific (Mumbai)ap-south-1 | $0.404 | $0.52 | ▲ 29% |
| EU (Stockholm)eu-north-1 | $0.408 | $0.536 | ▲ 31% |
| Canada (Central)ca-central-1 | $0.428 | $0.552 | ▲ 29% |
| Canada West (Calgary)ca-west-1 | $0.428 | $0.552 | ▲ 29% |
| EU (Ireland)eu-west-1 | $0.428 | $0.564 | ▲ 32% |
| Europe (Spain)eu-south-2 | $0.428 | $0.564 | ▲ 32% |
| EU (London)eu-west-2 | $0.444 | $0.592 | ▲ 33% |
| EU (Milan)eu-south-1 | $0.448 | $0.592 | ▲ 32% |
| EU (Paris)eu-west-3 | $0.448 | $0.592 | ▲ 32% |
| US West (N. California)us-west-1 | $0.448 | $0.56 | ▲ 25% |
| Israel (Tel Aviv)il-central-1 | $0.449 | $0.592 | ▲ 32% |
| EU (Frankfurt)eu-central-1 | $0.46 | $0.608 | ▲ 32% |
| Middle East (Bahrain)me-south-1 | $0.471 | $0.62 | ▲ 32% |
| Middle East (UAE)me-central-1 | $0.471 | $0.62 | ▲ 32% |
| Asia Pacific (Seoul)ap-northeast-2 | $0.472 | $0.608 | ▲ 29% |
| Asia Pacific (Jakarta)ap-southeast-3 | $0.48 | $0.608 | ▲ 27% |
| Asia Pacific (Melbourne)ap-southeast-4 | $0.48 | $0.604 | ▲ 26% |
| Asia Pacific (Singapore)ap-southeast-1 | $0.48 | $0.608 | ▲ 27% |
| Asia Pacific (Sydney)ap-southeast-2 | $0.48 | $0.604 | ▲ 26% |
| AWS GovCloud (US-East)us-gov-east-1 | $0.484 | $0.604 | ▲ 25% |
| AWS GovCloud (US-West)us-gov-west-1 | $0.484 | $0.604 | ▲ 25% |
| Asia Pacific (Osaka)ap-northeast-3 | $0.496 | $0.608 | ▲ 23% |
| Asia Pacific (Tokyo)ap-northeast-1 | $0.496 | $0.608 | ▲ 23% |
| Europe (Zurich)eu-central-2 | $0.506 | $0.669 | ▲ 32% |
| Africa (Cape Town)af-south-1 | $0.508 | $0.672 | ▲ 32% |
| Asia Pacific (Hong Kong)ap-east-1 | $0.528 | $0.668 | ▲ 27% |
| South America (Sao Paulo)sa-east-1 | $0.612 | $0.804 | ▲ 31% |
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.