m5a.2xlarge

m5a.2xlarge is an AWS EC2 instance with 8 vCPUs, 32 GiB memory (AMD EPYC 7571). In US East (N. Virginia) it costs $0.344 per hour on demand ($251.12 per month) for Linux; a 1-year reserved instance with no upfront costs $0.217 per hour, 37% less. Spot capacity is about $0.0907 per hour. It is sold in 18 regions; the cheapest is Asia Pacific (Mumbai) at $0.222 per hour.

Prices by region

USD per hour, Linux. Reserved prices are no upfront, standard. Cheapest on-demand first.

RegionOn-demandSpot1-yr reserved3-yr reserved1-yr savings plan3-yr savings plan
Asia Pacific (Mumbai) ap-south-1$0.222$0.1172$0.14$0.096$0.164$0.112
US East (N. Virginia) us-east-1$0.344$0.0907$0.217$0.149$0.252$0.174
US East (Ohio) us-east-2$0.344$0.1111$0.217$0.149$0.252$0.174
US West (Oregon) us-west-2$0.344$0.1404$0.217$0.149$0.252$0.174
Canada (Central) ca-central-1$0.384$0.1555$0.242$0.166$0.281$0.193
EU (Ireland) eu-west-1$0.384$0.2253$0.242$0.166$0.311$0.219
EU (London) eu-west-2$0.4$0.1677$0.252$0.173$0.322$0.233
EU (Milan) eu-south-1$0.404$0.1825$0.255$0.175$0.326$0.23
EU (Paris) eu-west-3$0.404$0.1851$0.255$0.175$0.326$0.23
US West (N. California) us-west-1$0.404$0.1805$0.255$0.175$0.348$0.237
EU (Frankfurt) eu-central-1$0.416$0.2232$0.262$0.18$0.341$0.251
Asia Pacific (Seoul) ap-northeast-2$0.424$0.1252$0.264$0.183$0.304$0.222
Asia Pacific (Singapore) ap-southeast-1$0.432$0.2196$0.272$0.187$0.322$0.219
Asia Pacific (Sydney) ap-southeast-2$0.432$0.2297$0.272$0.187$0.344$0.245
AWS GovCloud (US-East) us-gov-east-1$0.436–$0.275$0.188$0.345$0.228
AWS GovCloud (US-West) us-gov-west-1$0.436–$0.275$0.188$0.344$0.229
Asia Pacific (Tokyo) ap-northeast-1$0.448$0.2045$0.282$0.194$0.358$0.261
South America (Sao Paulo) sa-east-1$0.552$0.1182$0.326$0.238$0.375$0.288

Prices by operating system in US East (N. Virginia)

Operating systemOn-demand /hr1-yr reserved /hr3-yr reserved /hr
Linux$0.344$0.217$0.149
Ubuntu Pro$0.358––
RHEL$0.459$0.332$0.264
SUSE$0.469$0.277$0.203
Linux SQL Web$0.479$0.352$0.284
RHEL SQL Web$0.594––
RHEL HA$0.599$0.472$0.404
Windows$0.712$0.585$0.517
Windows SQL Web$0.847$0.72$0.652
Linux SQL Std$1.304$1.177$1.109
RHEL SQL Std$1.419––
RHEL HA SQL Std$1.559––
Windows SQL Std$1.672$1.545$1.477
Linux SQL Ent$3.344$3.217$3.149
RHEL SQL Ent$3.459––
RHEL HA SQL Ent$3.599––
Windows SQL Ent$3.712$3.585$3.517

Specs

ComputeValue
vCPUs8
Physical cores4
Threads per core2
Architecturex86_64
ProcessorAMD EPYC 7571
CPU makerAMD
Clock speed2.5 GHz
Sustained clock2.5 GHz
Processor featuresAVX; AVX2; AMD Turbo
BurstableNo
MemoryValue
Memory (GiB)32
NetworkingValue
NetworkUp to 10 Gbps
Network baseline2.5 Gbps
Network peak10 Gbps
Enhanced networkingYes (ENA)
EFANo
IPv6Yes
Max network interfaces4
IPv4 addresses per interface15
StorageValue
StorageEBS only
EBS optimizedYes
EBS over NVMeRequired
EBS throughputUp to 2120 Mbps
EBS baseline bandwidth1,580 Mbps
EBS max bandwidth2,880 Mbps
EBS baseline throughput197.5 MB/s
EBS max throughput360 MB/s
EBS baseline IOPS8,333
EBS max IOPS16,000
Max EBS volumes27
Instance detailsValue
Instance typem5a.2xlarge
Familym5a
CategoryGeneral purpose
Current generationYes
Normalization factor16
Bare metalNo
HypervisorNitro
Placement groupsCluster, Partition, Spread
HibernationYes
Nitro EnclavesYes
Boot modesLegacy BIOS, UEFI

Compare m5a.2xlarge

Compute and memory optimized

Other processors

With or without local disk and networking

Burstable

Other generations

Other m5a sizes

SizevCPUsMemory (GiB)On-demand /hr
m5a.large28$0.086
m5a.xlarge416$0.172
m5a.2xlarge832$0.344
m5a.4xlarge1664$0.688
m5a.8xlarge32128$1.376
m5a.12xlarge48192$2.064
m5a.16xlarge64256$2.752
m5a.24xlarge96384$4.128

Prices updated 2026-11-12 from AWS public price lists. Compare all AWS EC2 instances.