Instances›AWS EC2›m4›m4.2xlarge
Compute
vCPUs8
Memory32 GiB
Mem / vCPU4.00 GiB
ProcessorXeon E5-2676 v3
Clock speed2.4 GHz
Architecturex86_64
Storage
TypeEBS only
Bandwidth1,000 Mbps
Throughput125 MB/s
IOPS8,000
Networking
PerformanceHigh
Max ENIs4
IPv6Yes
GPUNone
Family sizes
m4.large2 vCPU · 8 GiB
m4.xlarge4 vCPU · 16 GiB
m4.2xlarge8 vCPU · 32 GiB
m4.4xlarge16 vCPU · 64 GiB
m4.10xlarge40 vCPU · 160 GiB
m4.16xlarge64 vCPU · 256 GiB
m4.2xlarge

The m4.2xlarge pairs 8 vCPU with 32 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, "4" is the generation and "2xlarge" is the size within the m4 family. It runs on Intel Xeon E5-2676 v3 (Haswell) at 2.4 GHz, and AWS introduced it in June 2015. AWS has since shipped m5, m6i, m7i and m8i; m5.2xlarge is the direct replacement at this size, scoring 115,791 CoreMark/s against this instance's 105,365 — roughly 10% more throughput for the same vCPU count. gp.vs1.xlarge on Rackspace Spot lines up one-for-one: 8 vCPU and 32 GiB, about 92% 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.400$0.160$0.248$0.173$0.031
$0.369 savings
US Central, Chicagono AWS region$0.021
US Central, Dallasno AWS region$0.081
Hong Kong$0.006
Sydney, Australia$0.500$0.236$0.336$0.242$0.006
$0.494 savings
London, UK$0.464$0.187$0.315$0.229$0.031
$0.433 savings
US West, San Jose$0.468$0.183$0.340$0.233$0.081
$0.387 savings
US Central, Dallas 2no AWS region$0.081
US East, N. Virginia 2$0.400$0.160$0.248$0.173$0.081
$0.319 savings
When to use it
Good for
  • ●Web and application servers with mixed CPU and memory demand
  • ●Microservices and container fleets
  • ●Development, staging and CI environments
  • ●Workloads that fit inside 32 GiB of RAM
  • ●Parallel work that can occupy 8 vCPU
Avoid if
  • ●Starting a new deployment. m5.2xlarge is the newer generation at this size.
  • ●The working set needs more than 32 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.
Stop overpaying AWS. This compute costs $292/mo on AWS vs $23/mo on Rackspace Spot.
  • 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