m2vsm4

Size for size, m2 is on average 6% cheaper than m4 on demand in US East (N. Virginia), across 3 shared sizes. Same size, one generation apart.

At a glancem2m4
Sizes here36
From$0.345/hr$0.182/hr
vCPUs2 to 82 to 64
Memory17.1 to 68.4 GiB8 to 256 GiB
Architecturex86_64x86_64
CategoryMemory optimizedGeneral purpose

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.

Sizem2m4m4 vs m2
xlargedb.m2.xlarge $0.345db.m4.xlarge $0.365▲ 6%
2xlargedb.m2.2xlarge $0.69db.m4.2xlarge $0.73▲ 6%
4xlargedb.m2.4xlarge $1.39db.m4.4xlarge $1.461▲ 5%

Key differences

The biggest lead each family has.

Where m2 leads
On-demand priceCheaper in 3 of 3 shared sizes
6% cheaper
Where m4 leads
Sizes6 sizes here vs 3
3 more
Largest size64 vCPUs vs 8
Bigger

Keep exploring

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

m23 sizes
Every size in the m2 family

Compare m2 with

Pay the committed rate, with commitment protection

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

Connect AWS account