AWS M5a instance types

M5a is a general purpose Amazon EC2 family with 8 instance types, from 2 – 96 vCPUs and 8 GiB – 384 GiB of memory, running on AMD EPYC 7571. Linux on demand starts at $0.086 per hour.

general purposex86-64
sizes
8
vCPUs
2 – 96
memory
8 GiB – 384 GiB
processor
AMD EPYC 7571
on-demand from
$0.086

per hour · 18 regions

M5a sizes and prices

Linux, hourly, US East (N. Virginia) (other regions on each size's page)

SizevCPUMemoryLocal storageOn-demandMonthlySpot1-yr
m5a.large28 GiB–$0.086$62.78$0.0429$0.054
m5a.xlarge416 GiB–$0.172$126$0.0777$0.108
m5a.2xlarge832 GiB–$0.344$251$0.1773$0.217
m5a.4xlarge1664 GiB–$0.688$502$0.32$0.433
m5a.8xlarge32128 GiB–$1.376$1,004$0.6577$0.867
m5a.12xlarge48192 GiB–$2.064$1,507$0.8912$1.30
m5a.16xlarge64256 GiB–$2.752$2,009$1.105$1.734
m5a.24xlarge96384 GiB–$4.128$3,013$1.836$2.601

M5a equivalents on other clouds

closest match to m5a.4xlarge (16 vCPU, 64 GiB)

AzureD16as v5Dasv5 family · 16 vCPU · 64 GiB$0.688/hr · East USDasv5 family →
Google Cloude2-standard-16E2 family · 16 vCPU · 64 GiB$0.5361/hr · IowaE2 family →
AkamaiG8 Dedicated 64x16Dedicated CPU (G8) family · 16 vCPU · 64 GiB$0.84/hr · Newark, NJDedicated CPU (G8) family →
Vultrvx1-g-16c-64gVX1: General Purpose family · 16 vCPU · 64 GiB$0.48/hr · New JerseyVX1: General Purpose family →

Other general purpose families on AWS

M5a FAQ

What sizes does the AWS M5a family have?

M5a has 8 instance types, from m5a.large (2 vCPU, 8 GiB) to m5a.24xlarge (96 vCPU, 384 GiB). They run on AMD EPYC 7571.

What is the cheapest M5a instance type?

m5a.large at $0.086 per hour (Linux, on demand) in US East (N. Virginia), about $62.78 per month.

What is M5a best for?

M5a is a general purpose family. Balanced CPU and memory (about 4 GiB per vCPU) for web apps, services and most workloads.