m5n.2xlarge

m5n.2xlarge is an AWS EC2 instance with 8 vCPUs, 32 GiB memory (Intel Xeon Platinum 8259 (Cascade Lake)). In US East (N. Virginia) it costs $0.476 per hour on demand ($347.48 per month) for Linux; a 1-year reserved instance with no upfront costs $0.3 per hour, 37% less. Spot capacity is about $0.1915 per hour. It is sold in 9 regions.

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
US East (N. Virginia) us-east-1$0.476$0.1915$0.3$0.184$0.347$0.211
US East (Ohio) us-east-2$0.476$0.1299$0.3$0.184$0.347$0.211
US West (Oregon) us-west-2$0.476$0.2249$0.3$0.184$0.347$0.211
EU (Ireland) eu-west-1$0.532$0.2622$0.335$0.23$0.43$0.265
EU (Frankfurt) eu-central-1$0.564$0.2284$0.355$0.244$0.458$0.298
Asia Pacific (Singapore) ap-southeast-1$0.584$0.2229$0.368$0.229$0.439$0.263
AWS GovCloud (US-East) us-gov-east-1$0.596–$0.375$0.238$0.463$0.273
AWS GovCloud (US-West) us-gov-west-1$0.596–$0.375$0.238$0.463$0.273
Asia Pacific (Tokyo) ap-northeast-1$0.612$0.2013$0.386$0.264$0.492$0.313

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

Operating systemOn-demand /hr1-yr reserved /hr3-yr reserved /hr
Linux$0.476$0.3$0.184
Ubuntu Pro$0.49––
RHEL$0.591$0.415$0.299
SUSE$0.601$0.36$0.238
Linux SQL Web$0.611$0.435$0.319
RHEL SQL Web$0.726––
RHEL HA$0.731$0.555$0.439
Windows$0.844$0.668$0.552
Windows SQL Web$0.979$0.803$0.687
Linux SQL Std$1.436$1.26$1.144
RHEL SQL Std$1.551––
RHEL HA SQL Std$1.691––
Windows SQL Std$1.804$1.628$1.512
Linux SQL Ent$3.476$3.30$3.184
RHEL SQL Ent$3.591––
RHEL HA SQL Ent$3.731––
Windows SQL Ent$3.844$3.668$3.552

Specs

ComputeValue
vCPUs8
Physical cores4
Threads per core2
Architecturex86_64
ProcessorIntel Xeon Platinum 8259 (Cascade Lake)
CPU makerIntel
Clock speed3.1 GHz
Sustained clock3.1 GHz
BurstableNo
MemoryValue
Memory (GiB)32
NetworkingValue
NetworkUp to 25 Gbps
Network baseline8.125 Gbps
Network peak25 Gbps
Enhanced networkingYes (ENA)
EFANo
IPv6Yes
Max network interfaces4
IPv4 addresses per interface15
StorageValue
StorageEBS only
EBS optimizedYes
EBS over NVMeRequired
EBS throughputUp to 3500 Mbps
EBS baseline bandwidth2,300 Mbps
EBS max bandwidth4,750 Mbps
EBS baseline throughput287.5 MB/s
EBS max throughput593.75 MB/s
EBS baseline IOPS12,000
EBS max IOPS18,750
Max EBS volumes27
Instance detailsValue
Instance typem5n.2xlarge
Familym5n
CategoryGeneral purpose
Current generationYes
Normalization factor16
Bare metalNo
HypervisorNitro
Placement groupsCluster, Partition, Spread
HibernationNo
Nitro EnclavesYes
Boot modesLegacy BIOS, UEFI

Compare m5n.2xlarge

Compute and memory optimized

With or without local disk and networking

Burstable

Other generations

Other m5n sizes

SizevCPUsMemory (GiB)On-demand /hr
m5n.large28$0.119
m5n.xlarge416$0.238
m5n.2xlarge832$0.476
m5n.4xlarge1664$0.952
m5n.8xlarge32128$1.904
m5n.12xlarge48192$2.856
m5n.16xlarge64256$3.808
m5n.24xlarge96384$5.712
m5n.metal96384$5.712

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