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

Compared with Rackspace Spot

AWSRackspace Spot
Machiner8g.mediummh.vs2.medium
vCPU12
Memory8 GiB16 GiB
Local diskNoneNone
On-demand / hr$0.065$0.060
Spot / hr$0.017$0.031
Prices in US West, San Jose

Compute

vCPUs1
Memory8 GiB
Mem / vCPU8.00 GiB
ProcessorGraviton4 Processor
Clock speed2.7 GHz
Architecturearm64
GPU0
GPU Wattage0 W
GPU ArchitectureNone
Video Memory0 GiB
FPGA0
ffmpeg FPS12
CoreMark / sec30,926

Storage

TypeEBS only
Bandwidth10,000 Mbps
Throughput1250 MB/s
IOPS40,000
Base Bandwidth315 Mbps
Base Throughput39.375 MB/s
Base IOPS2,500
Devices0
NVMe DriveNo
SSDNo
Swap PartitionNo

Networking

PerformanceUp to 12.5 Gigabit
Max ENIs2
IPv6Yes
GPUNone
Placement GroupSupported
TrunkingYes
Branch Interface4
IPs / ENI4
Baseline Bandwidth0.52 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.medium
Full nameR8G Medium
FamilyMemory optimized
Variantr8g
GenerationCurrent
Bare MetalNo
EMR supportNo
DedicatedSupported
Introduced2024-07-09
Family sizes

r8g.medium

AWS's r8g.medium is a memory-optimized instance with 1 vCPU and 8 GiB. The nearest Rackspace Spot server is mh.vs2.medium at 2 vCPU and 16 GiB, which is 1 more vCPU and 8 GiB more memory than the AWS r8g.medium.

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

Server comparison caveats
x86 substitution

The AWS r8g.medium is Graviton (arm64). Rackspace Spot does not have arm64 servers, so mh.vs2.medium 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.059$0.027$0.039$0.027$0.053$0.011
$0.006 (10%)
$0.016 (59%)
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 Kong$0.078$0.010$0.051$0.035$0.061$0.002
$0.017 (22%)
$0.008 (80%)
Sydney, Australia$0.071$0.043$0.047$0.032$0.064$0.002
$0.007 (9%)
$0.041 (95%)
London, UK$0.069$0.020$0.046$0.031$0.051$0.002
$0.018 (26%)
$0.018 (90%)
US West, San Jose$0.065$0.017$0.043$0.030$0.060$0.031
$0.005 (8%)
AWS cheaper
US Central, Dallas 2no AWS regionn/an/an/a$0.060$0.031n/an/a

Prices updated 18 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 8 GiB of RAM
  • ●Small, steady services that do not need more than 1 vCPU
  • ●Network-heavy services (AWS rates this size at Up to 12.5 Gigabit)
Avoid if
  • ●The working set needs more than 8 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
  • ●Local NVMe or instance-store disk is a hard requirement
r8g.medium is $43/mo on AWS on-demand and $39/mo on Rackspace Spot on-demand, 10% 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 r8g.medium cost?

The AWS r8g.medium costs $0.059/hr on-demand in US East (N. Virginia), about $43/mo running 24/7, or $0.027/hr at the AWS Spot price. On Rackspace Spot, mh.vs2.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 r8g.medium per month?

At 730 hours a month, r8g.medium in US East (N. Virginia) is $43/mo on AWS on-demand, or $20/mo at the AWS Spot price. The same capacity on Rackspace Spot (mh.vs2.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 r8g.medium?

mh.vs2.medium, at 2 vCPU and 16 GiB, with 1 more vCPU and 8 GiB more memory against r8g.medium. In US East (N. Virginia), Rackspace Spot's on-demand price is about 10% below AWS on-demand and its Spot market price is about 59% below AWS Spot. Rackspace Spot classes are region-suffixed, so the exact name differs per row.

Is r8g.medium ARM or x86?

ARM. r8g.medium runs on AWS Graviton4 Processor, so its binaries and container images are aarch64. Rackspace Spot's mh.vs2.medium 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.medium?

Rackspace Spot mh.vs2.medium (2 vCPU, 16 GiB) is $39/mo on-demand or $8/mo at the Spot price, against $43/mo on-demand or $20/mo at the Spot price for r8g.medium 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.