Instances›AWS EC2›r7g›r7g.4xlarge
Compute
vCPUs16
Memory128 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 15 Gigabit
Max ENIs8
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.4xlarge

The r7g.4xlarge pairs 16 vCPU with 128 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 "4xlarge" 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.4xlarge is the direct replacement at this size, scoring 476,013 CoreMark/s against this instance's 411,073 — roughly 16% more throughput for the same vCPU count. mh.vs1.2xlarge on Rackspace Spot lines up one-for-one: 16 vCPU and 128 GiB, $0.857/hr on AWS in US East (N. Virginia), from $0.021/hr on Rackspace Spot.

Match qualityx86 substitution

r7g.4xlarge is Graviton (arm64). Rackspace Spot does not have arm64 servers, so mh.vs1.2xlarge 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.857$0.286$0.567$0.389$0.021
$0.836 savings
US Central, Chicagono AWS region$0.021
US Central, Dallasno AWS region$0.131
Hong Kong$1.136$0.749$0.510$0.021
$1.115 savings
Sydney, Australia$1.027$0.333$0.678$0.467$0.021
$1.006 savings
London, UK$1.006$0.168$0.667$0.455$0.131
$0.875 savings
US West, San Jose$0.952$0.291$0.630$0.432$0.002
$0.950 savings
US Central, Dallas 2no AWS region$0.242
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 128 GiB of RAM
  • ●Parallel work that can occupy 16 vCPU
  • ●Network-heavy services — AWS rates this size at Up to 15 Gigabit
Avoid if
  • ●Starting a new deployment. r8g.4xlarge is the newer generation at this size.
  • ●The working set needs more than 128 GiB of RAM
  • ●You cannot rebuild x86-only binaries or vendor images for aarch64
  • ●The work is single-threaded. Most of these 16 vCPU would sit idle.
  • ●Local NVMe or instance-store disk is a hard requirement
  • ●GPU or FPGA acceleration is needed
r7g.4xlarge runs $625/mo on AWS on-demand. The equivalent on Rackspace Spot: $15/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