Failback with AWS Elastic Disaster Recovery
Prerequisites
-
To ensure operational continuity, initialize the AWS DRS in advance in both the source and target AWS Regions, and conduct regular failover and failback drills.
-
Assign AWSElasticDisasterRecoveryRecoveryInstancePolicy to the IAM Role of our EC2 Instances. This IAM Policy is used to secure the permission policies needed to communicate with Elastic Disaster Recovery Service API during failback.
-
Before starting a failback, make sure the EC2 recovered instances have a network interface while meeting the specified network requirements.
-
Access to EC2 instance metadata is required. If you have a custom network setup that modifies the operating system route, ensure that access to the metadata is intact. Learn how to verify metadata access for Linux and for Windows.
-
EC2 Instances that have failed over must resolve through DNS the Regional DRS endpoint of the failback Region. The resolved endpoint must be accessible from the EC2 Instance through TCP 443.
Initializing Failback
To initialize failback, you need to start reverse replication process from the DR Region by following the below steps:
-
Go to the recovery AWS Region.
-
Choose the AWS Elastic Disaster Recovery service.
-
Navigate to the Recovery instances page.
-
Select the servers that you want to protect and select Start reversed replication.
-
You should now see a new Source server in the DRS Console in the source Region.
Note:
. All server data is transferred over the wire during this step, resulting in
cross-Region data transfer costs
Complete Failback
After the Reversed direction launch state is marked as Ready, take the following steps to complete the failback:
-
Find the relevant source servers by selecting the Replicating to source server link in the recovery instance (or) by directly navigating to the Source servers page in AWS DRS console at the source Region.
-
If the state is Ready (or Ready with lag), select Launch for failback under Initiate recovery job.
-
Redirect traffic to failed back instances, which will now become your new primary instances. Traffic redirection is not conducted using DRS.
-
Choose a service according to your preferences (consider using Amazon Route 53).
Note:
-
Make sure that your applications are working as expected. If you run into any issues, you can relaunch the instances and try again. Until you opt to failback, your recovery instances will continue to run in your recovery AWS Region to ensure business continuity.
Protect new Failed back instances
Do not perform this step when performing a drill. This step replaces the instances that AWS DRS replicates (from the Source instances to the failed back instances). In a drill, the source instances are still your production environment.
The newly launched failed-back instances are not protected. In order to protect them, follow these steps:
-
Navigate to the recovery instance in the source Region.
-
Select Start reversed replication. This step will replace the Instances that the Source Server protects.