Instances›AWS EC2›m5›m5.xlarge
Compute
vCPUs4
Memory16 GiB
Mem / vCPU4.00 GiB
ProcessorXeon Platinum 8175
Clock speed3.1 GHz
Architecturex86_64
Storage
TypeEBS only
Bandwidth4,750 Mbps
Throughput593.75 MB/s
IOPS18,750
Networking
PerformanceUp to 10 Gigabit
Max ENIs4
IPv6Yes
GPUNone
Family sizes
m5.large2 vCPU · 8 GiB
m5.xlarge4 vCPU · 16 GiB
m5.2xlarge8 vCPU · 32 GiB
m5.4xlarge16 vCPU · 64 GiB
m5.8xlarge32 vCPU · 128 GiB
m5.12xlarge48 vCPU · 192 GiB
m5.16xlarge64 vCPU · 256 GiB
m5.24xlarge96 vCPU · 384 GiB
m5.metal96 vCPU · 384 GiB
m5.xlarge

The m5.xlarge pairs 4 vCPU with 16 GiB of RAM, the 4.00 GiB-per-vCPU ratio that marks a general-purpose instance. In the name, "m" is the general-purpose line, "5" is the generation and "xlarge" is the size within the m5 family. It runs on Intel Xeon Platinum 8175 at 3.1 GHz, and AWS introduced it in November 2017. AWS has since shipped m6i, m7i, m8i and m9g; m6i.xlarge is the direct replacement at this size, scoring 66,742 CoreMark/s against this instance's 59,119 — roughly 13% more throughput for the same vCPU count. gp.vs1.large on Rackspace Spot lines up one-for-one: 4 vCPU and 16 GiB, about 94% below the US East (N. Virginia) on-demand rate.

Pricing by region
1 hr
RegionAWS on-demandAWS Spot1-yr Reserved3-yr ReservedRackspace SpotYou save
US East, N. Virginia$0.192$0.060$0.121$0.083$0.011
$0.181 savings
US Central, Chicagono AWS region$0.011
US Central, Dallasno AWS region$0.021
Hong Kong$0.264$0.166$0.114$0.011
$0.253 savings
Sydney, Australia$0.240$0.072$0.151$0.104$0.011
$0.229 savings
London, UK$0.222$0.061$0.140$0.096$0.026
$0.196 savings
US West, San Jose$0.224$0.065$0.141$0.097$0.041
$0.183 savings
US Central, Dallas 2no AWS region$0.041
US East, N. Virginia 2$0.192$0.060$0.121$0.083$0.041
$0.151 savings
When to use it
Good for
  • ●Backend services with no single dominant resource
  • ●Queue workers and scheduled jobs
  • ●Web and application servers with mixed CPU and memory demand
  • ●Workloads that fit inside 16 GiB of RAM
  • ●Small, steady services that do not need more than 4 vCPU
  • ●Network-heavy services — AWS rates this size at Up to 10 Gigabit
Avoid if
  • ●Starting a new deployment. m6i.xlarge is the newer generation at this size.
  • ●The working set needs more than 16 GiB of RAM
  • ●More than 4.00 GiB of RAM per vCPU is needed — that ratio is fixed for the whole family
  • ●Local NVMe or instance-store disk is a hard requirement
  • ●GPU or FPGA acceleration is needed
  • ●Sustained full-core CPU load. A compute-optimized family costs less per unit of work.
$140/mo on AWS on-demand against $8/mo on Rackspace Spot for the equivalent — market-priced, not list-priced.
  • Spot sells spare capacity at market prices. It is the cheapest compute on the internet.
  • Prices are set by supply and demand. You pay what the market decides.
  • Compute is delivered as fully managed Kubernetes. All infrastructure is taken care of.
  • Egress costs $0.01/GB after the free allowance. AWS charges $0.09/GB.
Build your Cloudspace
Frequently asked questions