m5n.2xlarge

General purpose · m5n series · Intel Xeon Platinum 8259 (Cascade Lake)

vCPU
8
Memory
32 GiB
Linux / hour
$0.4760
Per month
$347
Per vCPU-hour
$0.0595
Per GiB-hour
$0.0149

Analysis

The m5n.2xlarge is a general purpose instance in the m5n series with 8 vCPUs and 32 GiB of memory on Intel Xeon Platinum 8259 (Cascade Lake) (up to 3.1 GHz), which makes it balanced at 4 GiB of memory per vCPU.

Within the same generation and size, the m5a.2xlarge on AMD EPYC 7571 costs $0.3440/hour, 28% less ($96.36 a month). The other variants are the m5.2xlarge at $0.3840, the m5ad.2xlarge at $0.4120 and the m5d.2xlarge at $0.4520.

Running it in N. Virginia instead of Tokyo saves $99.28 a month per instance: $0.4760/hour against $0.6120/hour, a 29% spread. It is not offered in Canada Central, São Paulo, London, Mumbai and Sydney, so plan around that if you need a presence there.

On demand it costs $0.4760/hour in US East (N. Virginia), $347 a month if left running, which puts it mid-table for general purpose types at the 59th percentile per vCPU ($0.0595 per vCPU-hour) and the 59th percentile per GiB ($0.0149 per GiB-hour).

Looking beyond its own line, 25 of 42 current types with 8 vCPUs and similar memory are cheaper. The cheapest of those is the t4g.2xlarge on AWS Graviton2 at $0.2688/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.4760$0.8440$0.3000$0.1840
Ohio us-east-2$0.4760$0.8440$0.3000$0.1840
Oregon us-west-2$0.4760$0.8440$0.3000$0.1840
Ireland eu-west-1$0.5320$0.9000$0.3350$0.2300
Frankfurt eu-central-1$0.5640$0.9320$0.3550$0.2440
Singapore ap-southeast-1$0.5840$0.9520$0.3680$0.2290
Tokyo ap-northeast-1$0.6120$0.9800$0.3860$0.2640

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 m5n.2xlarge
t4g.2xlarge
AWS Graviton2 Processor
832 GiB$0.2688-44%
t3a.2xlarge
AMD EPYC 7571
832 GiB$0.3008-37%
m6g.2xlarge
AWS Graviton2 Processor
832 GiB$0.3080-35%
m7g.2xlarge
AWS Graviton3 Processor
832 GiB$0.3264-31%
t3.2xlarge
Intel Skylake E5 2686 v5
832 GiB$0.3328-30%
m5a.2xlarge
AMD EPYC 7571
832 GiB$0.3440-28%

Cost calculator

Specs

vCPU8
Memory32 GiB (4.0 per vCPU)
ProcessorIntel Xeon Platinum 8259 (Cascade Lake)
Clock3.1 GHz
StorageEBS only
NetworkUp to 25 Gigabit

m5n sizes

m5n.large2 vCPU$0.1190
m5n.xlarge4 vCPU$0.2380
m5n.2xlarge8 vCPU$0.4760
m5n.4xlarge16 vCPU$0.9520
m5n.8xlarge32 vCPU$1.90
m5n.12xlarge48 vCPU$2.86
m5n.16xlarge64 vCPU$3.81
m5n.24xlarge96 vCPU$5.71