Instances›AWS EC2›r7g›r7g.large
Compute
vCPUs2
Memory16 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 ENIs3
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.large

The r7g.large is a memory-optimized AWS EC2 instance: 2 vCPU and 16 GiB of memory, 8.00 GiB per vCPU. In the name, "r" stands for RAM, "7" is the generation, "g" marks AWS Graviton (ARM) processors and "large" 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.large is the direct replacement at this size, scoring 63,583 CoreMark/s against this instance's 49,240 — roughly 29% more throughput for the same vCPU count. Rackspace Spot's mh.vs2.medium is a like-for-like substitute at 2 vCPU and 16 GiB, about 90% below the US East (N. Virginia) on-demand rate.

Match qualityx86 substitution

r7g.large 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.107$0.052$0.071$0.049$0.011
$0.096 savings
US Central, Chicagono AWS region$0.021
US Central, Dallasno AWS region$0.041
Hong Kong$0.142$0.094$0.064$0.002
$0.140 savings
Sydney, Australia$0.128$0.058$0.085$0.058$0.011
$0.117 savings
London, UK$0.126$0.030$0.083$0.057$0.011
$0.115 savings
US West, San Jose$0.119$0.042$0.079$0.054$0.031
$0.088 savings
US Central, Dallas 2no AWS region$0.031
When to use it
Good for
  • ●Database instances that keep the working set in RAM
  • ●Graph and search workloads with large indexes
  • ●In-memory caches such as Redis and Memcached
  • ●Workloads that fit inside 16 GiB of RAM
  • ●Small, steady services that do not need more than 2 vCPU
  • ●Network-heavy services — AWS rates this size at Up to 12.5 Gigabit
Avoid if
  • ●Starting a new deployment. r8g.large is the newer generation at this size.
  • ●The working set needs more than 16 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 — that ratio is fixed for the whole family
r7g.large runs $78/mo on AWS on-demand. The equivalent on Rackspace Spot: $8/mo.
  • 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