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)

RegionLinuxWindows1-yr RI3-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

TypevCPUMemory$/hourvs m5a.xlarge
t4g.xlarge
AWS Graviton2 Processor
416 GiB$0.1344-22%
t3a.xlarge
AMD EPYC 7571
416 GiB$0.1504-13%
m6g.xlarge
AWS Graviton2 Processor
416 GiB$0.1540-10%
m7g.xlarge
AWS Graviton3 Processor
416 GiB$0.1632-5%
t3.xlarge
Intel Skylake E5 2686 v5
416 GiB$0.1664-3%
m6a.xlarge
AMD EPYC 7R13 Processor
416 GiB$0.1728+0%

Cost calculator

Specs

vCPU4
Memory16 GiB (4.0 per vCPU)
ProcessorAMD EPYC 7571
Clock2.5 GHz
StorageEBS only
NetworkUp to 10 Gigabit

m5a sizes

m5a.large2 vCPU$0.0860
m5a.xlarge4 vCPU$0.1720
m5a.2xlarge8 vCPU$0.3440
m5a.4xlarge16 vCPU$0.6880
m5a.8xlarge32 vCPU$1.38
m5a.12xlarge48 vCPU$2.06
m5a.16xlarge64 vCPU$2.75
m5a.24xlarge96 vCPU$4.13