m5a family

The m5a family has 8 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.086 to $4.128 per hour for Linux. It is sold in 18 regions and listed as general purpose.

Sizes and prices in US East (N. Virginia)

TypevCPUsMemory (GiB)On-demand /hrSpot /hr1-yr reserved /hr
m5a.large28$0.086$0.0317$0.054
m5a.xlarge416$0.172$0.0672$0.108
m5a.2xlarge832$0.344$0.0907$0.217
m5a.4xlarge1664$0.688$0.2446$0.433
m5a.8xlarge32128$1.376$0.4996$0.867
m5a.12xlarge48192$2.064$0.5891$1.30
m5a.16xlarge64256$2.752$0.6116$1.734
m5a.24xlarge96384$4.128$1.04$2.601

Compare m5a

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.