menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Databases

>

Perform mi...
source image

Amazon

1M

read

215

img
dot

Image Credit: Amazon

Perform minor/major version upgrades for Amazon Aurora MySQL Global Database with minimum downtime

  • Amazon Aurora Global Database allows for globally distributed applications with replication for performance and disaster recovery. Upgrading Aurora MySQL Global Database may involve removing secondary Regions, upgrading the primary Region, and recreating secondary Regions.
  • The blue/green deployment approach involves creating a mirror (green) environment for upgrades while the original (blue) environment runs production. Data changes from blue are replicated to green. Major upgrades require thorough testing before switchover.
  • Steps include fast cloning for green environment setup, in-place version upgrades, binary log replication between blue and green clusters, and environment adjustments. Rollback capability via reverse replication can be implemented with caution.
  • Prerequisites include verifying upgrade paths, disabling Auto Minor Version Upgrade, enabling binary logging, setting binlog format, and adjusting binary log retention period.
  • After setting up replication, database cache prewarming, post-switchover testing, and health checks are recommended. The switchover process involves stopping write traffic in blue, halting replication, and reconfiguring applications to green.
  • Backup considerations, cleanup steps, and detailed testing post-switchover are crucial. Remember to monitor replication status and lag before performing the blue/green switchover for minimal downtime during upgrades.

Read Full Article

like

12 Likes

For uninterrupted reading, download the app