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

Compared with Rackspace Spot

AWSRackspace Spot
Machiner7g.4xlargemh.vs1.2xlarge
vCPU1616
Memory128 GiB128 GiB
Local diskNoneNone
On-demand / hr$0.857$0.431
Spot / hr$0.494$0.021
Prices in US East, N. Virginia

Compute

vCPUs16
Memory128 GiB
Mem / vCPU8.00 GiB
ProcessorGraviton3 Processor
Clock speed2.5 GHz
Architecturearm64
GPU0
GPU Wattage0 W
GPU ArchitectureNone
Video Memory0 GiB
FPGA0
ffmpeg FPS132
CoreMark / sec411,073

Storage

TypeEBS only
Bandwidth10,000 Mbps
Throughput1250 MB/s
IOPS40,000
Base Bandwidth5,000 Mbps
Base Throughput625 MB/s
Base IOPS20,000
Devices0
NVMe DriveNo
SSDNo
Swap PartitionNo

Networking

PerformanceUp to 15 Gigabit
Max ENIs8
IPv6Yes
GPUNone
Placement GroupSupported
TrunkingYes
Branch Interface54
IPs / ENI30
Baseline Bandwidth7.5 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.4xlarge
Full nameR7G Quadruple Extra Large
FamilyMemory optimized
Variantr7g
GenerationCurrent
Bare MetalNo
EMR supportYes
DedicatedSupported
Introduced2023-02-13
Family sizes

r7g.4xlarge

AWS's r7g.4xlarge is a memory-optimized instance with 16 vCPU and 128 GiB. On Rackspace Spot, mh.vs1.2xlarge is an exact match, with 16 vCPU and 128 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 $0.021/hr against $0.494/hr for AWS Spot.

Server comparison caveats
x86 substitution

The AWS r7g.4xlarge is Graviton (arm64). Rackspace Spot does not have arm64 servers, so mh.vs1.2xlarge 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.857$0.494$0.567$0.389$0.431$0.021
$0.426 (50%)
$0.473 (96%)
US Central, Chicagono AWS regionn/an/an/a$0.464$0.021n/an/a
US Central, Dallasno AWS regionn/an/an/a$0.463$0.131n/an/a
Hong Kong$1.136$0.216$0.749$0.510$0.494$0.021
$0.642 (57%)
$0.195 (90%)
Sydney, Australia$1.027$0.383$0.678$0.467$0.491$0.191
$0.536 (52%)
$0.192 (50%)
London, UK$1.006$0.361$0.667$0.455$0.420$0.029
$0.586 (58%)
$0.332 (92%)
US West, San Jose$0.952$0.275$0.630$0.432$0.440$0.002
$0.512 (54%)
$0.273 (99%)
US Central, Dallas 2no AWS regionn/an/an/a$0.440$0.242n/an/a

Prices updated 17 Nov 2026.

When to use it

Good for
  • ●Large JVM heaps and application servers that hold state
  • ●OLAP and business intelligence query engines
  • ●Real-time analytics over hot datasets
  • ●Workloads that fit inside 128 GiB of RAM
  • ●Parallel work that can occupy 16 vCPU
  • ●Network-heavy services (AWS rates this size at Up to 15 Gigabit)
Avoid if
  • ●Starting a new deployment. r8g.4xlarge is the newer generation at this size.
  • ●The working set needs more than 128 GiB of RAM
  • ●You cannot rebuild x86-only binaries or vendor images for aarch64
  • ●The work is single-threaded. Most of these 16 vCPU would sit idle.
  • ●Local NVMe or instance-store disk is a hard requirement
  • ●GPU or FPGA acceleration is needed
r7g.4xlarge is $625/mo on AWS on-demand and $315/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.4xlarge cost?

The AWS r7g.4xlarge costs $0.857/hr on-demand in US East (N. Virginia), about $625/mo running 24/7, or $0.494/hr at the AWS Spot price. On Rackspace Spot, mh.vs1.2xlarge is $0.431/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.4xlarge per month?

At 730 hours a month, r7g.4xlarge in US East (N. Virginia) is $625/mo on AWS on-demand, or $360/mo at the AWS Spot price. The same capacity on Rackspace Spot (mh.vs1.2xlarge) is $315/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.4xlarge?

mh.vs1.2xlarge, at 16 vCPU and 128 GiB, with the same vCPU count and the same memory against r7g.4xlarge. In US East (N. Virginia), Rackspace Spot's on-demand price is about 50% below AWS on-demand and its Spot market price is $0.021/hr against $0.494/hr for AWS Spot. Rackspace Spot classes are region-suffixed, so the exact name differs per row.

Is r7g.4xlarge ARM or x86?

ARM. r7g.4xlarge runs on AWS Graviton3 Processor, so its binaries and container images are aarch64. Rackspace Spot's mh.vs1.2xlarge 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.4xlarge still worth using?

For workloads already running on it, yes: it works and it is priced accordingly. For anything new, r8g.4xlarge is the current answer and measures roughly 16% 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.4xlarge scores 476,013 per second against r7g.4xlarge's 411,073. 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.