m5 family

The m5 family has 9 sizes on AWS EC2, from 2 to 96 vCPUs and 8 to 384 GiB of memory. In US East (N. Virginia), on-demand prices run $0.096 to $4.608 per hour for Linux. It is sold in 31 regions and listed as general purpose.

Sizes and prices in US East (N. Virginia)

TypevCPUsMemory (GiB)On-demand /hrSpot /hr1-yr reserved /hr
m5.large28$0.096$0.0374$0.06
m5.xlarge416$0.192$0.0391$0.121
m5.2xlarge832$0.384$0.129$0.242
m5.4xlarge1664$0.768$0.16$0.484
m5.8xlarge32128$1.536$0.3853$0.968
m5.12xlarge48192$2.304$0.4515$1.452
m5.16xlarge64256$3.072$0.5537$1.935
m5.24xlarge96384$4.608$0.8559$2.903
m5.metal96384$4.608$0.9496$2.903

Compare m5

Same generation

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.