m5a.xlarge
General purpose · m5a series · AMD EPYC 7571
- vCPU
- 4
- Memory
- 16 GiB
- Linux / hour
- $0.1720
- Per month
- $126
- Per vCPU-hour
- $0.0430
- Per GiB-hour
- $0.0107
Analysis
The m5a.xlarge is a general purpose instance in the m5a series with 4 vCPUs and 16 GiB of memory on AMD EPYC 7571 (up to 2.5 GHz), which makes it balanced at 4 GiB of memory per vCPU.
Running it in Mumbai instead of São Paulo saves $120 a month per instance: $0.1110/hour against $0.2760/hour, a 149% spread.
It is the cheapest of the 5 processor variants AWS sells at this size and generation. The m5n.xlarge on Intel Xeon Platinum 8259 (Cascade Lake) costs 38% more, and the m5.xlarge, the m5ad.xlarge and the m5d.xlarge also sit above it.
At $0.1720/hour on demand in US East (N. Virginia), about $126 a month, the m5a.xlarge is one of the cheaper ways to buy general purpose capacity: only 14% of the 354 current general purpose types cost less per vCPU-hour than its $0.0430.
Reserving it for a year with no upfront payment cuts the Linux rate to $0.1080/hour, which beats on demand once it runs more than 63% of the time; three years brings it to $0.0740/hour, 57% below on demand. Windows Server roughly doubles the bill at $0.3560/hour, because the licence is charged per vCPU.
Looking beyond its own line, 5 of 42 current types with 4 vCPUs and similar memory are cheaper. The cheapest of those is the t4g.xlarge on AWS Graviton2 at $0.1344/hour. It is burstable, so it only suits workloads that do not run the CPU flat out.
Price by region (USD per hour)
| Region | Linux | Windows | 1-yr RI | 3-yr RI | |
|---|---|---|---|---|---|
| N. Virginia us-east-1 | $0.1720 | $0.3560 | $0.1080 | $0.0740 | |
| Ohio us-east-2 | $0.1720 | $0.3560 | $0.1080 | $0.0740 | |
| Oregon us-west-2 | $0.1720 | $0.3560 | $0.1080 | $0.0740 | |
| Canada Central ca-central-1 | $0.1920 | $0.3760 | $0.1210 | $0.0830 | |
| São Paulo sa-east-1 | $0.2760 | $0.4600 | $0.1630 | $0.1190 | |
| Ireland eu-west-1 | $0.1920 | $0.3760 | $0.1210 | $0.0830 | |
| London eu-west-2 | $0.2000 | $0.3840 | $0.1260 | $0.0860 | |
| Frankfurt eu-central-1 | $0.2080 | $0.3920 | $0.1310 | $0.0900 | |
| Mumbai ap-south-1 | $0.1110 | $0.2950 | $0.0700 | $0.0480 | |
| Singapore ap-southeast-1 | $0.2160 | $0.4000 | $0.1360 | $0.0930 | |
| Sydney ap-southeast-2 | $0.2160 | $0.4000 | $0.1360 | $0.0930 | |
| Tokyo ap-northeast-1 | $0.2240 | $0.4080 | $0.1410 | $0.0970 |
Shared tenancy, no pre-installed software. Reserved rates are standard, no upfront, per hour. Prices as of 2026-11-04.
Same shape, other types
| Type | vCPU | Memory | $/hour | vs m5a.xlarge |
|---|---|---|---|---|
| t4g.xlarge AWS Graviton2 Processor | 4 | 16 GiB | $0.1344 | -22% |
| t3a.xlarge AMD EPYC 7571 | 4 | 16 GiB | $0.1504 | -13% |
| m6g.xlarge AWS Graviton2 Processor | 4 | 16 GiB | $0.1540 | -10% |
| m7g.xlarge AWS Graviton3 Processor | 4 | 16 GiB | $0.1632 | -5% |
| t3.xlarge Intel Skylake E5 2686 v5 | 4 | 16 GiB | $0.1664 | -3% |
| m6a.xlarge AMD EPYC 7R13 Processor | 4 | 16 GiB | $0.1728 | +0% |
Cost calculator
Specs
| vCPU | 4 |
|---|---|
| Memory | 16 GiB (4.0 per vCPU) |
| Processor | AMD EPYC 7571 |
| Clock | 2.5 GHz |
| Storage | EBS only |
| Network | Up to 10 Gigabit |
m5a sizes
| m5a.large | 2 vCPU | $0.0860 |
| m5a.xlarge | 4 vCPU | $0.1720 |
| m5a.2xlarge | 8 vCPU | $0.3440 |
| m5a.4xlarge | 16 vCPU | $0.6880 |
| m5a.8xlarge | 32 vCPU | $1.38 |
| m5a.12xlarge | 48 vCPU | $2.06 |
| m5a.16xlarge | 64 vCPU | $2.75 |
| m5a.24xlarge | 96 vCPU | $4.13 |