db.m5.2xlarge

db.m5.2xlarge is an AWS RDS size with 8 vCPUs, 32 GiB memory. In US East (N. Virginia) it costs $0.712 per hour on demand ($519.76 per month) for PostgreSQL, Single-AZ; a 1-year reserved instance with no upfront costs $0.456 per hour, 36% less. It is sold in 30 regions.

Prices by region

USD per hour, PostgreSQL, Single-AZ. Reserved prices are no upfront, standard. Cheapest on-demand first.

RegionOn-demand1-yr reserved
US East (N. Virginia) us-east-1$0.712$0.456
US East (Ohio) us-east-2$0.712$0.456
US West (Oregon) us-west-2$0.712$0.456
EU (Stockholm) eu-north-1$0.749$0.5184
Canada (Central) ca-central-1$0.784$0.4939
Europe (Spain) eu-south-2$0.788$0.6068
EU (Ireland) eu-west-1$0.788$0.5544
US West (N. California) us-west-1$0.812$0.6053
EU (London) eu-west-2$0.824$0.5797
EU (Paris) eu-west-3$0.824$0.571
EU (Milan) eu-south-1$0.827$0.5818
Israel (Tel Aviv) il-central-1$0.827$0.6367
EU (Frankfurt) eu-central-1$0.848$0.6055
AWS GovCloud (US-East) us-gov-east-1$0.85$0.5615
AWS GovCloud (US-West) us-gov-west-1$0.85$0.5615
Middle East (Bahrain) me-south-1$0.867$0.6098
Middle East (UAE) me-central-1$0.868$0.625
South America (Sao Paulo) sa-east-1$0.932$0.5621
Europe (Zurich) eu-central-2$0.933$0.7183
Africa (Cape Town) af-south-1$0.938$0.6599
Asia Pacific (Tokyo) ap-northeast-1$0.988$0.6847
Asia Pacific (Seoul) ap-northeast-2$0.988$0.6121
Asia Pacific (Singapore) ap-southeast-1$0.988$0.6432
Asia Pacific (Sydney) ap-southeast-2$0.988$0.6847
Asia Pacific (Jakarta) ap-southeast-3$0.988$0.6432
Asia Pacific (Melbourne) ap-southeast-4$0.988–
Asia Pacific (Mumbai) ap-south-1$1.012$0.6482
Asia Pacific (Hyderabad) ap-south-2$1.012$0.7792
Asia Pacific (Osaka) ap-northeast-3$1.037$0.7187
Asia Pacific (Hong Kong) ap-east-1$1.087$0.7075

Prices by engine and deployment in US East (N. Virginia)

OptionOn-demand /hr1-yr reserved /hr3-yr reserved /hr
PostgreSQL · Single-AZ$0.712$0.456–
PostgreSQL · Multi-AZ$1.424$0.9121–
MariaDB · Single-AZ$0.684$0.4381–
MySQL · Single-AZ$0.684$0.4381–
Oracle Enterprise BYOL · Single-AZ$0.684$0.4227–
Oracle Standard Two BYOL · Single-AZ$0.684$0.4227–
Oracle Enterprise BYOL BYOM Custom · Single-AZ$0.821––
SQL Server Web · Single-AZ$1.102$0.832–
SQL Server Developer BYOM Custom · Single-AZ$1.20––
SQL Server Enterprise BYOM Custom · Single-AZ$1.20––
SQL Server Standard BYOM Custom · Single-AZ$1.20––
MariaDB · Multi-AZ$1.368$0.8762–
MySQL · Multi-AZ$1.368$0.8762–
Oracle Enterprise BYOL · Multi-AZ$1.368$0.8453–
Oracle Standard Two BYOL · Multi-AZ$1.368$0.8453–
SQL Server Web Custom · Single-AZ$1.445$1.344–
Oracle Enterprise BYOL BYOM Custom · Multi-AZ$1.642––
Oracle Standard Two · Single-AZ$1.752$1.104–
SQL Server Web · Multi-AZ$2.069––
SQL Server Developer BYOM Custom · Multi-AZ$2.40––
SQL Server Enterprise BYOM Custom · Multi-AZ$2.40––
SQL Server Standard BYOM Custom · Multi-AZ$2.40––
SQL Server Standard · Single-AZ$2.548$2.08–
SQL Server Standard Custom · Single-AZ$2.869$2.668–
SQL Server Web Custom · Multi-AZ$2.89––
Oracle Standard Two · Multi-AZ$3.504$2.208–
SQL Server Enterprise · Single-AZ$4.672$4.484–
SQL Server Standard · Multi-AZ$5.096$4.16–
SQL Server Standard Custom · Multi-AZ$5.738––
SQL Server Enterprise Custom · Single-AZ$6.157$5.726–
SQL Server Enterprise · Multi-AZ$6.657$6.457–
SQL Server Enterprise Custom · Multi-AZ$8.773––

Specs

ComputeValue
vCPUs8
Physical cores4
Threads per core2
CPU makerIntel
Sustained clock3.1 GHz
BurstableNo
MemoryValue
Memory (GiB)32
NetworkingValue
Network baseline2.5 Gbps
Network peak10 Gbps
StorageValue
EBS baseline bandwidth2,300 Mbps
EBS max bandwidth4,750 Mbps
EBS baseline throughput287.5 MB/s
EBS max throughput593.75 MB/s
EBS baseline IOPS12,000
EBS max IOPS18,750
Instance detailsValue
Instance typedb.m5.2xlarge
Familym5
OtherValue
Hardware Basism5.2xlarge

Compare db.m5.2xlarge

With or without local disk and networking

Compute and memory optimized

Burstable

Other generations

Other m5 sizes

SizevCPUsMemory (GiB)On-demand /hr
db.m5.large28$0.178
db.m5.xlarge416$0.356
db.m5.2xlarge832$0.712
db.m5.4xlarge1664$1.424
db.m5.8xlarge32128$2.848
db.m5.12xlarge48192$4.272
db.m5.16xlarge64256$5.696
db.m5.24xlarge96384$8.544

Prices updated 2026-11-12 from AWS public price lists. Compare all AWS RDS sizes.