m5.xlarge

General purpose · m5 series · Intel Xeon Platinum 8175

vCPU
4
Memory
16 GiB
Linux / hour
$0.1920
Per month
$140
Per vCPU-hour
$0.0480
Per GiB-hour
$0.0120

Analysis

The m5.xlarge is a general purpose instance in the m5 series with 4 vCPUs and 16 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.xlarge on AMD EPYC 7571 costs $0.1720/hour, 10% less ($14.60 a month). The other variants are the m5ad.xlarge at $0.2060, the m5d.xlarge at $0.2260 and the m5n.xlarge at $0.2380.

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

On demand it costs $0.1920/hour in US East (N. Virginia), $140 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.1210/hour, which beats on demand once it runs more than 63% of the time; three years brings it to $0.0830/hour, 57% below on demand. Windows Server roughly doubles the bill at $0.3760/hour, because the licence is charged per vCPU.

It is 4.0% cheaper than the older m4.xlarge 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.1920$0.3760$0.1210$0.0830
Ohio us-east-2$0.1920$0.3760$0.1210$0.0830
Oregon us-west-2$0.1920$0.3760$0.1210$0.0830
Canada Central ca-central-1$0.2140$0.3980$0.1350$0.0920
São Paulo sa-east-1$0.3060$0.4900$0.1810$0.1320
Ireland eu-west-1$0.2140$0.3980$0.1350$0.0920
London eu-west-2$0.2220$0.4060$0.1400$0.0960
Frankfurt eu-central-1$0.2300$0.4140$0.1450$0.0990
Mumbai ap-south-1$0.2020$0.3860$0.1270$0.0870
Singapore ap-southeast-1$0.2400$0.4240$0.1510$0.1040
Sydney ap-southeast-2$0.2400$0.4240$0.1510$0.1040
Tokyo ap-northeast-1$0.2480$0.4320$0.1560$0.1070

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.xlarge
t4g.xlarge
AWS Graviton2 Processor
416 GiB$0.1344-30%
t3a.xlarge
AMD EPYC 7571
416 GiB$0.1504-22%
m6g.xlarge
AWS Graviton2 Processor
416 GiB$0.1540-20%
m7g.xlarge
AWS Graviton3 Processor
416 GiB$0.1632-15%
t3.xlarge
Intel Skylake E5 2686 v5
416 GiB$0.1664-13%
m5a.xlarge
AMD EPYC 7571
416 GiB$0.1720-10%

Cost calculator

Specs

vCPU4
Memory16 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