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

Compared with Rackspace Spot

AWSRackspace Spot
Machiner7g.xlargemh.vs2.large
vCPU44
Memory32 GiB32 GiB
Local diskNoneNone
On-demand / hr$0.238$0.110
Spot / hr$0.077$0.061
Prices in US West, San Jose

Compute

vCPUs4
Memory32 GiB
Mem / vCPU8.00 GiB
ProcessorGraviton3 Processor
Clock speed2.5 GHz
Architecturearm64
GPU0
GPU Wattage0 W
GPU ArchitectureNone
Video Memory0 GiB
FPGA0
ffmpeg FPS38
CoreMark / sec102,571

Storage

TypeEBS only
Bandwidth10,000 Mbps
Throughput1250 MB/s
IOPS40,000
Base Bandwidth1,250 Mbps
Base Throughput156.25039999999998 MB/s
Base IOPS6,000
Devices0
NVMe DriveNo
SSDNo
Swap PartitionNo

Networking

PerformanceUp to 12.5 Gigabit
Max ENIs4
IPv6Yes
GPUNone
Placement GroupSupported
TrunkingYes
Branch Interface18
IPs / ENI15
Baseline Bandwidth1.876 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 typer7g.xlarge
Full nameR7G Extra Large
FamilyMemory optimized
Variantr7g
GenerationCurrent
Bare MetalNo
EMR supportYes
DedicatedSupported
Introduced2023-02-13
Family sizes

r7g.xlarge

AWS's r7g.xlarge is a memory-optimized instance with 4 vCPU and 32 GiB. On Rackspace Spot, mh.vs2.large is an exact match, with 4 vCPU and 32 GiB.

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

Server comparison caveats
x86 substitution

The AWS r7g.xlarge is Graviton (arm64). Rackspace Spot does not have arm64 servers, so mh.vs2.large is an x86_64 substitute with similar specs.

You will need x86 builds of your container images. Most software rebuilds without changes, but anything with compiled native code needs a real rebuild rather than a retag. Speed per core also differs between the two chips, so it is worth testing before deciding how many nodes to run.

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.214$0.097$0.142$0.097$0.107$0.021
$0.107 (50%)
$0.076 (78%)
US Central, Chicagono AWS regionn/an/an/a$0.121$0.061n/an/a
US Central, Dallasno AWS regionn/an/an/a$0.119$0.031n/an/a
Hong Kong$0.284$0.068$0.187$0.128$0.132$0.006
$0.152 (54%)
$0.062 (91%)
Sydney, Australia$0.257$0.107$0.170$0.117$0.121$0.006
$0.136 (53%)
$0.101 (94%)
London, UK$0.252$0.104$0.167$0.114$0.107$0.006
$0.145 (57%)
$0.098 (94%)
US West, San Jose$0.238$0.077$0.157$0.108$0.110$0.061
$0.128 (54%)
$0.016 (21%)
US Central, Dallas 2no AWS regionn/an/an/a$0.110$0.061n/an/a

Prices updated 18 Nov 2026.

When to use it

Good for
  • ●Graph and search workloads with large indexes
  • ●In-memory caches such as Redis and Memcached
  • ●Large JVM heaps and application servers that hold state
  • ●Workloads that fit inside 32 GiB of RAM
  • ●Small, steady services that do not need more than 4 vCPU
  • ●Network-heavy services (AWS rates this size at Up to 12.5 Gigabit)
Avoid if
  • ●Starting a new deployment. r8g.xlarge is the newer generation at this size.
  • ●The working set needs more than 32 GiB of RAM
  • ●You cannot rebuild x86-only binaries or vendor images for aarch64
  • ●GPU or FPGA acceleration is needed
  • ●CPU-bound work. You are paying for memory this workload will not use.
  • ●More than 8.00 GiB of RAM per vCPU is needed, since that ratio is fixed for the whole family
r7g.xlarge is $156/mo on AWS on-demand and $78/mo on Rackspace Spot on-demand, 50% less. At the Spot market price, the same capacity is $15/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 r7g.xlarge cost?

The AWS r7g.xlarge costs $0.214/hr on-demand in US East (N. Virginia), about $156/mo running 24/7, or $0.097/hr at the AWS Spot price. On Rackspace Spot, mh.vs2.large is $0.107/hr on-demand, or $0.021/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 r7g.xlarge per month?

At 730 hours a month, r7g.xlarge in US East (N. Virginia) is $156/mo on AWS on-demand, or $71/mo at the AWS Spot price. The same capacity on Rackspace Spot (mh.vs2.large) is $78/mo on-demand, or $15/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 r7g.xlarge?

mh.vs2.large, at 4 vCPU and 32 GiB, with the same vCPU count and the same memory against r7g.xlarge. In US East (N. Virginia), Rackspace Spot's on-demand price is about 50% below AWS on-demand and its Spot market price is about 78% below AWS Spot. Rackspace Spot classes are region-suffixed, so the exact name differs per row.

Is r7g.xlarge ARM or x86?

ARM. r7g.xlarge runs on AWS Graviton3 Processor, so its binaries and container images are aarch64. Rackspace Spot's mh.vs2.large is x86-64, which means this is a substitution and not a migration: anything not already built multi-arch has to be rebuilt before it runs. For interpreted stacks that is usually a rebuild of the base image; for anything with native extensions, check them individually.

Is r7g.xlarge still worth using?

For workloads already running on it, yes: it works and it is priced accordingly. For anything new, r8g.xlarge is the current answer and measures roughly 19% more CoreMark throughput at the same vCPU count. 2 newer generations of the r family have shipped since (r8g and r9g), which is the signal that matters for infrastructure you expect to keep running.

What is the difference between r7g and r8g?

r8g is the newer generation. It runs on AWS Graviton4 Processor against r7g's AWS Graviton3 Processor. On the CoreMark figures in this dataset, r8g.xlarge scores 122,100 per second against r7g.xlarge's 102,571. On-demand in US East (N. Virginia) the newer size is 10% more expensive. Neither generation changes the Rackspace Spot side: both map to the same Rackspace Spot servers.