r4.xlarge by Amazon Web Services

r4.xlarge is a Memory optimized Gen4 xlarge server offered by Amazon Web Services with 4 vCPUs, 31 GiB of memory and 0 GB of storage. The pricing starts at 0.0723 USD per hour.
4 vCPU
31 GiB Memory
Spare SCore
2,079
(All-cores)
879
(Single-core)

Specifications

Server Metadata

Vendor ID
aws
Name
r4.xlarge
Description
Memory optimized Gen4 xlarge
Family
Memory Optimized
Series
r4
Hw Virt
Status
active
Observed At
2026-11-11T22:18:05.957674

Availability

REGION / IDSPOTONDEMAND
Ohio (US) / us-east-2
0.0814 USD/h 0.266 USD/h
Northern Virgina (US) / us-east-1
0.107083 USD/h 0.266 USD/h
Oregon (US) / us-west-2
0.091467 USD/h 0.266 USD/h
Mumbai (IN) / ap-south-1
0.0911 USD/h 0.274 USD/h
Quebec (CA) / ca-central-1
0.1061 USD/h 0.292 USD/h
California (US) / us-west-1
0.09955 USD/h 0.2964 USD/h
Dublin (IE) / eu-west-1
0.111467 USD/h 0.2964 USD/h
London (GB) / eu-west-2
0.135133 USD/h 0.312 USD/h
Paris (FR) / eu-west-3
0.1377 USD/h 0.312 USD/h
Sydney (AU) / ap-southeast-2
0.128933 USD/h 0.3192 USD/h
Osaka (JP) / ap-northeast-3
0.0866 USD/h 0.32 USD/h
Tokyo (JP) / ap-northeast-1
0.107367 USD/h 0.32 USD/h
Seoul (KR) / ap-northeast-2
0.11335 USD/h 0.32 USD/h
Singapore (SG) / ap-southeast-1
0.124133 USD/h 0.32 USD/h
Frankfurt (DE) / eu-central-1
0.146767 USD/h 0.3201 USD/h
Sao Paulo (BR) / sa-east-1
0.0841 USD/h 0.56 USD/h

Processor

vCPUs
4
Hypervisor
xen
CPU Allocation
Dedicated
CPU Cores
2
CPU Speed
2.3 GHz
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU Family
Xeon
CPU Model
E5-2686 v4
CPU L1D Cache
32 KiB
CPU L1D Cache Total
64 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
64 KiB
CPU L2 Cache
256 KiB
CPU L2 Cache Total
512 KiB
CPU L3 Cache
45 MiB
CPU L3 Cache Total
45 MiB
CPU Flags
fpu, vme, de, pse, tsc, msr, pae, mce, cx8, apic, sep, mtrr, pge, mca, cmov, pat, pse36, clflush, mmx, fxsr, sse, sse2, ht, syscall, nx, pdpe1gb, rdtscp, lm, constant_tsc, rep_good, nopl, xtopology, cpuid, aperfmperf, tsc_known_freq, pni, pclmulqdq, ssse3, fma, cx16, pcid, sse4_1, sse4_2, x2apic, movbe, popcnt, tsc_deadline_timer, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, cpuid_fault, pti, fsgsbase, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm, rdseed, adx, xsaveopt
Ecpus
2.4
Scalability
60

System Resources and Accelerators

MEMORY
Memory Amount
31 GiB
Memory Amount Actual
31 GiB
ACCELERATORS
Accelerator Count
0
Accelerator Memory Min
0 MiB
Accelerator Memory Total
0 MiB
Accelerators
    STORAGE
    Storage Size
    0 GB
    Storages
      Compatible Storage IDs
      standard, gp2, gp3, st1, sc1, io1, io2
      NETWORK
      Network Speed Baseline
      1.25 Gbps
      Network Speed Max
      10 Gbps
      Network Storage Speed Baseline
      0.85 Gbps
      Network Storage Speed Max
      0.85 Gbps
      Inbound Traffic
      0 GB/month
      Outbound Traffic
      0 GB/month
      IPv4
      0

      Server Description

      A memory-optimized legacy instance offering high RAM density for memory-bound workloads with modest compute requirements.

      Amazon Web Services r4.xlarge is a memory-optimized, fourth-generation instance designed for workloads requiring a high memory-to-vCPU ratio. Powered by an Intel Xeon E5-2686 v4 processor running at 2.3 GHz on the x86_64 architecture, it provides 4 vCPUs and 30.0 GB of RAM. The instance operates on the Xen hypervisor and does not include local storage, relying instead on network-attached storage with a 1 Gbps baseline network bandwidth. Benchmark data indicates that while its memory subsystem achieves average performance scores, its overall compute and memory bandwidth capabilities are weak to poor compared to modern standards. This makes the r4.xlarge a qualitatively cost-effective option for legacy memory-bound applications, basic database operations, and caching layers that require substantial memory capacity but have modest processing requirements.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.17Score
      Precomputed compound score for Cache Intensive workloads. A weighted average (geometric mean) of benchmark scores compared to their medians: score = ∏ (x_i / m_i)^(w_i / Σw). The score of 1.0 represents a synthetic baseline server with the median performance of each component benchmark; 0.5 means roughly half the performance; and 2.0 means twice the performance of that reference profile. Component weights: 50% Redis RPS (pipeline=1, SET), 20% Redis RPS (pipeline=16, SET), 10% PassMark Memory Mark (composite), 10% Memory bandwidth (read, 16 MB ~ L3), 10% PassMark single-thread CPU. Rationale for component selection: In-memory key-value store workload, mixing direct Redis performance metrics with memory speed and latency benchmarks, and single-core CPU performance profiles.
      Component Score Weight Impact
      Raw Reference Normalized Target Actual
      Redis RPS (pipeline=1, SET) 231,008 ops/sec 1,930,206 ops/sec 0.12 50.00% 50.00% -65.00%
      Redis RPS (pipeline=16, SET) 986,122 ops/sec 11,811,515 ops/sec 0.083 20.00% 20.00% -39.00%
      PassMark Memory Mark (composite) 1,936 2,408 0.79 10.00% 10.00% -2.30%
      Memory bandwidth (read, 16 MB ~ L3) 21,946 MB/sec 108,674 MB/sec 0.2 10.00% 10.00% -15.00%
      PassMark single-thread CPU 1,639 Mops/s 2,365 Mops/s 0.67 10.00% 10.00% -3.90%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 874

      Geekbench Multi-Core

      Score: 1,871

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      3,184
      Compression
      43,710
      Encryption
      935
      Extended Instructions
      2,085
      Floating Point Maths
      5,445
      Integer Maths
      9,506
      Physics
      465
      Prime Numbers
      27
      Single Threaded
      1,639
      String Sorting
      6,336

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      1,936
      Database Operations
      1,222
      Memory Latency
      54
      Memory Read Cached
      19,497
      Memory Read Uncached
      10,170
      Memory Write
      7,198

      Stress-ng Raw Scores

      Stress-ng Relative Multicore Performance

      LLM Inference Speed for Prompt Processing

      LLM Inference Speed for Text Generation

      Static Web Server

      Redis

      Alternatives

      Servers of the Same Family

      INSTANCEvCPUsMEMORYAccelerators
      r6g.medium 18 GiB0
      r6gd.medium 18 GiB0
      r7a.medium 18 GiB0
      r7g.medium 18 GiB0
      r7gd.medium 18 GiB0
      r8a.medium 18 GiB0
      r8g.medium 18 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYAccelerators

      r4.xlarge FAQs