m5.2xlarge

m5.2xlarge is an AWS EC2 instance with 8 vCPUs, 32 GiB memory (Intel Xeon Platinum 8175). In US East (N. Virginia) it costs $0.384 per hour on demand ($280.32 per month) for Linux; a 1-year reserved instance with no upfront costs $0.242 per hour, 37% less. Spot capacity is about $0.129 per hour. It is sold in 31 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.384$0.129$0.242$0.166$0.282$0.195
US East (Ohio) us-east-2$0.384$0.0795$0.242$0.166$0.282$0.195
US West (Oregon) us-west-2$0.384$0.1325$0.242$0.166$0.282$0.195
Asia Pacific (Mumbai) ap-south-1$0.404$0.1362$0.255$0.175$0.299$0.203
Asia Pacific (Hyderabad) ap-south-2$0.404$0.0404$0.255$0.175$0.299$0.203
EU (Stockholm) eu-north-1$0.408$0.0408$0.257$0.176$0.329$0.233
Canada (Central) ca-central-1$0.428$0.0782$0.27$0.185$0.312$0.215
Canada West (Calgary) ca-west-1$0.428$0.1091$0.27$0.185$0.312$0.215
Europe (Spain) eu-south-2$0.428$0.0805$0.27$0.185$0.346$0.244
EU (Ireland) eu-west-1$0.428$0.2001$0.27$0.185$0.346$0.244
EU (London) eu-west-2$0.444$0.1043$0.28$0.192$0.357$0.257
EU (Milan) eu-south-1$0.448$0.084$0.282$0.194$0.362$0.256
EU (Paris) eu-west-3$0.448$0.1152$0.282$0.194$0.362$0.256
US West (N. California) us-west-1$0.448$0.1163$0.282$0.194$0.386$0.262
Israel (Tel Aviv) il-central-1$0.449$0.1037$0.283$0.194$0.363$0.257
EU (Frankfurt) eu-central-1$0.46$0.1633$0.29$0.199$0.377$0.278
Middle East (UAE) me-central-1$0.471$0.1176$0.297$0.203$0.38$0.269
Middle East (Bahrain) me-south-1$0.471$0.1692$0.297$0.203$0.38$0.269
Asia Pacific (Seoul) ap-northeast-2$0.472$0.0877$0.294$0.204$0.338$0.248
Asia Pacific (Singapore) ap-southeast-1$0.48$0.1707$0.302$0.207$0.357$0.243
Asia Pacific (Sydney) ap-southeast-2$0.48$0.1643$0.302$0.207$0.383$0.273
Asia Pacific (Jakarta) ap-southeast-3$0.48$0.048$0.302$0.207$0.357$0.243
Asia Pacific (Melbourne) ap-southeast-4$0.48$0.0766$0.302$0.207$0.383$0.273
AWS GovCloud (US-East) us-gov-east-1$0.484–$0.305$0.209$0.383$0.253
AWS GovCloud (US-West) us-gov-west-1$0.484–$0.305$0.209$0.383$0.253
Asia Pacific (Tokyo) ap-northeast-1$0.496$0.1744$0.312$0.214$0.397$0.288
Asia Pacific (Osaka) ap-northeast-3$0.496$0.2032$0.312$0.214$0.397$0.288
Europe (Zurich) eu-central-2$0.506$0.0831$0.319$0.219$0.414$0.306
Africa (Cape Town) af-south-1$0.508$0.1098$0.32$0.219$0.41$0.29
Asia Pacific (Hong Kong) ap-east-1$0.528$0.1429$0.333$0.228$0.393$0.268
South America (Sao Paulo) sa-east-1$0.612$0.0624$0.361$0.264$0.415$0.318

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

Operating systemOn-demand /hr1-yr reserved /hr3-yr reserved /hr
Linux$0.384$0.242$0.166
Ubuntu Pro$0.398––
SUSE$0.484$0.275$0.199
RHEL$0.499$0.357$0.281
Linux SQL Web$0.519$0.377$0.301
RHEL SQL Web$0.634––
RHEL HA$0.639$0.497$0.421
Windows$0.752$0.61$0.534
Windows SQL Web$0.887$0.745$0.669
Linux SQL Std$1.344$1.202$1.126
RHEL SQL Std$1.459––
RHEL HA SQL Std$1.599––
Windows SQL Std$1.712$1.57$1.494
Linux SQL Ent$3.384$3.242$3.166
RHEL SQL Ent$3.499––
RHEL HA SQL Ent$3.639––
Windows SQL Ent$3.752$3.61$3.534

Specs

ComputeValue
vCPUs8
Physical cores4
Threads per core2
Architecturex86_64
ProcessorIntel Xeon Platinum 8175
CPU makerIntel
Clock speed3.1 GHz
Sustained clock3.1 GHz
Processor featuresIntel AVX; Intel AVX2; Intel AVX512; Intel Turbo
BurstableNo
ECU37
MemoryValue
Memory (GiB)32
NetworkingValue
NetworkUp to 10 Gbps
Network baseline2.5 Gbps
Network peak10 Gbps
Enhanced networkingYes (ENA)
EFANo
IPv6Yes
Max network interfaces4
IPv4 addresses per interface15
StorageValue
StorageEBS only
EBS optimizedYes
EBS over NVMeRequired
EBS throughputUp to 2120 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 typem5.2xlarge
Familym5
CategoryGeneral purpose
Current generationYes
Normalization factor16
Bare metalNo
HypervisorNitro
Placement groupsCluster, Partition, Spread
HibernationYes
Nitro EnclavesYes
Boot modesLegacy BIOS, UEFI

Compare m5.2xlarge

Compute and memory optimized

With or without local disk and networking

Burstable

Other processors

Other generations

Other m5 sizes

SizevCPUsMemory (GiB)On-demand /hr
m5.large28$0.096
m5.xlarge416$0.192
m5.2xlarge832$0.384
m5.4xlarge1664$0.768
m5.8xlarge32128$1.536
m5.12xlarge48192$2.304
m5.16xlarge64256$3.072
m5.24xlarge96384$4.608
m5.metal96384$4.608

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