m4 family

The m4 family has 6 sizes on AWS EC2, from 2 to 64 vCPUs and 8 to 256 GiB of memory. In US East (N. Virginia), on-demand prices run $0.1 to $3.20 per hour for Linux. It is sold in 16 regions and listed as general purpose.

Sizes and prices in US East (N. Virginia)

TypevCPUsMemory (GiB)On-demand /hrSpot /hr1-yr reserved /hr
m4.large28$0.1$0.0299$0.062
m4.xlarge416$0.2$0.0681$0.1239
m4.2xlarge832$0.4$0.1561$0.2478
m4.4xlarge1664$0.8$0.1749$0.4956
m4.10xlarge40160$2.00$0.4502$1.239
m4.16xlarge64256$3.20$0.6699$1.982

Compare m4

Categories

Regions

Prices in USD per hour for Linux; reserved prices are 1 year, no upfront. Updated 2026-11-12 from AWS public price lists. Compare all AWS EC2 instance types.