m5a.2xlargevsr5a.2xlarge
m5a.2xlarge is 24% cheaper than r5a.2xlarge on demand in US East (N. Virginia), saving $78.84 a month.
| At a glance | m5a.2xlarge | r5a.2xlarge |
|---|---|---|
| On-demand | $0.344/hr24% less | $0.452/hr |
| Lowest rate | $0.0907/hr48% lessSpot, can be interrupted | $0.176/hrSpot, can be interrupted |
| Size | 8 vCPUs, 32 GiB | 8 vCPUs, 64 GiB |
| Processor | AMD EPYC 7571 | AMD EPYC 7571 |
| 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 | m5a.2xlarge | r5a.2xlarge | r5a.2xlarge vs m5a.2xlarge |
|---|---|---|---|
| On-demandPay by the hour | $0.344 | $0.452 | ▲ 31% |
| SpotCan be interrupted | 74% off$0.0907 | 61% off$0.176 | ▲ 94% |
| 1-yr reservedNo upfront | 37% off$0.217 | 37% off$0.285 | ▲ 31% |
| 3-yr reservedNo upfront | 57% off$0.149 | 57% off$0.195 | ▲ 31% |
| 1-yr savings planHourly commitment | 27% off$0.252 | 27% off$0.328 | ▲ 30% |
| 3-yr savings planHourly commitment | 49% off$0.174 | 48% off$0.236 | ▲ 36% |
Key differences
The biggest lead each one has.
Where m5a.2xlarge leads
On-demand price$0.344 vs $0.452 per hour
24% cheaperWhere r5a.2xlarge leads
Memory (GiB)64 vs 32
2× higherSpecs
3 of 40 specs differ. Those are in bold.
| ComputeAll 10 match | m5a.2xlarge | r5a.2xlarge |
|---|---|---|
| vCPUs | 8 | 8 |
| Physical cores | 4 | 4 |
| Threads per core | 2 | 2 |
| Architecture | x86_64 | x86_64 |
| Processor | AMD EPYC 7571 | AMD EPYC 7571 |
| CPU maker | AMD | AMD |
| Clock speed | 2.5 GHz | 2.5 GHz |
| Sustained clock | 2.5 GHz | 2.5 GHz |
| Processor features | AVX; AVX2; AMD Turbo | AVX; AVX2; AMD Turbo |
| Burstable | No | No |
| Memory1 of 1 differ | m5a.2xlarge | r5a.2xlarge |
|---|---|---|
| Memory (GiB) | 32 | 64 |
| NetworkingAll 8 match | m5a.2xlarge | r5a.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 |
| StorageAll 11 match | m5a.2xlarge | r5a.2xlarge |
|---|---|---|
| Storage | EBS only | EBS only |
| EBS optimized | Yes | Yes |
| EBS over NVMe | Required | Required |
| EBS throughput | Up to 2120 Mbps | Up to 2120 Mbps |
| EBS baseline bandwidth | 1,580 Mbps | 1,580 Mbps |
| EBS max bandwidth | 2,880 Mbps | 2,880 Mbps |
| EBS baseline throughput | 197.5 MB/s | 197.5 MB/s |
| EBS max throughput | 360 MB/s | 360 MB/s |
| EBS baseline IOPS | 8,333 | 8,333 |
| EBS max IOPS | 16,000 | 16,000 |
| Max EBS volumes | 27 | 27 |
| Instance details2 of 10 differ | m5a.2xlarge | r5a.2xlarge |
|---|---|---|
| Family | m5a | r5a |
| 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 m5a.2xlarge first. Linux, USD per hour.
| Region | m5a.2xlarge | r5a.2xlarge | Difference |
|---|---|---|---|
| Asia Pacific (Mumbai)ap-south-1 | $0.222 | $0.286 | ▲ 29% |
| US East (N. Virginia)Used in summaryus-east-1 | $0.344 | $0.452 | ▲ 31% |
| US East (Ohio)us-east-2 | $0.344 | $0.452 | ▲ 31% |
| US West (Oregon)us-west-2 | $0.344 | $0.452 | ▲ 31% |
| Canada (Central)ca-central-1 | $0.384 | $0.496 | ▲ 29% |
| EU (Ireland)eu-west-1 | $0.384 | $0.508 | ▲ 32% |
| EU (London)eu-west-2 | $0.4 | $0.532 | ▲ 33% |
| EU (Milan)eu-south-1 | $0.404 | $0.532 | ▲ 32% |
| EU (Paris)eu-west-3 | $0.404 | $0.532 | ▲ 32% |
| US West (N. California)us-west-1 | $0.404 | $0.504 | ▲ 25% |
| EU (Frankfurt)eu-central-1 | $0.416 | $0.548 | ▲ 32% |
| Asia Pacific (Seoul)ap-northeast-2 | $0.424 | $0.544 | ▲ 28% |
| Asia Pacific (Singapore)ap-southeast-1 | $0.432 | $0.544 | ▲ 26% |
| Asia Pacific (Sydney)ap-southeast-2 | $0.432 | $0.544 | ▲ 26% |
| AWS GovCloud (US-East)us-gov-east-1 | $0.436 | $0.544 | ▲ 25% |
| AWS GovCloud (US-West)us-gov-west-1 | $0.436 | $0.544 | ▲ 25% |
| Asia Pacific (Tokyo)ap-northeast-1 | $0.448 | $0.548 | ▲ 22% |
| South America (Sao Paulo)sa-east-1 | $0.552 | $0.724 | ▲ 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.