m5dn family

The m5dn 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.136 to $6.528 per hour for Linux. It is sold in 9 regions and listed as general purpose.

Sizes and prices in US East (N. Virginia)

TypevCPUsMemory (GiB)On-demand /hrSpot /hr1-yr reserved /hr
m5dn.large28$0.136$0.0396$0.086
m5dn.xlarge416$0.272$0.1219$0.171
m5dn.2xlarge832$0.544$0.2889$0.343
m5dn.4xlarge1664$1.088$0.3836$0.685
m5dn.8xlarge32128$2.176$0.7567$1.371
m5dn.12xlarge48192$3.264$0.9127$2.056
m5dn.16xlarge64256$4.352$0.9749$2.742
m5dn.24xlarge96384$6.528$2.286$4.113
m5dn.metal96384$6.528$1.669$4.113

Compare m5dn

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.