m5dn.2xlargevsr5dn.2xlarge
m5dn.2xlarge is 19% cheaper than r5dn.2xlarge on demand in US East (N. Virginia), saving $90.52 a month.
| At a glance | m5dn.2xlarge | r5dn.2xlarge |
|---|---|---|
| On-demand | $0.544/hr19% less | $0.668/hr |
| Lowest rate | $0.212/hr22% less3-yr reserved, no upfront | $0.272/hr3-yr reserved, no upfront |
| Size | 8 vCPUs, 32 GiB | 8 vCPUs, 64 GiB |
| Processor | Intel Xeon Platinum 8259 (Cascade Lake) | Intel Xeon Platinum 8259 (Cascade Lake) |
| 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 | m5dn.2xlarge | r5dn.2xlarge | r5dn.2xlarge vs m5dn.2xlarge |
|---|---|---|---|
| On-demandPay by the hour | $0.544 | $0.668 | ▲ 23% |
| SpotCan be interrupted | 47% off$0.2889 | 57% off$0.2905 | ▲ 1% |
| 1-yr reservedNo upfront | 37% off$0.343 | 37% off$0.421 | ▲ 23% |
| 3-yr reservedNo upfront | 61% off$0.212 | 59% off$0.272 | ▲ 28% |
| 1-yr savings planHourly commitment | 27% off$0.398 | 28% off$0.484 | ▲ 22% |
| 3-yr savings planHourly commitment | 55% off$0.243 | 53% off$0.312 | ▲ 28% |
Key differences
The biggest lead each one has.
Where m5dn.2xlarge leads
On-demand price$0.544 vs $0.668 per hour
19% cheaperWhere r5dn.2xlarge leads
Memory (GiB)64 vs 32
2× higherSpecs
4 of 40 specs differ. Those are in bold.
| ComputeAll 9 match | m5dn.2xlarge | r5dn.2xlarge |
|---|---|---|
| vCPUs | 8 | 8 |
| Physical cores | 4 | 4 |
| Threads per core | 2 | 2 |
| Architecture | x86_64 | x86_64 |
| Processor | Intel Xeon Platinum 8259 (Cascade Lake) | Intel Xeon Platinum 8259 (Cascade Lake) |
| CPU maker | Intel | Intel |
| Clock speed | 3.1 GHz | 3.1 GHz |
| Sustained clock | 3.1 GHz | 3.1 GHz |
| Burstable | No | No |
| Memory1 of 1 differ | m5dn.2xlarge | r5dn.2xlarge |
|---|---|---|
| Memory (GiB) | 32 | 64 |
| NetworkingAll 8 match | m5dn.2xlarge | r5dn.2xlarge |
|---|---|---|
| Network | Up to 25 Gigabit | Up to 25 Gigabit |
| Network baseline | 8.125 Gbps | 8.125 Gbps |
| Network peak | 25 Gbps | 25 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 12 differ | m5dn.2xlarge | r5dn.2xlarge |
|---|---|---|
| Storage | 1 x 300 NVMe SSD | 1 x 300 NVMe SSD |
| Local disks | 1 × 300 GB SSD | 1 × 300 GB SSD |
| EBS optimized | Yes | Yes |
| EBS over NVMe | Required | Required |
| EBS throughput | Up to 3500 Mbps | Up to 2120 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 | 26 | 26 |
| Instance details2 of 10 differ | m5dn.2xlarge | r5dn.2xlarge |
|---|---|---|
| Family | m5dn | r5dn |
| 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 | No | No |
| Nitro Enclaves | Yes | Yes |
| Boot modes | Legacy BIOS, UEFI | Legacy BIOS, UEFI |
On-demand prices by region
Cheapest for m5dn.2xlarge first. Linux, USD per hour.
| Region | m5dn.2xlarge | r5dn.2xlarge | Difference |
|---|---|---|---|
| US East (N. Virginia)Used in summaryus-east-1 | $0.544 | $0.668 | ▲ 23% |
| US East (Ohio)us-east-2 | $0.544 | $0.668 | ▲ 23% |
| US West (Oregon)us-west-2 | $0.544 | $0.668 | ▲ 23% |
| EU (Ireland)eu-west-1 | $0.608 | $0.744 | ▲ 22% |
| EU (Frankfurt)eu-central-1 | $0.648 | $0.796 | ▲ 23% |
| Asia Pacific (Singapore)ap-southeast-1 | $0.668 | $0.8 | ▲ 20% |
| AWS GovCloud (US-East)us-gov-east-1 | $0.684 | $0.804 | ▲ 18% |
| AWS GovCloud (US-West)us-gov-west-1 | $0.684 | $0.804 | ▲ 18% |
| Asia Pacific (Tokyo)ap-northeast-1 | $0.7 | $0.812 | ▲ 16% |
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.