r/aws • u/crmpicco • 14h ago
database Managing PostgreSQL major version upgrades for 3,000+ databases per RDS instance with Aurora
I am looking for some guidance on database hosting with AWS.
I currently have 7 RDS instances running PostgreSQL. 3 in US, 3 in EU and 1 in Australia.
Each RDS instance has around 3,000 databases on them, most of them are small.
Since the upgrade cycle for PostgreSQL on RDS is quite aggressive, we are forced to upgrade each RDS on an annual basis. This process is currently quite cumbersome as it requires exporting each database from the old RDS, in turn, and importing it into a brand new PostgreSQL on RDS on the new version. This is clearly prone to error and requires a lot of babysitting.
I am investigating into the benefits of Aurora and in particular if blue/green deployments with Aurora would be a good option.
In-place PostgreSQL major version upgrades on RDS for 3,000 is a non-starter as it takes around 7 hours which is downtime we cannot wear.
Is anyone willing to share the upgrade experiences with PostgreSQL on Aurora for major engine versions?