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

Compared with Rackspace Spot

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

Compute

vCPUs1
Memory8 GiB
Mem / vCPU8.00 GiB
ProcessorGraviton3 Processor
Clock speed2.5 GHz
Architecturearm64
GPU0
GPU Wattage0 W
GPU ArchitectureNone
Video Memory0 GiB
FPGA0
ffmpeg FPS10
CoreMark / sec26,471

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 typer7g.medium
Full nameR7G Medium
FamilyMemory optimized
Variantr7g
GenerationCurrent
Bare MetalNo
EMR supportNo
DedicatedSupported
Introduced2023-02-13
Family sizes

r7g.medium

AWS's r7g.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 r7g.medium.

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

Server comparison caveats
x86 substitution

The AWS r7g.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.054$0.030$0.035$0.024$0.053$0.011
$0.001 (1%)
$0.019 (64%)
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.071$0.011$0.047$0.032$0.061$0.002
$0.010 (14%)
$0.009 (81%)
Sydney, Australia$0.064$0.041$0.042$0.029$0.064$0.002
$0.000 (0%)
$0.038 (95%)
London, UK$0.063$0.025$0.042$0.028$0.051$0.002
$0.012 (19%)
$0.024 (92%)
US West, San Jose$0.059$0.027$0.039$0.027$0.060$0.031AWS cheaperAWS cheaper
US Central, Dallas 2no AWS regionn/an/an/a$0.060$0.031n/an/a

Prices updated 17 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 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
  • ●Starting a new deployment. r8g.medium is the newer generation at this size.
  • ●The working set needs more than 8 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
r7g.medium is $39/mo on AWS on-demand and $39/mo on Rackspace Spot on-demand, 1% 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 r7g.medium cost?

The AWS r7g.medium costs $0.054/hr on-demand in US East (N. Virginia), about $39/mo running 24/7, or $0.030/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 r7g.medium per month?

At 730 hours a month, r7g.medium in US East (N. Virginia) is $39/mo on AWS on-demand, or $22/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 r7g.medium?

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

Is r7g.medium ARM or x86?

ARM. r7g.medium runs on AWS Graviton3 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.

Is r7g.medium still worth using?

For workloads already running on it, yes: it works and it is priced accordingly. For anything new, r8g.medium is the current answer and measures roughly 17% 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.medium scores 30,926 per second against r7g.medium's 26,471. 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.