AWS M5n instance types

M5n 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 8259 (Cascade Lake). Linux on demand starts at $0.119 per hour.

general purposex86-64
sizes
9
vCPUs
2 – 96
memory
8 GiB – 384 GiB
processor
Intel Xeon Platinum 8259 (Cascade Lake)
on-demand from
$0.119

per hour · 9 regions

M5n sizes and prices

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

SizevCPUMemoryLocal storageOn-demandMonthlySpot1-yr
m5n.large28 GiB–$0.119$86.87$0.0509$0.075
m5n.xlarge416 GiB–$0.238$174$0.1031$0.15
m5n.2xlarge832 GiB–$0.476$347$0.2596$0.30
m5n.4xlarge1664 GiB–$0.952$695$0.4645$0.60
m5n.8xlarge32128 GiB–$1.904$1,390$0.9307$1.20
m5n.12xlarge48192 GiB–$2.856$2,085$1.355$1.799
m5n.16xlarge64256 GiB–$3.808$2,780$1.752$2.399
m5n.24xlarge96384 GiB–$5.712$4,170$2.277$3.599
m5n.metal96384 GiB–$5.712$4,170$2.518$3.599

M5n equivalents on other clouds

closest match to m5n.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

M5n FAQ

What sizes does the AWS M5n family have?

M5n has 9 instance types, from m5n.large (2 vCPU, 8 GiB) to m5n.metal (96 vCPU, 384 GiB). They run on Intel Xeon Platinum 8259 (Cascade Lake).

What is the cheapest M5n instance type?

m5n.large at $0.119 per hour (Linux, on demand) in US East (N. Virginia), about $86.87 per month.

What is M5n best for?

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