db.m5.xlargevsdb.r5.xlarge.tpc2.mem4x

db.m5.xlarge is 81% cheaper than db.r5.xlarge.tpc2.mem4x on demand in US East (N. Virginia), saving $1,100.84 a month.

At a glancedb.m5.xlargedb.r5.xlarge.tpc2.mem4x
On-demand$0.356/hr81% less$1.864/hr
Lowest rate$0.228/hr79% less1-yr reserved, no upfront$1.078/hr1-yr reserved, no upfront
Size4 vCPUs, 16 GiB4 vCPUs, 128 GiB

Prices in US East (N. Virginia)

“Off” is the discount against each type’s own on-demand price. PostgreSQL, USD per hour.

Optiondb.m5.xlargedb.r5.xlarge.tpc2.mem4xdb.r5.xlarge.tpc2.mem4x vs db.m5.xlarge
On-demandPay by the hour$0.356$1.864▲ 424%
1-yr reservedNo upfront36% off$0.22842% off$1.078▲ 373%

Key differences

The biggest lead each one has.

Where db.m5.xlarge leads
On-demand price$0.356 vs $1.864 per hour
81% cheaper
Where db.r5.xlarge.tpc2.mem4x leads
Memory (GiB)128 vs 16
8× higher

Specs

23 of 25 specs differ. Those are in bold.

Compute8 of 9 differdb.m5.xlargedb.r5.xlarge.tpc2.mem4x
vCPUs44
Physical cores2–
Threads per core2–
Architecture–x86_64
Processor–Intel Xeon Platinum 8175
CPU makerIntel–
Clock speed–Up to 3.1 GHz
Sustained clock3.1 GHz–
BurstableNo–
Memory1 of 1 differdb.m5.xlargedb.r5.xlarge.tpc2.mem4x
Memory (GiB)16128
Networking3 of 3 differdb.m5.xlargedb.r5.xlarge.tpc2.mem4x
Network–Up to 10 Gigabit
Network baseline1.25 Gbps–
Network peak10 Gbps–
Storage6 of 7 differdb.m5.xlargedb.r5.xlarge.tpc2.mem4x
StorageEBS OnlyEBS Only
EBS baseline bandwidth1,150 Mbps–
EBS max bandwidth4,750 Mbps–
EBS baseline throughput143.75 MB/s–
EBS max throughput593.75 MB/s–
EBS baseline IOPS6,000–
EBS max IOPS18,750–
Instance details4 of 4 differdb.m5.xlargedb.r5.xlarge.tpc2.mem4x
Familym5r5
CategoryGeneral purposeMemory optimized
Current generation–Yes
Normalization factor1664
Other1 of 1 differdb.m5.xlargedb.r5.xlarge.tpc2.mem4x
Hardware Basism5.xlarge–

On-demand prices by region

Cheapest for db.m5.xlarge first. PostgreSQL, USD per hour.

Regiondb.m5.xlargedb.r5.xlarge.tpc2.mem4xDifference
US East (N. Virginia)Used in summaryus-east-1$0.356$1.864▲ 424%
US East (Ohio)us-east-2$0.356$1.864▲ 424%
US West (Oregon)us-west-2$0.356$1.864▲ 424%
EU (Stockholm)eu-north-1$0.374$1.959▲ 424%
Canada (Central)ca-central-1$0.392$2.048▲ 422%
EU (Ireland)eu-west-1$0.394$2.062▲ 423%
Europe (Spain)eu-south-2$0.394$2.062▲ 423%
US West (N. California)us-west-1$0.406$2.054▲ 406%
EU (London)eu-west-2$0.412$2.176▲ 428%
EU (Paris)eu-west-3$0.412$2.166▲ 426%
EU (Milan)eu-south-1$0.414$2.165▲ 423%
EU (Frankfurt)eu-central-1$0.424$2.256▲ 432%
AWS GovCloud (US-East)us-gov-east-1$0.43$2.244▲ 422%
AWS GovCloud (US-West)us-gov-west-1$0.43$2.243▲ 422%
Middle East (Bahrain)me-south-1$0.433$2.268▲ 424%
South America (Sao Paulo)sa-east-1$0.466$3.888▲ 734%
Africa (Cape Town)af-south-1$0.469$2.454▲ 423%
Asia Pacific (Jakarta)ap-southeast-3$0.494$2.216▲ 349%
Asia Pacific (Melbourne)ap-southeast-4$0.494$2.211▲ 348%
Asia Pacific (Seoul)ap-northeast-2$0.494$2.216▲ 349%
Asia Pacific (Singapore)ap-southeast-1$0.494$2.216▲ 349%
Asia Pacific (Sydney)ap-southeast-2$0.494$2.211▲ 348%
Asia Pacific (Tokyo)ap-northeast-1$0.494$2.216▲ 349%
Asia Pacific (Mumbai)ap-south-1$0.506$2.104▲ 316%
Asia Pacific (Osaka)ap-northeast-3$0.518$2.216▲ 328%
Asia Pacific (Hong Kong)ap-east-1$0.5434$2.438▲ 349%

Keep exploring

Each type’s own page, and how it compares with others.

Pay the committed rate, with commitment protection

The best committed rate on these two is 36–42% below on-demand. Connect your cloud accounts to unlock greater savings with commitment protection.

Connect AWS account

AWS RDS PostgreSQL prices in USD. Monthly figures use 730 hours. Prices last updated 12 Nov 2026.