Instances›AWS EC2›r5a›r5a.4xlarge
Compute
vCPUs16
Memory128 GiB
Mem / vCPU8.00 GiB
ProcessorEPYC 7571
Clock speed2.5 GHz
Architecturex86_64
Storage
TypeEBS only
Bandwidth2,880 Mbps
Throughput360 MB/s
IOPS16,000
Networking
PerformanceUp to 10 Gigabit
Max ENIs8
IPv6Yes
GPUNone
Family sizes
r5a.large2 vCPU · 16 GiB
r5a.xlarge4 vCPU · 32 GiB
r5a.2xlarge8 vCPU · 64 GiB
r5a.4xlarge16 vCPU · 128 GiB
r5a.8xlarge32 vCPU · 256 GiB
r5a.12xlarge48 vCPU · 384 GiB
r5a.16xlarge64 vCPU · 512 GiB
r5a.24xlarge96 vCPU · 768 GiB
r5a.4xlarge

The r5a.4xlarge is a memory-optimized AWS EC2 instance: 16 vCPU and 128 GiB of memory, 8.00 GiB per vCPU. In the name, "r" stands for RAM, "5" is the generation, "a" marks AMD processors and "4xlarge" is the size within the r5a family. It runs on AMD EPYC 7571 at 2.5 GHz, and AWS introduced it in November 2018. AWS has since shipped r6a, r7a, r8a and r9g; r6a.4xlarge is the direct replacement at this size, scoring 348,337 CoreMark/s against this instance's 209,919 — roughly 66% more throughput for the same vCPU count. Rackspace Spot's mh.vs1.2xlarge is a like-for-like substitute at 16 vCPU and 128 GiB, $0.904/hr on AWS in US East (N. Virginia), from $0.021/hr on Rackspace Spot.

Pricing by region
1 hr
RegionAWS on-demandAWS Spot1-yr Reserved3-yr ReservedRackspace SpotYou save
US East, N. Virginia$0.904$0.358$0.570$0.391$0.021
$0.883 savings
US Central, Chicagono AWS region$0.021
US Central, Dallasno AWS region$0.131
Hong Kong$0.021
Sydney, Australia$1.088$0.512$0.685$0.470$0.021
$1.067 savings
London, UK$1.064$0.397$0.670$0.460$0.131
$0.933 savings
US West, San Jose$1.008$0.276$0.635$0.435$0.002
$1.006 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 10 Gigabit
Avoid if
  • ●Starting a new deployment. r6a.4xlarge is the newer generation at this size.
  • ●The working set needs more than 128 GiB of RAM
  • ●Local NVMe or instance-store disk is a hard requirement
  • ●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
Stop overpaying AWS. This compute costs $660/mo on AWS vs $15/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