AWS M5 instance types

M5 is a general purpose Amazon EC2 family with 9 instance types, from 2 – 96 vCPUs and 8 GiB – 384 GiB of memory, running on Intel Xeon Platinum 8175. Linux on demand starts at $0.096 per hour.

general purposex86-64
sizes
9
vCPUs
2 – 96
memory
8 GiB – 384 GiB
processor
Intel Xeon Platinum 8175
on-demand from
$0.096

per hour · 31 regions

M5 sizes and prices

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

SizevCPUMemoryLocal storageOn-demandMonthlySpot1-yr
m5.large28 GiB–$0.096$70.08$0.0434$0.06
m5.xlarge416 GiB–$0.192$140$0.0817$0.121
m5.2xlarge832 GiB–$0.384$280$0.1612$0.242
m5.4xlarge1664 GiB–$0.768$561$0.3438$0.484
m5.8xlarge32128 GiB–$1.536$1,121$0.662$0.968
m5.12xlarge48192 GiB–$2.304$1,682$0.9604$1.452
m5.16xlarge64256 GiB–$3.072$2,243$1.316$1.935
m5.24xlarge96384 GiB–$4.608$3,364$1.881$2.903
m5.metal96384 GiB–$4.608$3,364$1.884$2.903

M5 equivalents on other clouds

closest match to m5.8xlarge (32 vCPU, 128 GiB)

AzureD32as v5Dasv5 family · 32 vCPU · 128 GiB$1.376/hr · East USDasv5 family →
Google Cloude2-standard-32E2 family · 32 vCPU · 128 GiB$1.072/hr · IowaE2 family →
AkamaiG8 Dedicated 128x32Dedicated CPU (G8) family · 32 vCPU · 128 GiB$1.68/hr · Newark, NJDedicated CPU (G8) family →
Vultrvx1-g-32c-128gVX1: General Purpose family · 32 vCPU · 128 GiB$0.96/hr · New JerseyVX1: General Purpose family →

Other general purpose families on AWS

M5 FAQ

What sizes does the AWS M5 family have?

M5 has 9 instance types, from m5.large (2 vCPU, 8 GiB) to m5.metal (96 vCPU, 384 GiB). They run on Intel Xeon Platinum 8175.

What is the cheapest M5 instance type?

m5.large at $0.096 per hour (Linux, on demand) in US East (N. Virginia), about $70.08 per month.

What is M5 best for?

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