- Newest
- Most votes
- Most comments
Yes, when upgrading an Aurora PostgreSQL DB cluster to a new major version, the read replicas (reader instances) are automatically upgraded as part of the process without requiring additional steps from you.
The upgrade process for an Aurora PostgreSQL cluster works as follows:
- The writer instance (primary) is upgraded first using the pg_upgrade utility.
- Once the writer upgrade is complete, each reader instance (read replica) is then automatically upgraded to the new major version.
- During the upgrade of each reader instance, there will be a brief outage for that specific reader.
This automatic upgrade of read replicas ensures that all instances in the Aurora PostgreSQL cluster are running the same version after the upgrade process is complete. The brief outage for each reader is necessary to apply the version changes, but it's designed to minimize overall disruption to your cluster's operations.
It's important to note that while the process is automated, you should still plan for potential impacts on your application, especially during the brief outages of the reader instances. Also, remember to test the upgrade process in a non-production environment before applying it to your production cluster to ensure compatibility and optimal performance with the new version.
Sources
PostgreSQL 11 upgrade strategies for Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL | AWS Database Blog
How to perform a major version upgrade for RDS for PostgreSQL - Amazon Relational Database Service
Relevant content
asked a year ago
