I'm using AWS-RDS(Aurora MySQL5.6) and It's a cluster, it has one writer instance and one reader instance. I find each instance would be down for nearly 10 minutes when I change its type, it's unacceptable, what should I do to avoid downtime?
Here are more details information:
You can apply the change immediately or during the maintenance window specified for the instance. Storage and instance type are decoupled. Also, modifying your storage doesn't incur any downtime.
In most cases, scaling storage doesn't require any outage and doesn't degrade performance of the server. After you modify the storage IOPS for a DB instance, the status of the DB instance is storage-optimization. Storage optimization can take several hours.
The instance upgrade on the slave usually takes around 10 to 20 minutes, but there is no downtime in this setup.
Instead of changing the type of the current writer instance, add a new writer with the desired instance type:
This way you will have nearly no downtime.
If you want to change the type of a reader instance:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With