- Newest
- Most votes
- Most comments
Hello.
Assuming you are using an Amazon Aurora Global Database, you generally do not need to rebuild the entire Region or the Global Database itself to transition from 2 Availability Zones (AZs) to 3 AZs.
Alternatively, a phased migration is also possible, where the eu-central-1 (standby) region is updated to a 3-AZ configuration first, followed by the eu-west-2 (active) region.
As there is no mention of limitations—such as those related to KMS in the documentation, you can expand your Availability Zones (AZs) without experiencing any downtime, provided that the resources are in a state that allows them to be used in both regions, as indicated in the AI-generated response from the re:Post Agent.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.Availability
Shifting from a 2-AZ to 3-AZ deployment is a significant architectural change that requires careful planning. Here are the key considerations and challenges:
Regional Impact: Expanding from 2 AZs to 3 AZs does not require repaving the entire region for your account. Availability Zones are independent infrastructure boundaries within a region, and you can incrementally add resources to additional AZs without affecting existing deployments in other AZs. This isolation is a core design principle that allows you to contain potential issues and provides fault isolation.
Mixed AZ Configuration During Migration: Yes, you can have one region operating with 2 AZs while another region uses 3 AZs during your migration. This asymmetric configuration is supported and allows you to migrate regions sequentially. Starting with your standby region (eu-central-1) before moving to your active region (eu-west-2) is a prudent approach that minimizes risk to production workloads.
Minimizing Database Impact: To avoid downtime and performance degradation during the migration, consider creating read replicas in the new AZ first, enabling backups on them, and then promoting them as needed rather than directly converting production instances. For Multi-AZ deployments, converting a Single-AZ instance to Multi-AZ can impact performance, particularly for write-sensitive workloads, due to synchronous replication increasing I/O latency. The recommended approach is to build out your infrastructure in the third AZ, load data into the volumes, and then cut over traffic rather than modifying production databases in place.
Best Practices and Steps:
- Ensure you have sufficient compute capacity provisioned across all three AZs before beginning the migration
- Pre-scale your resources to handle the redistribution of workloads
- For applications with interdependent components, ensure they are colocated in the same AZ to prevent a single AZ impairment from affecting end-to-end processes
- Test your cluster's ability to handle the loss of any single AZ before going live
- Use automated backups and point-in-time recovery capabilities as a safety net during the migration
- Consider implementing the migration during a maintenance window to minimize user impact
- Monitor replication lag and performance metrics closely during the transition
For KMS replication concerns, the key is to ensure your encryption keys are available in all AZs within each region before migrating workloads, as KMS keys are regional resources that work across all AZs in that region.
Sources
Converting a DB instance to a Multi-AZ deployment for Amazon RDS - Amazon Relational Database Service
Learn about Amazon Application Recovery Controller (ARC) zonal shift in Amazon EKS - Amazon EKS
Community | Protect Your Data in Amazon RDS Against Disaster or Accidental Deletion
Community | Protect Your Data in Amazon RDS Against Disaster or Accidental Deletion
Relevant content
asked a year ago
asked 3 years ago
