Question about upgrading Aurora MySQL cluster - Will I have an outage?

I’m not sure how AWS handles the upgrades for cluster upgrades. Does it update the ‘reader’, failover, then upgrade the other node once it becomes inactive? If so, I’m not worried. However, if it needs to bring them both offline simultaneously I’ll have to adjust the upgrade timeline.

Thanks in advance.


Related discussions:

If you’re referencing Aurora MySQL 5.6 to 5.7, then yes there is downtime if you upgrade the cluster.

That said, I’ve done it with zero-downtime for reads by creating a second Aurora MySQL 5.7 cluster with just a writer instance from a snapshot of the 5.6 cluster, setting up standard binary read replication from the 5.6 to 5.7 cluster, putting my app in read-only mode, stopping the read replication, adding a read replica on the 5.7 cluster, switching the app to communicate with the new cluster, turning off read-only mode on the app, and tearing down the 5.6 cluster.

It’s 5.7, so it should be a minor version upgrade, I believe.

Have they fixed it so the writer going down doesn’t reboot all the readers yet? If not, then you will have an outage.

All nodes are updated at the same time. Depending on what version you’re running, there is a ‘Zero-downtime Patching’ feature which attempts to park existing connections and then reattach them after the update is completed.

More on ZDP here: https://aws.amazon.com/blogs/aws/amazon-aurora-update-spatial-indexing-and-zero-downtime-patching/
More on cluster updating here: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.html

In MySQL, Aurora and Postgres the versioning scheme is different. With a version of x.y.z if y changes that’s a major version upgrade.

Postgres the versioning scheme is different. With a version of x.y.z if y changes that’s a major

Yeah, I think we’re on 5.7.12 with Aurora MySQL. So we need the patch, not the major upgrade. I think I need at least 5.7.22 to use performance insights. Mobile so I don’t have that information available.