m2vsm4

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

At a glancem2m4
Sizes here36
From$0.245/hr$0.1/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 Linux. Pick a size to compare the two types.

Sizem2m4m4 vs m2
xlargem2.xlarge $0.245m4.xlarge $0.2▼ 18%
2xlargem2.2xlarge $0.49m4.2xlarge $0.4▼ 18%
4xlargem2.4xlarge $0.98m4.4xlarge $0.8▼ 18%

Key differences

The biggest lead each family has.

Where m2 leads
Spot priceLower in 2 of 3 shared sizes
Cheaper spot
Where m4 leads
On-demand priceCheaper in 3 of 3 shared sizes
18% cheaper
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.

Pay the committed rate, with commitment protection

A 1-year reservation on these families is 38–55% below on-demand here. Connect your cloud accounts to unlock greater savings with commitment protection.

Connect AWS account