m5dn.4xlargevsr5dn.4xlarge
m5dn.4xlarge is 19% cheaper than r5dn.4xlarge on demand in US East (N. Virginia), saving $181.04 a month.
| At a glance | m5dn.4xlarge | r5dn.4xlarge |
|---|---|---|
| On-demand | $1.088/hr19% less | $1.336/hr |
| Lowest rate | $0.3836/hr13% lessSpot, can be interrupted | $0.4385/hrSpot, can be interrupted |
| Size | 16 vCPUs, 64 GiB | 16 vCPUs, 128 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.4xlarge | r5dn.4xlarge | r5dn.4xlarge vs m5dn.4xlarge |
|---|---|---|---|
| On-demandPay by the hour | $1.088 | $1.336 | ▲ 23% |
| SpotCan be interrupted | 65% off$0.3836 | 67% off$0.4385 | ▲ 14% |
| 1-yr reservedNo upfront | 37% off$0.685 | 37% off$0.842 | ▲ 23% |
| 3-yr reservedNo upfront | 61% off$0.423 | 59% off$0.544 | ▲ 29% |
| 1-yr savings planHourly commitment | 27% off$0.795 | 28% off$0.968 | ▲ 22% |
| 3-yr savings planHourly commitment | 55% off$0.486 | 53% off$0.625 | ▲ 29% |
Key differences
The biggest lead each one has.
Where m5dn.4xlarge leads
On-demand price$1.088 vs $1.336 per hour
19% cheaperWhere r5dn.4xlarge leads
Memory (GiB)128 vs 64
2× higherSpecs
4 of 40 specs differ. Those are in bold.
| ComputeAll 9 match | m5dn.4xlarge | r5dn.4xlarge |
|---|---|---|
| vCPUs | 16 | 16 |
| Physical cores | 8 | 8 |
| 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.4xlarge | r5dn.4xlarge |
|---|---|---|
| Memory (GiB) | 64 | 128 |
| NetworkingAll 8 match | m5dn.4xlarge | r5dn.4xlarge |
|---|---|---|
| Network | Up to 25 Gigabit | Up to 25 Gigabit |
| Network baseline | 16.25 Gbps | 16.25 Gbps |
| Network peak | 25 Gbps | 25 Gbps |
| Enhanced networking | Yes (ENA) | Yes (ENA) |
| EFA | No | No |
| IPv6 | Yes | Yes |
| Max network interfaces | 8 | 8 |
| IPv4 addresses per interface | 30 | 30 |
| Storage1 of 12 differ | m5dn.4xlarge | r5dn.4xlarge |
|---|---|---|
| Storage | 2 x 300 NVMe SSD | 2 x 300 NVMe SSD |
| Local disks | 2 × 300 GB SSD | 2 × 300 GB SSD |
| EBS optimized | Yes | Yes |
| EBS over NVMe | Required | Required |
| EBS throughput | 3500 Mbps | 2120 Mbps |
| EBS baseline bandwidth | 4,750 Mbps | 4,750 Mbps |
| EBS max bandwidth | 4,750 Mbps | 4,750 Mbps |
| EBS baseline throughput | 593.75 MB/s | 593.75 MB/s |
| EBS max throughput | 593.75 MB/s | 593.75 MB/s |
| EBS baseline IOPS | 18,750 | 18,750 |
| EBS max IOPS | 18,750 | 18,750 |
| Max EBS volumes | 25 | 25 |
| Instance details2 of 10 differ | m5dn.4xlarge | r5dn.4xlarge |
|---|---|---|
| Family | m5dn | r5dn |
| Category | General purpose | Memory optimized |
| Current generation | Yes | Yes |
| Normalization factor | 32 | 32 |
| 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.4xlarge first. Linux, USD per hour.
| Region | m5dn.4xlarge | r5dn.4xlarge | Difference |
|---|---|---|---|
| US East (N. Virginia)Used in summaryus-east-1 | $1.088 | $1.336 | ▲ 23% |
| US East (Ohio)us-east-2 | $1.088 | $1.336 | ▲ 23% |
| US West (Oregon)us-west-2 | $1.088 | $1.336 | ▲ 23% |
| EU (Ireland)eu-west-1 | $1.216 | $1.488 | ▲ 22% |
| EU (Frankfurt)eu-central-1 | $1.296 | $1.592 | ▲ 23% |
| Asia Pacific (Singapore)ap-southeast-1 | $1.336 | $1.60 | ▲ 20% |
| AWS GovCloud (US-East)us-gov-east-1 | $1.368 | $1.608 | ▲ 18% |
| AWS GovCloud (US-West)us-gov-west-1 | $1.368 | $1.608 | ▲ 18% |
| Asia Pacific (Tokyo)ap-northeast-1 | $1.40 | $1.624 | ▲ 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.