m5.xlarge

Amazon EC2 · M5 family

The m5.xlarge is a general purpose Amazon EC2 instance type with 4 vCPUs and 16 GiB of memory, running on Intel Xeon Platinum 8175 with up to 10 Gigabit networking, starting at $0.192 per hour on demand.

general purposex86-64intel
vCPUs
4

dedicated

memory
16 GiB

4 GiB per vCPU

processor
Intel

3.1 GHz

on-demand
$0.192

$140/mo · us-east-1

spot
$0.0817

−57% vs on-demand

1-yr reserved
$0.121

−37% vs on-demand

m5.xlarge price by region

31 regions · hourly list prices in USD · On-demand · Spot · 1-yr Reserved · 3-yr Reserved

US East (N. Virginia)us-east-1cheapestreferenceNorth America$0.192$0.0817$0.121$0.083
US East (Ohio)us-east-2cheapestNorth America$0.192$0.0686$0.121$0.083
US West (Oregon)us-west-2cheapestNorth America$0.192$0.0659$0.121$0.083
Asia Pacific (Hyderabad)ap-south-2Asia$0.202$0.0493$0.127$0.087
Asia Pacific (Mumbai)ap-south-1Asia$0.202$0.0751$0.127$0.087
EU (Stockholm)eu-north-1Europe$0.204$0.0695$0.129$0.088
Canada (Central)ca-central-1North America$0.214$0.0714$0.135$0.092
Canada West (Calgary)ca-west-1North America$0.214$0.0857$0.135$0.092
EU (Ireland)eu-west-1Europe$0.214$0.0886$0.135$0.092
EU (Spain)eu-south-2Europe$0.214$0.0659$0.135$0.092
EU (London)eu-west-2Europe$0.222$0.0795$0.14$0.096
EU (Milan)eu-south-1Europe$0.224$0.0651$0.141$0.097
EU (Paris)eu-west-3Europe$0.224$0.0789$0.141$0.097
US West (N. California)us-west-1North America$0.224$0.0827$0.141$0.097
Israel (Tel Aviv)il-central-1Middle East$0.225$0.089$0.142$0.097
EU (Frankfurt)eu-central-1Europe$0.23$0.0717$0.145$0.099
Middle East (Bahrain)me-south-1Middle East$0.235$0.075$0.148$0.102
Middle East (UAE)me-central-1Middle East$0.235$0.0749$0.148$0.102
Asia Pacific (Seoul)ap-northeast-2Asia$0.236$0.0441$0.147$0.102
Asia Pacific (Jakarta)ap-southeast-3Asia$0.24$0.0792$0.151$0.104
Asia Pacific (Melbourne)ap-southeast-4Oceania$0.24$0.0714$0.151$0.104
Asia Pacific (Singapore)ap-southeast-1Asia$0.24$0.0666$0.151$0.104
Asia Pacific (Sydney)ap-southeast-2Oceania$0.24$0.0979$0.151$0.104
AWS GovCloud (US-East)us-gov-east-1North America$0.242–$0.152$0.105
AWS GovCloud (US)us-gov-west-1North America$0.242–$0.152$0.105
Asia Pacific (Osaka)ap-northeast-3Asia$0.248$0.0543$0.156$0.107
Asia Pacific (Tokyo)ap-northeast-1Asia$0.248$0.0876$0.156$0.107
EU (Zurich)eu-central-2Europe$0.253$0.0874$0.159$0.109
Africa (Cape Town)af-south-1Africa$0.254$0.0806$0.16$0.11
Asia Pacific (Hong Kong)ap-east-1Asia$0.264$0.084$0.166$0.114
South America (Sao Paulo)sa-east-1South America$0.306$0.0835$0.181$0.132

Specifications

compute

vCPUs
4
Memory
16 GiB
Memory per vCPU
4 GiB
Processor
Intel Xeon Platinum 8175
CPU vendor
Intel
Architecture
x86-64
Clock speed
3.1 GHz
Burstable CPU
No

storage & network

Local storage
Network storage only
Storage detail
EBS only
Network
Up to 10 Gigabit
Peak bandwidth
10 Gbps

aws details

API name
m5.xlarge
Family
M5
Category
General purpose
Generation
Current
Regions
31 (Africa, Asia, Europe, Middle East, North America, Oceania, South America)
Cheapest region
US East (N. Virginia) · $0.192/hr
Dedicated EBS throughput
Up to 2120 Mbps
ECU
16
Enhanced networking
Yes
Normalization size factor
8
Processor features
Intel AVX; Intel AVX2; Intel AVX512; Intel Turbo
Spot interruption rate (us-east-1)
>20%
Spot savings vs on-demand (us-east-1)
68%

m5.xlarge equivalents on other clouds

closest match by vCPU, memory, CPU architecture, accelerator and class · Linux on-demand in each provider's reference region

compare side by side→
ProviderInstancevCPUMemoryProcessorOn-demandvs m5.xlarge
AWSm5.xlarge416 GiBIntel Xeon Platinum 8175$0.192–
AzureD4as v5416 GiBAMD EPYC 7763v (Milan)$0.172-10%
DC4as v5416 GiBAMD EPYC 7763v (Milan)$0.172-10%
Google Cloude2-standard-4416 GiBAMD Rome, Intel Broadwell, Intel Haswell, Intel Skylake$0.134-30%
n2d-standard-4416 GiBAMD Milan, AMD Rome$0.169-12%
AkamaiG8 Dedicated 16x4416 GiBAMD EPYC$0.21+9%
Dedicated 8GB8 GiB (2× less)48 GiBAMD EPYC$0.108-44%
Vultrvx1-g-4c-16g416 GiBAMD EPYC$0.12-37%
vx1-g-4c-16g-240s416 GiBAMD EPYC$0.153-20%

M5 family sizes

all about M5→
SizevCPUMemoryLocal storageOn-demandMonthlySpot1-yr
m5.large28 GiB–$0.096$70.08$0.0434$0.06
m5.xlarge416 GiB–$0.192$140$0.0817$0.121
m5.2xlarge832 GiB–$0.384$280$0.1612$0.242
m5.4xlarge1664 GiB–$0.768$561$0.3438$0.484
m5.8xlarge32128 GiB–$1.536$1,121$0.662$0.968
m5.12xlarge48192 GiB–$2.304$1,682$0.9604$1.452
m5.16xlarge64256 GiB–$3.072$2,243$1.316$1.935
m5.24xlarge96384 GiB–$4.608$3,364$1.881$2.903
m5.metal96384 GiB–$4.608$3,364$1.884$2.903

Similar instance types on AWS

other AWS families with a similar shape, cheapest first

m5.xlarge FAQ

How much does m5.xlarge cost?

m5.xlarge costs $0.192 per hour on demand with Linux in US East (N. Virginia) (us-east-1), about $140 per month. Across 31 regions the Linux on-demand price ranges from $0.192 in US East (N. Virginia) to $0.306 in South America (Sao Paulo). Spot capacity costs $0.0817 per hour (57% less), but can be reclaimed. A 1-yr Reserved commitment brings it to $0.121 per hour. With Windows it costs $0.376 per hour.

How many vCPUs and how much memory does m5.xlarge have?

m5.xlarge has 4 vCPUs and 16 GiB of memory (4 GiB per vCPU), running on Intel Xeon Platinum 8175. It is a general purpose instance type in the M5 family.

What are the equivalents of m5.xlarge on other clouds?

The closest matches by vCPU, memory, CPU architecture and instance class are on Azure, D4as v5 (4 vCPU, 16 GiB, $0.172/hour in East US); on Google Cloud, e2-standard-4 (4 vCPU, 16 GiB, $0.134/hour in Iowa); on Akamai, G8 Dedicated 16x4 (4 vCPU, 16 GiB, $0.21/hour in Newark, NJ); on Vultr, vx1-g-4c-16g (4 vCPU, 16 GiB, $0.12/hour in New Jersey).