AWS Amazon EC2
r4.xlarge
Part of the R4 Memory Optimized family — High memory-to-vCPU ratio for memory-intensive applications.
Name:
rMemory Optimizedr = Memory OptimizedHigh memory-to-vCPU ratio designed for memory-intensive applications such as databases, distributed caches, and in-memory analytics.44th Generation4 = 4th GenerationAWS 4th generation hardware platform with updated CPU/system architecture.xlargeExtra Large (1x)xlarge = Extra Large (1x)4 vCPUs • 31 GB RAM • EBS only • Up to 10 Gbps NetworkOn-demand, Linux
$0.2660/ hr
~$194.18/mo · lowest in US East (N. Virginia), us-east-1Savings Plan, Linux
$0.1317/ hr
From, with a 3-year Compute Savings Plan, No Upfront: −50% vs on-demand rate (us-east-1)Per unit
$0.0665/ vCPU-hr
$0.0087/GB-hrCompute
4vCPUs
2 cores • x86_64Memory
31GB
7.6 GB / vCPUNetwork
Up to 10 Gbps
Baseline: 1.25 GbpsStorage & EBS
106.25MB/s
Max: 6,000 IOPSAlternatives to r4.xlarge
| Option | Price vs r4.xlarge | Why look at it |
|---|---|---|
| r5.xlargeCompare → | -5%-$0.014/hr Linux on-demand, us-east-1 | Newer generation, 32 GiB RAM instead of 30.5, same vCPU |
| r6i.xlargeCompare → | -5%-$0.014/hr Linux on-demand, us-east-1 | Newer generation, 32 GiB RAM instead of 30.5, same vCPU |
| r7i.xlargeCompare → | -1%-$0.0014/hr Linux on-demand, us-east-1 | Newer generation, 32 GiB RAM instead of 30.5, same vCPU |
| r7g.xlargeCompare → | -19%-$0.0518/hr Linux on-demand, us-east-1 | Graviton (arm64), newer generation, 32 GiB RAM instead of 30.5, same vCPU |
On Google Cloud
The nearest Google Cloud machines to r4.xlarge by vCPU and memory, at On-demand Linux rates in Northern Virginia (us-east-1 ↔ us-east4).
| Machine | Size | On-demand Linux | vs r4.xlarge |
|---|---|---|---|
| r4.xlargeThis page · AWS, us-east-1 | 4 vCPU · 30.5 GiB | $0.2660/hr | — |
| c4-highmem-44 vCPU and 31 GiB for 4 vCPU and 30.5 GiB, the nearest size up; Intel on both | 4 vCPU · 31 GiB | $0.260678/hr | 2.0% less |
| c4-highmem-4-lssd4 vCPU and 31 GiB for 4 vCPU and 30.5 GiB, the nearest size up; Intel on both; local disk on c4-highmem-4-lssd only | 4 vCPU · 31 GiB | $0.34287/hr | 29% more |
| n4-highmem-44 vCPU and 32 GiB for 4 vCPU and 30.5 GiB, the nearest size up; Intel on both | 4 vCPU · 32 GiB | $0.23804/hr | 11% less |
Matched on vCPU and memory, then CPU vendor, then rate; a larger size is offered only when nothing is the same size. On-demand Linux only: Spot and commitments work differently on the two clouds, so they aren't compared here.
Technical Specifications & Limits
Hardware specs, container thresholds, and system limitsCompute & Processor
ProcessorIntel Xeon E5-2686 v4 (Broadwell)
Architecturex86_64 (x86_64)
vCPUs / Threads4 vCPUs
Physical Cores2
Clock Speed2.3 GHz
Intel AVX / AVX2AVX & AVX2 Supported
Intel Turbo BoostYes
Bare MetalNo (Virtualized)
Performance & Benchmarks
CoreMark Score54,705
CoreMark / vCPU13,676.1 / core
FFmpeg Transcoding20 FPS
CoreMark per Dollar205,658 score / $
Cost per vCPU-hr$0.0665
Cost per GB-hr$0.0087
Containers & Kubernetes
EKS Max Pods58 pods
Max ENIs4
IPv4/v6 per ENI15
Total Addressable IPs60 total IPs
CNI Prefix DelegationStandard CNI
Networking & Bandwidth
Network PerformanceUp to 10 Gbps
Baseline Bandwidth1.25 Gbps
Burst / Peak Bandwidth10 Gbps
Enhanced NetworkingYes
EFA SupportNo
IPv6 SupportNative Dual-Stack Supported
Storage & EBS Optimization
Storage ConfigurationEBS only
Local NVMe DiskNone (EBS only)
EBS Baseline Throughput106.25 MB/s
EBS Max Throughput106.25 MB/s
EBS Baseline IOPS6,000
EBS Max / Burst IOPS6,000
Dedicated EBS Throughput800 Mbps
Platform & Architecture Details
Hypervisor / SystemXen Hypervisor
Nitro EnclavesNot Supported
Normalization Factor8
Generation StatusCurrent Generation (Recommended)
Rates by region
Live on-demand rates across all global AWS cloud regionsLowest Price Region
$0.2660/ hr
US East (N. Virginia) (us-east-1)Highest Price Region
$0.5600/ hr
South America (Sao Paulo) (sa-east-1)Global Fleet Average
$0.3164/ hr
Across all active regionsRegional Coverage
17regions
Available worldwide| Region | On-Demand Price | % vs On-Demand Rate |
|---|---|---|
ap-south-1 Asia Pacific (Mumbai) | $0.2740 | |
ap-northeast-3 Asia Pacific (Osaka) | $0.3200 | |
ap-northeast-2 Asia Pacific (Seoul) | $0.3200 | |
ap-southeast-1 Asia Pacific (Singapore) | $0.3200 | |
ap-southeast-2 Asia Pacific (Sydney) | $0.3192 | |
ap-northeast-1 Asia Pacific (Tokyo) | $0.3200 | |
us-gov-west-1 AWS GovCloud (US-West) | $0.3192 | |
ca-central-1 Canada (Central) | $0.2920 | |
eu-central-1 EU (Frankfurt) | $0.3201 | |
eu-west-1 EU (Ireland) | $0.2964 | |
eu-west-2 EU (London) | $0.3120 | |
eu-west-3 EU (Paris) | $0.3120 | |
sa-east-1 HighestSouth America (Sao Paulo) | $0.5600 | |
us-east-1 LowestUS East (N. Virginia) | $0.2660 | |
us-east-2 LowestUS East (Ohio) | $0.2660 | |
us-west-1 US West (N. California) | $0.2964 | |
us-west-2 LowestUS West (Oregon) | $0.2660 |
| Region | On-Demand Price | % vs On-Demand Rate |
|---|---|---|
ap-south-1 Asia Pacific (Mumbai) | $0.4580 | |
ap-northeast-3 Asia Pacific (Osaka) | $0.5040 | |
ap-northeast-2 Asia Pacific (Seoul) | $0.5040 | |
ap-southeast-1 Asia Pacific (Singapore) | $0.5040 | |
ap-southeast-2 Asia Pacific (Sydney) | $0.5032 | |
ap-northeast-1 Asia Pacific (Tokyo) | $0.5040 | |
us-gov-west-1 AWS GovCloud (US-West) | $0.5032 | |
ca-central-1 Canada (Central) | $0.4760 | |
eu-central-1 EU (Frankfurt) | $0.5041 | |
eu-west-1 EU (Ireland) | $0.4804 | |
eu-west-2 EU (London) | $0.4960 | |
eu-west-3 EU (Paris) | $0.4960 | |
sa-east-1 HighestSouth America (Sao Paulo) | $0.7440 | |
us-east-1 LowestUS East (N. Virginia) | $0.4500 | |
us-east-2 LowestUS East (Ohio) | $0.4500 | |
us-west-1 US West (N. California) | $0.4804 | |
us-west-2 LowestUS West (Oregon) | $0.4500 |
No regions matched your search filter.