R4 Memory Optimized
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.Alternatives to r4
| Option | Price vs r4 | Why look at it |
|---|---|---|
| r5Compare → | -5%-$0.014/hr xlarge, Linux on-demand, us-east-1 | Newer generation, 32 GiB RAM instead of 30.5, same vCPU |
| r6iCompare → | -5%-$0.014/hr xlarge, Linux on-demand, us-east-1 | Newer generation, 32 GiB RAM instead of 30.5, same vCPU |
| r7iCompare → | -1%-$0.0014/hr xlarge, Linux on-demand, us-east-1 | Newer generation, 32 GiB RAM instead of 30.5, same vCPU |
| r7gCompare → | -19%-$0.0518/hr xlarge, Linux on-demand, us-east-1 | Graviton (arm64), newer generation, 32 GiB RAM instead of 30.5, same vCPU |
Common use cases
- In-memory databases
- Real-time big data analytics
- High-performance caching
Head-to-Head Architecture Comparisons
View all comparisons →Instance types (6)
| Instance | vCPU | Memory | Architecture | From (Linux, $/hr) |
|---|---|---|---|---|
| r4.large | 2 | 15 GB | x86_64 | $0.1330 |
| r4.xlarge | 4 | 31 GB | x86_64 | $0.2660 |
| r4.2xlarge | 8 | 61 GB | x86_64 | $0.5320 |
| r4.4xlarge | 16 | 122 GB | x86_64 | $1.0640 |
| r4.8xlarge | 32 | 244 GB | x86_64 | $2.1280 |
| r4.16xlarge | 64 | 488 GB | x86_64 | $4.2560 |