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

Compared with Rackspace Spot

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

Compute

vCPUs16
Memory128 GiB
Mem / vCPU8.00 GiB
ProcessorGraviton4 Processor
Clock speed2.7 GHz
Architecturearm64
GPU0
GPU Wattage0 W
GPU ArchitectureNone
Video Memory0 GiB
FPGA0
ffmpeg FPS157
CoreMark / sec476,013

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 typer8g.4xlarge
Full nameR8G Quadruple Extra Large
FamilyMemory optimized
Variantr8g
GenerationCurrent
Bare MetalNo
EMR supportYes
DedicatedSupported
Introduced2024-07-09
Family sizes

r8g.4xlarge

r8g.4xlarge is AWS's memory-optimized EC2 size at 16 vCPU and 128 GiB. The matching Rackspace Spot server is mh.vs1.2xlarge, which is also 16 vCPU and 128 GiB.

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

Server comparison caveats
x86 substitution

The AWS r8g.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.943$0.421$0.624$0.428$0.431$0.021
$0.512 (54%)
$0.400 (95%)
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.250$0.200$0.824$0.561$0.494$0.021
$0.756 (60%)
$0.179 (89%)
Sydney, Australia$1.130$0.355$0.746$0.513$0.491$0.191
$0.639 (57%)
$0.164 (46%)
London, UK$1.107$0.326$0.734$0.500$0.420$0.029
$0.687 (62%)
$0.297 (91%)
US West, San Jose$1.047$0.322$0.693$0.475$0.440$0.002
$0.607 (58%)
$0.320 (99%)
US Central, Dallas 2no AWS regionn/an/an/a$0.440$0.242n/an/a

Prices updated 18 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 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
  • ●The working set needs more than 128 GiB of RAM
  • ●You cannot rebuild x86-only binaries or vendor images for aarch64
  • ●Local NVMe or instance-store disk is a hard requirement
  • ●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
r8g.4xlarge is $688/mo on AWS on-demand and $315/mo on Rackspace Spot on-demand, 54% 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 r8g.4xlarge cost?

The AWS r8g.4xlarge costs $0.943/hr on-demand in US East (N. Virginia), about $688/mo running 24/7, or $0.421/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 r8g.4xlarge per month?

At 730 hours a month, r8g.4xlarge in US East (N. Virginia) is $688/mo on AWS on-demand, or $307/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 r8g.4xlarge?

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

Is r8g.4xlarge ARM or x86?

ARM. r8g.4xlarge runs on AWS Graviton4 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.

What is the difference between r8g and r9g?

r9g is the newer generation. It runs on AWS Graviton5 Processor against r8g's AWS Graviton4 Processor. 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.

What is a cheaper alternative to r8g.4xlarge?

Rackspace Spot mh.vs1.2xlarge (16 vCPU, 128 GiB) is $315/mo on-demand or $15/mo at the Spot price, against $688/mo on-demand or $307/mo at the Spot price for r8g.4xlarge on AWS in US East (N. Virginia). The trade is real: Rackspace Spot capacity is priced by demand and can be reclaimed when demand rises, and workloads have to be containerized.