Instances›AWS EC2›r5n›r5n.2xlarge
Compute
vCPUs8
Memory64 GiB
Mem / vCPU8.00 GiB
ProcessorXeon Platinum 8259
Clock speed2.5 GHz
Architecturex86_64
Storage
TypeEBS only
Bandwidth4,750 Mbps
Throughput593.75 MB/s
IOPS18,750
Networking
PerformanceUp to 25 Gigabit
Max ENIs4
IPv6Yes
GPUNone
Family sizes
r5n.large2 vCPU · 16 GiB
r5n.xlarge4 vCPU · 32 GiB
r5n.2xlarge8 vCPU · 64 GiB
r5n.4xlarge16 vCPU · 128 GiB
r5n.8xlarge32 vCPU · 256 GiB
r5n.12xlarge48 vCPU · 384 GiB
r5n.16xlarge64 vCPU · 512 GiB
r5n.24xlarge96 vCPU · 768 GiB
r5n.metal96 vCPU · 768 GiB
r5n.2xlarge

r5n.2xlarge is AWS's memory-optimized EC2 size at 8 vCPU and 64 GiB. In the name, "r" stands for RAM, "5" is the generation, "n" marks enhanced networking and "2xlarge" is the size within the r5n family. It runs on Intel Xeon Platinum 8259 (Cascade Lake) at 2.5 GHz, and AWS introduced it in October 2019. AWS has since shipped r6i, r7i, r8i and r9g; r6i.2xlarge is the direct replacement at this size, scoring 136,694 CoreMark/s against this instance's 122,907 — roughly 11% more throughput for the same vCPU count. On Rackspace Spot the same shape is mh.vs1.xlarge — 8 vCPU, 64 GiB, matched on both dimensions, about 95% below the US East (N. Virginia) on-demand rate.

Pricing by region
1 hr
RegionAWS on-demandAWS Spot1-yr Reserved3-yr ReservedRackspace SpotYou save
US East, N. Virginia$0.596$0.228$0.375$0.241$0.031
$0.565 savings
US Central, Chicagono AWS region$0.011
US Central, Dallasno AWS region$0.081
Hong Kong$0.808$0.508$0.326$0.011
$0.797 savings
Sydney, Australia$0.724$0.259$0.456$0.293$0.131
$0.593 savings
London, UK$0.700$0.234$0.443$0.296$0.041
$0.659 savings
US West, San Jose$0.676$0.185$0.427$0.276$0.001
$0.675 savings
US Central, Dallas 2no AWS region$0.121
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 64 GiB of RAM
  • ●Parallel work that can occupy 8 vCPU
  • ●Network-heavy services — AWS rates this size at Up to 25 Gigabit
Avoid if
  • ●Starting a new deployment. r6i.2xlarge is the newer generation at this size.
  • ●The working set needs more than 64 GiB of RAM
  • ●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
  • ●Local NVMe or instance-store disk is a hard requirement
r5n.2xlarge runs $435/mo on AWS on-demand. The equivalent on Rackspace Spot: $23/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