m5.xlarge

m5.xlarge is an AWS EC2 instance with 4 vCPUs, 16 GiB memory (Intel Xeon Platinum 8175). In US East (N. Virginia) it costs $0.192 per hour on demand ($140.16 per month) for Linux; a 1-year reserved instance with no upfront costs $0.121 per hour, 37% less. Spot capacity is about $0.0391 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.192$0.0391$0.121$0.083$0.141$0.097
US East (Ohio) us-east-2$0.192$0.0364$0.121$0.083$0.141$0.097
US West (Oregon) us-west-2$0.192$0.0561$0.121$0.083$0.141$0.097
Asia Pacific (Mumbai) ap-south-1$0.202$0.0608$0.127$0.087$0.149$0.102
Asia Pacific (Hyderabad) ap-south-2$0.202$0.0202$0.127$0.087$0.149$0.102
EU (Stockholm) eu-north-1$0.204$0.0223$0.129$0.088$0.165$0.117
Canada (Central) ca-central-1$0.214$0.0427$0.135$0.092$0.156$0.108
Canada West (Calgary) ca-west-1$0.214$0.0665$0.135$0.092$0.156$0.108
Europe (Spain) eu-south-2$0.214$0.0587$0.135$0.092$0.173$0.122
EU (Ireland) eu-west-1$0.214$0.0901$0.135$0.092$0.173$0.122
EU (London) eu-west-2$0.222$0.0566$0.14$0.096$0.179$0.129
EU (Milan) eu-south-1$0.224$0.0509$0.141$0.097$0.181$0.128
EU (Paris) eu-west-3$0.224$0.0603$0.141$0.097$0.181$0.128
US West (N. California) us-west-1$0.224$0.0622$0.141$0.097$0.193$0.131
Israel (Tel Aviv) il-central-1$0.225$0.0878$0.142$0.097$0.181$0.128
EU (Frankfurt) eu-central-1$0.23$0.0785$0.145$0.099$0.188$0.139
Middle East (UAE) me-central-1$0.235$0.0613$0.148$0.102$0.19$0.134
Middle East (Bahrain) me-south-1$0.235$0.075$0.148$0.102$0.19$0.134
Asia Pacific (Seoul) ap-northeast-2$0.236$0.038$0.147$0.102$0.169$0.124
Asia Pacific (Singapore) ap-southeast-1$0.24$0.0745$0.151$0.104$0.179$0.122
Asia Pacific (Sydney) ap-southeast-2$0.24$0.0721$0.151$0.104$0.191$0.136
Asia Pacific (Jakarta) ap-southeast-3$0.24$0.024$0.151$0.104$0.179$0.122
Asia Pacific (Melbourne) ap-southeast-4$0.24$0.0442$0.151$0.104$0.191$0.136
AWS GovCloud (US-East) us-gov-east-1$0.242–$0.152$0.105$0.191$0.127
AWS GovCloud (US-West) us-gov-west-1$0.242–$0.152$0.105$0.191$0.127
Asia Pacific (Tokyo) ap-northeast-1$0.248$0.0779$0.156$0.107$0.199$0.144
Asia Pacific (Osaka) ap-northeast-3$0.248$0.0646$0.156$0.107$0.199$0.144
Europe (Zurich) eu-central-2$0.253$0.0802$0.159$0.109$0.207$0.153
Africa (Cape Town) af-south-1$0.254$0.0533$0.16$0.11$0.205$0.145
Asia Pacific (Hong Kong) ap-east-1$0.264$0.084$0.166$0.114$0.197$0.134
South America (Sao Paulo) sa-east-1$0.306$0.0306$0.181$0.132$0.208$0.159

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

Operating systemOn-demand /hr1-yr reserved /hr3-yr reserved /hr
Linux$0.192$0.121$0.083
Ubuntu Pro$0.199––
SUSE$0.248$0.154$0.116
RHEL$0.25$0.179$0.141
Linux SQL Web$0.26$0.189$0.151
RHEL SQL Web$0.317––
RHEL HA$0.32$0.249$0.211
Windows$0.376$0.305$0.267
Windows SQL Web$0.444$0.373$0.335
Linux SQL Std$0.672$0.601$0.563
RHEL SQL Std$0.73––
RHEL HA SQL Std$0.8––
Windows SQL Std$0.856$0.785$0.747
Linux SQL Ent$1.692$1.621$1.583
RHEL SQL Ent$1.75––
RHEL HA SQL Ent$1.82––
Windows SQL Ent$1.876$1.805$1.767

Specs

ComputeValue
vCPUs4
Physical cores2
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
ECU16
MemoryValue
Memory (GiB)16
NetworkingValue
NetworkUp to 10 Gbps
Network baseline1.25 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 bandwidth1,150 Mbps
EBS max bandwidth4,750 Mbps
EBS baseline throughput143.75 MB/s
EBS max throughput593.75 MB/s
EBS baseline IOPS6,000
EBS max IOPS18,750
Max EBS volumes27
Instance detailsValue
Instance typem5.xlarge
Familym5
CategoryGeneral purpose
Current generationYes
Normalization factor8
Bare metalNo
HypervisorNitro
Placement groupsCluster, Partition, Spread
HibernationYes
Nitro EnclavesYes
Boot modesLegacy BIOS, UEFI

Compare m5.xlarge

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.