r4.xlarge

Memory optimized · r4 series · Intel Xeon E5-2686 v4 (Broadwell)

vCPU
4
Memory
30.5 GiB
Linux / hour
$0.2660
Per month
$194
Per vCPU-hour
$0.0665
Per GiB-hour
$0.00872

Analysis

The r4.xlarge is a memory optimized instance in the r4 series with 4 vCPUs and 30.5 GiB of memory on Intel Xeon E5-2686 v4 (Broadwell) (up to 2.3 GHz), which makes it memory-heavy at 7.62 GiB of memory per vCPU.

Running it in N. Virginia instead of São Paulo saves $215 a month per instance: $0.2660/hour against $0.5600/hour, a 111% spread.

On demand it costs $0.2660/hour in US East (N. Virginia), $194 a month if left running, which puts it mid-table for memory optimized types at the 28th percentile per vCPU ($0.0665 per vCPU-hour) and the 47th percentile per GiB ($0.00872 per GiB-hour).

The newer r5.xlarge on Intel Xeon Platinum 8175 is 5.3% cheaper at $0.2520/hour, which makes the r4.xlarge hard to justify for new deployments.

Looking beyond its own line, 12 of 45 current types with 4 vCPUs and similar memory are cheaper. The cheapest of those is the r6g.xlarge on AWS Graviton2 at $0.2016/hour.

It is size 2 of 6 in the r4 series. Stepping up to the r4.2xlarge gives 8 vCPUs and 61 GiB for $194 more a month. Dropping to the r4.large saves $97.09 a month.

Reserving it for a year with no upfront payment cuts the Linux rate to $0.1680/hour, which beats on demand once it runs more than 63% of the time; three years brings it to $0.1145/hour, 57% below on demand. Windows Server roughly adds 69% to the bill at $0.4500/hour, because the licence is charged per vCPU.

Price by region (USD per hour)

RegionLinuxWindows1-yr RI3-yr RI
N. Virginia us-east-1$0.2660$0.4500$0.1680$0.1145
Ohio us-east-2$0.2660$0.4500$0.1680$0.1145
Oregon us-west-2$0.2660$0.4500$0.1680$0.1145
Canada Central ca-central-1$0.2920$0.4760$0.1848$0.1253
São Paulo sa-east-1$0.5600$0.7440$0.3528$0.2419
Ireland eu-west-1$0.2964$0.4804$0.1869$0.1274
London eu-west-2$0.3120$0.4960$0.1974$0.1339
Frankfurt eu-central-1$0.3201$0.5041$0.2016$0.1382
Mumbai ap-south-1$0.2740$0.4580$0.1722$0.1188
Singapore ap-southeast-1$0.3200$0.5040$0.2016$0.1382
Sydney ap-southeast-2$0.3192$0.5032$0.2016$0.1382
Tokyo ap-northeast-1$0.3200$0.5040$0.2016$0.1382

Shared tenancy, no pre-installed software. Reserved rates are standard, no upfront, per hour. Prices as of 2026-11-04.

Same shape, other types

TypevCPUMemory$/hourvs r4.xlarge
r6g.xlarge
AWS Graviton2 Processor
432 GiB$0.2016-24%
r7g.xlarge
AWS Graviton3 Processor
432 GiB$0.2142-19%
r5a.xlarge
AMD EPYC 7571
432 GiB$0.2260-15%
r6a.xlarge
AMD EPYC 7R13 Processor
432 GiB$0.2268-15%
r6gd.xlarge
AWS Graviton2 Processor
432 GiB$0.2304-13%
r8g.xlarge
AWS Graviton4 Processor
432 GiB$0.2356-11%

Cost calculator

Specs

vCPU4
Memory30.5 GiB (7.6 per vCPU)
ProcessorIntel Xeon E5-2686 v4 (Broadwell)
Clock2.3 GHz
StorageEBS only
NetworkUp to 10 Gigabit

r4 sizes

r4.large2 vCPU$0.1330
r4.xlarge4 vCPU$0.2660
r4.2xlarge8 vCPU$0.5320
r4.4xlarge16 vCPU$1.06
r4.8xlarge32 vCPU$2.13
r4.16xlarge64 vCPU$4.26