Hi Vishu,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
In an active-active disaster recovery (DR) setup, both primary and secondary sites are fully operational and handle production traffic simultaneously. This provides high availability and minimal downtime in case of a disaster.
For the design diagram please refer to the below link:
Key Components and Connections:
- Primary and Secondary Regions: Both regions (e.g., East US and West US) have identical infrastructure.
- Azure App Service: Each region has its own App Service instances running the same application.
- Azure Functions: Similar to App Service, both regions have their own Function instances.
- Application Gateway: Each region has its own Application Gateway that distributes traffic to the respective App Service and Function instances.
- Azure DB: Both regions have their own Azure DB instances, with data replicated between them using Azure Database Replication.
- Traffic Manager: A global load balancer that directs traffic to either the primary or secondary region based on health probes.
- Network Connectivity: Both regions are connected using Azure ExpressRoute or VPN Gateway to ensure low-latency and reliable communication.
Implementation Steps:
- Create Infrastructure: Set up App Services, Functions, Application Gateways, and Azure DB instances in both regions.
- Configure Application Gateway: Configure the Application Gateway in each region to distribute traffic to the respective App Service and Function instances.
- Set Up Azure Database Replication: Enable Azure Database Replication between the primary and secondary Azure DB instances.
- Configure Traffic Manager: Create a Traffic Manager profile and configure health probes for both regions.
- Test and Validate: Conduct thorough testing to ensure that the setup is functioning as expected.
Please refer below links for the reference:
https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-architecture
https://learn.microsoft.com/en-us/azure/well-architected/reliability/disaster-recovery
If you find this answer helpful, please click "Accept Answer" and kindly upvote it.