m5a.xlargevsr5a.xlarge
m5a.xlarge is 24% cheaper than r5a.xlarge on demand in US East (N. Virginia), saving $39.42 a month.
| At a glance | m5a.xlarge | r5a.xlarge |
|---|---|---|
| On-demand | $0.172/hr24% less | $0.226/hr |
| Lowest rate | $0.0672/hr12% lessSpot, can be interrupted | $0.076/hrSpot, can be interrupted |
| Size | 4 vCPUs, 16 GiB | 4 vCPUs, 32 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.xlarge | r5a.xlarge | r5a.xlarge vs m5a.xlarge |
|---|---|---|---|
| On-demandPay by the hour | $0.172 | $0.226 | ▲ 31% |
| SpotCan be interrupted | 61% off$0.0672 | 66% off$0.076 | ▲ 13% |
| 1-yr reservedNo upfront | 37% off$0.108 | 37% off$0.142 | ▲ 31% |
| 3-yr reservedNo upfront | 57% off$0.074 | 57% off$0.098 | ▲ 32% |
| 1-yr savings planHourly commitment | 27% off$0.126 | 27% off$0.164 | ▲ 30% |
| 3-yr savings planHourly commitment | 49% off$0.087 | 48% off$0.118 | ▲ 36% |
Key differences
The biggest lead each one has.
Where m5a.xlarge leads
On-demand price$0.172 vs $0.226 per hour
24% cheaperWhere r5a.xlarge leads
Memory (GiB)32 vs 16
2× higherSpecs
3 of 40 specs differ. Those are in bold.
| ComputeAll 10 match | m5a.xlarge | r5a.xlarge |
|---|---|---|
| vCPUs | 4 | 4 |
| Physical cores | 2 | 2 |
| 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.xlarge | r5a.xlarge |
|---|---|---|
| Memory (GiB) | 16 | 32 |
| NetworkingAll 8 match | m5a.xlarge | r5a.xlarge |
|---|---|---|
| Network | Up to 10 Gigabit | Up to 10 Gigabit |
| Network baseline | 1.25 Gbps | 1.25 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.xlarge | r5a.xlarge |
|---|---|---|
| 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,085 Mbps | 1,085 Mbps |
| EBS max bandwidth | 2,880 Mbps | 2,880 Mbps |
| EBS baseline throughput | 135.625 MB/s | 135.625 MB/s |
| EBS max throughput | 360 MB/s | 360 MB/s |
| EBS baseline IOPS | 6,000 | 6,000 |
| EBS max IOPS | 16,000 | 16,000 |
| Max EBS volumes | 27 | 27 |
| Instance details2 of 10 differ | m5a.xlarge | r5a.xlarge |
|---|---|---|
| Family | m5a | r5a |
| 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 | Yes | Yes |
| Nitro Enclaves | Yes | Yes |
| Boot modes | Legacy BIOS, UEFI | Legacy BIOS, UEFI |
On-demand prices by region
Cheapest for m5a.xlarge first. Linux, USD per hour.
| Region | m5a.xlarge | r5a.xlarge | Difference |
|---|---|---|---|
| Asia Pacific (Mumbai)ap-south-1 | $0.111 | $0.143 | ▲ 29% |
| US East (N. Virginia)Used in summaryus-east-1 | $0.172 | $0.226 | ▲ 31% |
| US East (Ohio)us-east-2 | $0.172 | $0.226 | ▲ 31% |
| US West (Oregon)us-west-2 | $0.172 | $0.226 | ▲ 31% |
| Canada (Central)ca-central-1 | $0.192 | $0.248 | ▲ 29% |
| EU (Ireland)eu-west-1 | $0.192 | $0.254 | ▲ 32% |
| EU (London)eu-west-2 | $0.2 | $0.266 | ▲ 33% |
| EU (Milan)eu-south-1 | $0.202 | $0.266 | ▲ 32% |
| EU (Paris)eu-west-3 | $0.202 | $0.266 | ▲ 32% |
| US West (N. California)us-west-1 | $0.202 | $0.252 | ▲ 25% |
| EU (Frankfurt)eu-central-1 | $0.208 | $0.274 | ▲ 32% |
| Asia Pacific (Seoul)ap-northeast-2 | $0.212 | $0.272 | ▲ 28% |
| Asia Pacific (Singapore)ap-southeast-1 | $0.216 | $0.272 | ▲ 26% |
| Asia Pacific (Sydney)ap-southeast-2 | $0.216 | $0.272 | ▲ 26% |
| AWS GovCloud (US-East)us-gov-east-1 | $0.218 | $0.272 | ▲ 25% |
| AWS GovCloud (US-West)us-gov-west-1 | $0.218 | $0.272 | ▲ 25% |
| Asia Pacific (Tokyo)ap-northeast-1 | $0.224 | $0.274 | ▲ 22% |
| South America (Sao Paulo)sa-east-1 | $0.276 | $0.362 | ▲ 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.