m5dn.xlargevsr5dn.xlarge
m5dn.xlarge is 19% cheaper than r5dn.xlarge on demand in US East (N. Virginia), saving $45.26 a month.
| At a glance | m5dn.xlarge | r5dn.xlarge |
|---|---|---|
| On-demand | $0.272/hr19% less | $0.334/hr |
| Lowest rate | $0.106/hr22% less3-yr reserved, no upfront | $0.136/hr3-yr reserved, no upfront |
| Size | 4 vCPUs, 16 GiB | 4 vCPUs, 32 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.xlarge | r5dn.xlarge | r5dn.xlarge vs m5dn.xlarge |
|---|---|---|---|
| On-demandPay by the hour | $0.272 | $0.334 | ▲ 23% |
| SpotCan be interrupted | 55% off$0.1219 | 47% off$0.1768 | ▲ 45% |
| 1-yr reservedNo upfront | 37% off$0.171 | 37% off$0.21 | ▲ 23% |
| 3-yr reservedNo upfront | 61% off$0.106 | 59% off$0.136 | ▲ 28% |
| 1-yr savings planHourly commitment | 27% off$0.199 | 28% off$0.242 | ▲ 22% |
| 3-yr savings planHourly commitment | 55% off$0.122 | 53% off$0.156 | ▲ 28% |
Key differences
The biggest lead each one has.
Where m5dn.xlarge leads
On-demand price$0.272 vs $0.334 per hour
19% cheaperWhere r5dn.xlarge leads
Memory (GiB)32 vs 16
2× higherSpecs
4 of 40 specs differ. Those are in bold.
| ComputeAll 9 match | m5dn.xlarge | r5dn.xlarge |
|---|---|---|
| vCPUs | 4 | 4 |
| Physical cores | 2 | 2 |
| 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.xlarge | r5dn.xlarge |
|---|---|---|
| Memory (GiB) | 16 | 32 |
| NetworkingAll 8 match | m5dn.xlarge | r5dn.xlarge |
|---|---|---|
| Network | Up to 25 Gigabit | Up to 25 Gigabit |
| Network baseline | 4.1 Gbps | 4.1 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.xlarge | r5dn.xlarge |
|---|---|---|
| Storage | 1 x 150 NVMe SSD | 1 x 150 NVMe SSD |
| Local disks | 1 × 150 GB SSD | 1 × 150 GB SSD |
| EBS optimized | Yes | Yes |
| EBS over NVMe | Required | Required |
| EBS throughput | Up to 3500 Mbps | Up to 2120 Mbps |
| EBS baseline bandwidth | 1,150 Mbps | 1,150 Mbps |
| EBS max bandwidth | 4,750 Mbps | 4,750 Mbps |
| EBS baseline throughput | 143.75 MB/s | 143.75 MB/s |
| EBS max throughput | 593.75 MB/s | 593.75 MB/s |
| EBS baseline IOPS | 6,000 | 6,000 |
| EBS max IOPS | 18,750 | 18,750 |
| Max EBS volumes | 26 | 26 |
| Instance details2 of 10 differ | m5dn.xlarge | r5dn.xlarge |
|---|---|---|
| Family | m5dn | r5dn |
| Category | General purpose | Memory optimized |
| Current generation | Yes | Yes |
| Normalization factor | 8 | 8 |
| 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.xlarge first. Linux, USD per hour.
| Region | m5dn.xlarge | r5dn.xlarge | Difference |
|---|---|---|---|
| US East (N. Virginia)Used in summaryus-east-1 | $0.272 | $0.334 | ▲ 23% |
| US East (Ohio)us-east-2 | $0.272 | $0.334 | ▲ 23% |
| US West (Oregon)us-west-2 | $0.272 | $0.334 | ▲ 23% |
| EU (Ireland)eu-west-1 | $0.304 | $0.372 | ▲ 22% |
| EU (Frankfurt)eu-central-1 | $0.324 | $0.398 | ▲ 23% |
| Asia Pacific (Singapore)ap-southeast-1 | $0.334 | $0.4 | ▲ 20% |
| AWS GovCloud (US-East)us-gov-east-1 | $0.342 | $0.402 | ▲ 18% |
| AWS GovCloud (US-West)us-gov-west-1 | $0.342 | $0.402 | ▲ 18% |
| Asia Pacific (Tokyo)ap-northeast-1 | $0.35 | $0.406 | ▲ 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.