AWS EC2 Instances›Memory Optimized›m2›m2.xlarge

Compared with Rackspace Spot

AWSRackspace Spot
Machinem2.xlargemh.vs1.medium
vCPU22
Memory17.1 GiB16 GiB
Local disk1 × 420 GB HDDNone
On-demand / hr$0.245$0.053
Spot / hr$0.061$0.011
Prices in US East, N. Virginia

Compute

vCPUs2
Memory17.1 GiB
Mem / vCPU8.55 GiB
ProcessorXeon Family
Clock speed2.4 GHz
Architecturex86_64
GPU0
GPU Wattage0 W
GPU ArchitectureNone
Video Memory0 GiB
FPGA0
ffmpeg FPS10
CoreMark / sec28,404

Storage

Type1 × 420 GB HDD
BandwidthN/A
ThroughputN/A
IOPS0
Base BandwidthN/A
Base ThroughputN/A
Base IOPS0
Devices1
NVMe DriveNo
SSDNo
Swap PartitionNo

Networking

PerformanceModerate
Max ENIs4
IPv6No
GPUNone
Placement GroupNot supported
TrunkingNo
Branch Interface0
IPs / ENI15
Baseline Bandwidth0.3 Gbps

NUMA Architecture

Uses NUMANo
Node CountN/A
Max DistanceN/A
Cores / NodeN/A
Threads / NodeN/A
Memory / NodeN/A
L3 Cache / NodeN/A
L3 Cache SharedN/A

AWS Metadata

Instance typem2.xlarge
Full nameM2 High Memory Extra Large
FamilyMemory optimized
Variantm2
GenerationPrevious
Bare MetalNo
EMR supportYes
DedicatedN/A
Introduced2010-02-23
Family sizes

m2.xlarge

m2.xlarge is AWS's memory-optimized EC2 size at 2 vCPU and 17.1 GiB. The nearest Rackspace Spot server is mh.vs1.medium at 2 vCPU and 16 GiB, which is 1.1 GiB less memory than the AWS m2.xlarge.

In US East (N. Virginia), Rackspace Spot's on-demand price is about 78% below AWS on-demand and its Spot market price is about 82% below AWS Spot.

Server comparison caveats
No local disk

The AWS m2.xlarge comes with 1 × 420 GB HDD attached to the machine. Rackspace Spot servers use network storage only, so that disk does not come with it.

If you were using the local disk as fast scratch space (temporary files, a local cache, an index), you will need a persistent volume attached to your Rackspace Spot server, or object storage, instead. Both are slower to read than a local disk.

If it was just extra space you never depended on, nothing changes.

Pricing by region

1 hr

Regions are Rackspace Spot locations.

RegionAWS on-demandAWS Spot1-yr Reserved3-yr ReservedRackspace on-demandRackspace SpotOn-demand price savingsSpot price savings
US East, N. Virginia$0.245$0.061$0.111not offered$0.053$0.011
$0.192 (78%)
$0.050 (82%)
US Central, Chicagono AWS regionn/an/an/a$0.062$0.021n/an/a
US Central, Dallasno AWS regionn/an/an/a$0.058$0.021n/an/a
Hong Kongnot sold heren/an/an/a$0.061$0.002n/an/a
Sydney, Australia$0.296$0.113$0.148not offered$0.064$0.002
$0.232 (78%)
$0.111 (98%)
London, UKnot sold heren/an/an/a$0.051$0.002n/an/a
US West, San Jose$0.275$0.055$0.134not offered$0.060$0.031
$0.215 (78%)
$0.024 (44%)
US Central, Dallas 2no AWS regionn/an/an/a$0.060$0.031n/an/a

Prices updated 17 Nov 2026.

When to use it

Good for
  • ●In-memory caches such as Redis and Memcached
  • ●Large JVM heaps and application servers that hold state
  • ●OLAP and business intelligence query engines
  • ●Workloads that fit inside 17.1 GiB of RAM
  • ●Jobs that want 1 × 420 GB of local SSD scratch space
Avoid if
  • ●Starting a new deployment. m3.xlarge is the newer generation at this size.
  • ●The working set needs more than 17.1 GiB of RAM
  • ●CPU-bound work. You are paying for memory this workload will not use.
  • ●More than 8.55 GiB of RAM per vCPU is needed, since that ratio is fixed for the whole family
  • ●GPU or FPGA acceleration is needed
m2.xlarge is $179/mo on AWS on-demand and $39/mo on Rackspace Spot on-demand, 78% less. At the Spot market price, the same capacity is $8/mo.
  • Rackspace 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

How much does m2.xlarge cost?

The AWS m2.xlarge costs $0.245/hr on-demand in US East (N. Virginia), about $179/mo running 24/7, or $0.061/hr at the AWS Spot price. On Rackspace Spot, mh.vs1.medium is $0.053/hr on-demand, or $0.011/hr at the Spot price. Rackspace Spot also sells in Chicago and Dallas, where AWS operates no region at all, so those rows have no AWS price to compare against.

How much is m2.xlarge per month?

At 730 hours a month, m2.xlarge in US East (N. Virginia) is $179/mo on AWS on-demand, or $45/mo at the AWS Spot price. The same capacity on Rackspace Spot (mh.vs1.medium) is $39/mo on-demand, or $8/mo at the Spot price. Rackspace Spot prices move with demand, so the Spot figure is a typical rate rather than a fixed one.

What is the Rackspace Spot equivalent of m2.xlarge?

mh.vs1.medium, at 2 vCPU and 16 GiB, with the same vCPU count and 1.1 GiB less memory against m2.xlarge. In US East (N. Virginia), Rackspace Spot's on-demand price is about 78% below AWS on-demand and its Spot market price is about 82% below AWS Spot. Rackspace Spot classes are region-suffixed, so the exact name differs per row.

Does the Rackspace Spot equivalent include local NVMe storage?

No. m2.xlarge ships 1 × 420 GB of local disk. Rackspace Spot servers are network-backed, so a workload that leans on local disk throughput needs block storage or a re-architecture. Everything else about the match still holds.

Is m2.xlarge still worth using?

For workloads already running on it, yes: it works and it is priced accordingly. For anything new, m3.xlarge is the current answer. 4 newer generations of the m family have shipped since (m3, m4, m5 and m6i), which is the signal that matters for infrastructure you expect to keep running.

What is the difference between m2 and m3?

m3 is the newer generation. It runs on Intel Xeon E5-2670 v2 (Ivy Bridge/Sandy Bridge) against m2's Intel Xeon Family. On-demand in US East (N. Virginia) the newer size is 9% more expensive. Neither generation changes the Rackspace Spot side: both map to the same Rackspace Spot servers.