m4vsr4

Size for size, m4 is on average 27% cheaper than r4 on demand in US East (N. Virginia), across 5 shared sizes. Same size and generation, tuned for different work (general, compute or memory).

At a glancem4r4
Sizes here66
From$0.182/hr$0.25/hr
vCPUs2 to 642 to 64
Memory8 to 256 GiB15.25 to 488 GiB
Architecturex86_64x86_64
CategoryGeneral purposeMemory optimized

On-demand prices by size in US East (N. Virginia)

USD per hour for PostgreSQL, Single-AZ. Pick a size to compare the two types.

Sizem4r4r4 vs m4
largedb.m4.large $0.182db.r4.large $0.25▲ 37%
xlargedb.m4.xlarge $0.365db.r4.xlarge $0.5▲ 37%
2xlargedb.m4.2xlarge $0.73db.r4.2xlarge $1.00▲ 37%
4xlargedb.m4.4xlarge $1.461db.r4.4xlarge $2.00▲ 37%
16xlargedb.m4.16xlarge $5.844db.r4.16xlarge $8.00▲ 37%

Key differences

The biggest lead each family has.

Where m4 leads
On-demand priceCheaper in 5 of 5 shared sizes
27% cheaper
Where r4 leads

No clear lead on the measures we compare.

Keep exploring

Each family's own page, and how it compares with others.

r46 sizes
Every size in the r4 family

Compare r4 with

Pay the committed rate, with commitment protection

Connect your cloud accounts to unlock greater savings with commitment protection.

Connect AWS account