Instances›AWS EC2›r7g›r7g.medium
Compute
vCPUs1
Memory8 GiB
Mem / vCPU8.00 GiB
ProcessorGraviton3 Processor
Clock speed2.5 GHz
Architecturearm64
Storage
TypeEBS only
Bandwidth10,000 Mbps
Throughput1250 MB/s
IOPS40,000
Networking
PerformanceUp to 12.5 Gigabit
Max ENIs2
IPv6Yes
GPUNone
Family sizes
r7g.medium1 vCPU · 8 GiB
r7g.large2 vCPU · 16 GiB
r7g.xlarge4 vCPU · 32 GiB
r7g.2xlarge8 vCPU · 64 GiB
r7g.4xlarge16 vCPU · 128 GiB
r7g.8xlarge32 vCPU · 256 GiB
r7g.12xlarge48 vCPU · 384 GiB
r7g.16xlarge64 vCPU · 512 GiB
r7g.metal64 vCPU · 512 GiB
r7g.medium

The r7g.medium pairs 1 vCPU with 8 GiB of RAM, the 8.00 GiB-per-vCPU ratio that marks a memory-optimized instance. In the name, "r" stands for RAM, "7" is the generation, "g" marks AWS Graviton (ARM) processors and "medium" is the size within the r7g family. It runs on AWS Graviton3 Processor at 2.5 GHz, and AWS introduced it in February 2023. AWS has since shipped r8g and r9g; r8g.medium is the direct replacement at this size, scoring 30,926 CoreMark/s against this instance's 26,471 — roughly 17% more throughput for the same vCPU count. mh.vs2.medium is the closest Spot shape: 2 vCPU and 16 GiB, so 1 more vCPU and 8 GiB more memory, about 79% below the US East (N. Virginia) on-demand rate.

Match qualityx86 substitution

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
RegionAWS on-demandAWS Spot1-yr Reserved3-yr ReservedRackspace SpotYou save
US East, N. Virginia$0.054$0.019$0.035$0.024$0.011
$0.043 savings
US Central, Chicagono AWS region$0.021
US Central, Dallasno AWS region$0.041
Hong Kong$0.071$0.047$0.032$0.002
$0.069 savings
Sydney, Australia$0.064$0.028$0.042$0.029$0.011
$0.053 savings
London, UK$0.063$0.009$0.042$0.028$0.011
$0.052 savings
US West, San Jose$0.059$0.021$0.039$0.027$0.031
$0.028 savings
US Central, Dallas 2no AWS region$0.031
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 — that ratio is fixed for the whole family
  • ●Local NVMe or instance-store disk is a hard requirement
  • ●GPU or FPGA acceleration is needed
Stop overpaying AWS. This compute costs $39/mo on AWS vs $8/mo on Rackspace Spot.
  • 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