m5.2xlarge

General purpose · m5 series · Intel Xeon Platinum 8175

vCPU
8
Memory
32 GiB
Linux / hour
$0.3840
Per month
$280
Per vCPU-hour
$0.0480
Per GiB-hour
$0.0120

Analysis

The m5.2xlarge is a general purpose instance in the m5 series with 8 vCPUs and 32 GiB of memory on Intel Xeon Platinum 8175 (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, 10% less ($29.20 a month). The other variants are the m5ad.2xlarge at $0.4120, the m5d.2xlarge at $0.4520 and the m5n.2xlarge at $0.4760.

Running it in N. Virginia instead of São Paulo saves $166 a month per instance: $0.3840/hour against $0.6120/hour, a 59% spread.

On demand it costs $0.3840/hour in US East (N. Virginia), $280 a month if left running, which puts it mid-table for general purpose types at the 29th percentile per vCPU ($0.0480 per vCPU-hour) and the 28th percentile per GiB ($0.0120 per GiB-hour).

Reserving it for a year with no upfront payment cuts the Linux rate to $0.2420/hour, which beats on demand once it runs more than 63% of the time; three years brings it to $0.1660/hour, 57% below on demand. Windows Server roughly doubles the bill at $0.7520/hour, because the licence is charged per vCPU.

It is 4.0% cheaper than the older m4.2xlarge on Intel Xeon E5-2676 v3 (Haswell), so staying on the previous generation costs more as well as being slower.

Price by region (USD per hour)

RegionLinuxWindows1-yr RI3-yr RI
N. Virginia us-east-1$0.3840$0.7520$0.2420$0.1660
Ohio us-east-2$0.3840$0.7520$0.2420$0.1660
Oregon us-west-2$0.3840$0.7520$0.2420$0.1660
Canada Central ca-central-1$0.4280$0.7960$0.2700$0.1850
São Paulo sa-east-1$0.6120$0.9800$0.3610$0.2640
Ireland eu-west-1$0.4280$0.7960$0.2700$0.1850
London eu-west-2$0.4440$0.8120$0.2800$0.1920
Frankfurt eu-central-1$0.4600$0.8280$0.2900$0.1990
Mumbai ap-south-1$0.4040$0.7720$0.2550$0.1750
Singapore ap-southeast-1$0.4800$0.8480$0.3020$0.2070
Sydney ap-southeast-2$0.4800$0.8480$0.3020$0.2070
Tokyo ap-northeast-1$0.4960$0.8640$0.3120$0.2140

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 m5.2xlarge
t4g.2xlarge
AWS Graviton2 Processor
832 GiB$0.2688-30%
t3a.2xlarge
AMD EPYC 7571
832 GiB$0.3008-22%
m6g.2xlarge
AWS Graviton2 Processor
832 GiB$0.3080-20%
m7g.2xlarge
AWS Graviton3 Processor
832 GiB$0.3264-15%
t3.2xlarge
Intel Skylake E5 2686 v5
832 GiB$0.3328-13%
m5a.2xlarge
AMD EPYC 7571
832 GiB$0.3440-10%

Cost calculator

Specs

vCPU8
Memory32 GiB (4.0 per vCPU)
ProcessorIntel Xeon Platinum 8175
Clock3.1 GHz
StorageEBS only
NetworkUp to 10 Gigabit

m5 sizes

m5.large2 vCPU$0.0960
m5.xlarge4 vCPU$0.1920
m5.2xlarge8 vCPU$0.3840
m5.4xlarge16 vCPU$0.7680
m5.8xlarge32 vCPU$1.54
m5.12xlarge48 vCPU$2.30
m5.16xlarge64 vCPU$3.07
m5.24xlarge96 vCPU$4.61