m5a.2xlarge
General purpose · m5a series · AMD EPYC 7571
- vCPU
- 8
- Memory
- 32 GiB
- Linux / hour
- $0.3440
- Per month
- $251
- Per vCPU-hour
- $0.0430
- Per GiB-hour
- $0.0107
Analysis
The m5a.2xlarge is a general purpose instance in the m5a series with 8 vCPUs and 32 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 $241 a month per instance: $0.2220/hour against $0.5520/hour, a 149% spread.
It is the cheapest of the 5 processor variants AWS sells at this size and generation. The m5n.2xlarge on Intel Xeon Platinum 8259 (Cascade Lake) costs 38% more, and the m5.2xlarge, the m5ad.2xlarge and the m5d.2xlarge also sit above it.
At $0.3440/hour on demand in US East (N. Virginia), about $251 a month, the m5a.2xlarge 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.2170/hour, which beats on demand once it runs more than 63% of the time; three years brings it to $0.1490/hour, 57% below on demand. Windows Server roughly doubles the bill at $0.7120/hour, because the licence is charged per vCPU.
Looking beyond its own line, 5 of 42 current types with 8 vCPUs and similar memory are cheaper. The cheapest of those is the t4g.2xlarge on AWS Graviton2 at $0.2688/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.3440 | $0.7120 | $0.2170 | $0.1490 | |
| Ohio us-east-2 | $0.3440 | $0.7120 | $0.2170 | $0.1490 | |
| Oregon us-west-2 | $0.3440 | $0.7120 | $0.2170 | $0.1490 | |
| Canada Central ca-central-1 | $0.3840 | $0.7520 | $0.2420 | $0.1660 | |
| São Paulo sa-east-1 | $0.5520 | $0.9200 | $0.3260 | $0.2380 | |
| Ireland eu-west-1 | $0.3840 | $0.7520 | $0.2420 | $0.1660 | |
| London eu-west-2 | $0.4000 | $0.7680 | $0.2520 | $0.1730 | |
| Frankfurt eu-central-1 | $0.4160 | $0.7840 | $0.2620 | $0.1800 | |
| Mumbai ap-south-1 | $0.2220 | $0.5900 | $0.1400 | $0.0960 | |
| Singapore ap-southeast-1 | $0.4320 | $0.8000 | $0.2720 | $0.1870 | |
| Sydney ap-southeast-2 | $0.4320 | $0.8000 | $0.2720 | $0.1870 | |
| Tokyo ap-northeast-1 | $0.4480 | $0.8160 | $0.2820 | $0.1940 |
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.2xlarge |
|---|---|---|---|---|
| t4g.2xlarge AWS Graviton2 Processor | 8 | 32 GiB | $0.2688 | -22% |
| t3a.2xlarge AMD EPYC 7571 | 8 | 32 GiB | $0.3008 | -13% |
| m6g.2xlarge AWS Graviton2 Processor | 8 | 32 GiB | $0.3080 | -10% |
| m7g.2xlarge AWS Graviton3 Processor | 8 | 32 GiB | $0.3264 | -5% |
| t3.2xlarge Intel Skylake E5 2686 v5 | 8 | 32 GiB | $0.3328 | -3% |
| m6a.2xlarge AMD EPYC 7R13 Processor | 8 | 32 GiB | $0.3456 | +0% |
Cost calculator
Specs
| vCPU | 8 |
|---|---|
| Memory | 32 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 |