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

Compared with Rackspace Spot

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

Compute

vCPUs4
Memory32 GiB
Mem / vCPU8.00 GiB
ProcessorGraviton4 Processor
Clock speed2.7 GHz
Architecturearm64
GPU0
GPU Wattage0 W
GPU ArchitectureNone
Video Memory0 GiB
FPGA0
ffmpeg FPS46
CoreMark / sec122,100

Storage

TypeEBS only
Bandwidth10,000 Mbps
Throughput1250 MB/s
IOPS40,000
Base Bandwidth1,250 Mbps
Base Throughput156.25 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.875 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.xlarge
Full nameR8G Extra Large
FamilyMemory optimized
Variantr8g
GenerationCurrent
Bare MetalNo
EMR supportYes
DedicatedSupported
Introduced2024-07-09
Family sizes

r8g.xlarge

r8g.xlarge is AWS's memory-optimized EC2 size at 4 vCPU and 32 GiB. The matching Rackspace Spot server is mh.vs2.large, which is also 4 vCPU and 32 GiB.

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

Server comparison caveats
x86 substitution

The AWS r8g.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.236$0.121$0.156$0.107$0.107$0.021
$0.129 (55%)
$0.100 (83%)
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.312$0.091$0.206$0.140$0.132$0.006
$0.180 (58%)
$0.085 (93%)
Sydney, Australia$0.282$0.101$0.187$0.128$0.121$0.006
$0.161 (57%)
$0.095 (94%)
London, UK$0.277$0.094$0.183$0.125$0.107$0.006
$0.170 (61%)
$0.088 (94%)
US West, San Jose$0.262$0.084$0.173$0.119$0.110$0.061
$0.152 (58%)
$0.023 (28%)
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
  • ●OLAP and business intelligence query engines
  • ●Real-time analytics over hot datasets
  • ●Database instances that keep the working set in RAM
  • ●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
  • ●The working set needs more than 32 GiB of RAM
  • ●You cannot rebuild x86-only binaries or vendor images for aarch64
  • ●More than 8.00 GiB of RAM per vCPU is needed, since that ratio is fixed for the whole family
  • ●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.
r8g.xlarge is $172/mo on AWS on-demand and $78/mo on Rackspace Spot on-demand, 55% 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.xlarge cost?

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

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

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

Is r8g.xlarge ARM or x86?

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

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.xlarge?

Rackspace Spot mh.vs2.large (4 vCPU, 32 GiB) is $78/mo on-demand or $15/mo at the Spot price, against $172/mo on-demand or $89/mo at the Spot price for r8g.xlarge 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.