AWS Security ChangesHomeSearch

AWS drs: Add DRS failback error codes with IAM and credential troubleshooting

Service: drs · 2026-11-20 · Documentation medium

File: drs/latest/userguide/failback-client-errors.md · Type: iam

Summary

Restructures Failback Client error guidance into numbered DRS-FAILBACK codes and expands troubleshooting for IAM policy/trust relationships, credential retrieval, proxy/network connectivity, and related failback failures.

Security assessment

The change documents required IAM policy attachments and trust-policy permissions such as sts:SetSourceIdentity, along with credential-retrieval and endpoint connectivity troubleshooting. It is security-adjacent IAM/credential guidance, but the diff does not reference a specific vulnerability, exploit, or incident.

Evidence

+  * The trust policy of the `AWSElasticDisasterRecoveryFailbackRole` role allows the `sts:AssumeRole` action but not the `sts:SetSourceIdentity` action.

Diff

diff --git a/drs/latest/userguide/failback-client-errors.md b/drs/latest/userguide/failback-client-errors.md
index 6df1f2f..8ae1398 100644
--- a//drs/latest/userguide/failback-client-errors.md
+++ b//drs/latest/userguide/failback-client-errors.md
@@ -7 +7 @@
-Error: Could not associate failback client to recovery instancesError: Could not discover account IDError: Failed to get recovery instance volumesError: Failback client not seenError: Could not verify recovery instance connectivity to DRS
+DRS-FAILBACK-001: Could not associate failback client to recovery instanceDRS-FAILBACK-002: Could not discover account IDDRS-FAILBACK-003: Credential retrieval failedDRS-FAILBACK-004: Recovery instance not foundDRS-FAILBACK-005: Manifest download timed outDRS-FAILBACK-006: Failback Client assets download failedDRS-FAILBACK-007: Failed to get recovery instance volumesDRS-FAILBACK-008: Could not verify recovery instance connectivityFailback client not seen
@@ -15 +15 @@ The following topics cover errors that you might encounter when you set up or co
-  * Error: Could not associate failback client to recovery instances
+  * DRS-FAILBACK-001: Could not associate failback client to recovery instance
@@ -17 +17 @@ The following topics cover errors that you might encounter when you set up or co
-  * Error: Could not discover account ID
+  * DRS-FAILBACK-002: Could not discover account ID
@@ -19 +19 @@ The following topics cover errors that you might encounter when you set up or co
-  * Error: Failed to get recovery instance volumes
+  * DRS-FAILBACK-003: Credential retrieval failed
@@ -21 +21 @@ The following topics cover errors that you might encounter when you set up or co
-  * Error: Failback client not seen
+  * DRS-FAILBACK-004: Recovery instance not found
@@ -23 +23 @@ The following topics cover errors that you might encounter when you set up or co
-  * Error: Could not verify recovery instance connectivity to DRS
+  * DRS-FAILBACK-005: Manifest download timed out
@@ -24,0 +25 @@ The following topics cover errors that you might encounter when you set up or co
+  * DRS-FAILBACK-006: Failback Client assets download failed
@@ -25,0 +27 @@ The following topics cover errors that you might encounter when you set up or co
+  * DRS-FAILBACK-007: Failed to get recovery instance volumes
@@ -26,0 +29 @@ The following topics cover errors that you might encounter when you set up or co
+  * DRS-FAILBACK-008: Could not verify recovery instance connectivity
@@ -28 +31 @@ The following topics cover errors that you might encounter when you set up or co
-## Error: Could not associate failback client to recovery instances
+  * Failback client not seen
@@ -30 +32,0 @@ The following topics cover errors that you might encounter when you set up or co
-**Error message:** **`Could not associate failback client to recovery instances`**
@@ -32 +33,0 @@ The following topics cover errors that you might encounter when you set up or co
-**Cause:** The IAM credentials used for the Failback Client do not have the required failback policy attached.
@@ -34 +34,0 @@ The following topics cover errors that you might encounter when you set up or co
-**Resolution:**
@@ -36 +36 @@ The following topics cover errors that you might encounter when you set up or co
-###### To resolve this error
+## DRS-FAILBACK-001: Could not associate failback client to recovery instance
@@ -38 +38 @@ The following topics cover errors that you might encounter when you set up or co
-  1. Attach the `AWSElasticDisasterRecoveryFailbackInstallationPolicy` managed policy to the IAM user or role.
+**Error message:** **`Error code: DRS-FAILBACK-001 - Could not associate failback client to recovery instance`**
@@ -40 +40 @@ The following topics cover errors that you might encounter when you set up or co
-  2. Restart the failback process.
+**Cause:** The Failback Client couldn't associate the failback server with a recovery instance. This happens when:
@@ -41,0 +42 @@ The following topics cover errors that you might encounter when you set up or co
+  * The recovery instance ID is missing or doesn't match a recovery instance in the account and Region of the credentials that you entered. If you ran the Failback Client with `--no-prompt` and didn't provide an ID, the Failback Client can find the recovery instance on its own only when the failback server is the original source server.
@@ -42,0 +44 @@ The following topics cover errors that you might encounter when you set up or co
+  * The credentials don't have the permissions in the `AWSElasticDisasterRecoveryFailbackInstallationPolicy` managed policy.
@@ -43,0 +46 @@ The following topics cover errors that you might encounter when you set up or co
+  * The source server was an Amazon EC2 instance, which fails back with reverse replication instead of the Failback Client.
@@ -45 +47,0 @@ The following topics cover errors that you might encounter when you set up or co
-For more information, see [Learn more about Failback Client credentials](./failback-performing.html#failback-performing-credentials).
@@ -47 +48,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-## Error: Could not discover account ID
@@ -49 +49,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-**Error message:** **`Could not discover account id from describe`**
@@ -51 +51 @@ For more information, see [Learn more about Failback Client credentials](./failb
-**Cause:** The AWS credentials or Region entered into the Failback Client are incorrect.
+**Resolution:** To resolve this error, complete the following steps.
@@ -53 +53 @@ For more information, see [Learn more about Failback Client credentials](./failb
-**Resolution:**
+  1. Copy the recovery instance ID from the **Recovery instances** page of the Elastic Disaster Recovery console in the Region that you recovered into.
@@ -55 +55 @@ For more information, see [Learn more about Failback Client credentials](./failb
-###### To resolve this error
+  2. Verify that the credentials and Region that you entered match the account and Region of that recovery instance.
@@ -57 +57 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  1. Verify that the AWS Access Key ID and Secret Access Key are correct and active.
+  3. Attach the `AWSElasticDisasterRecoveryFailbackInstallationPolicy` managed policy to your IAM user or role.
@@ -59 +59 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  2. Verify that the Region matches the Region where Elastic Disaster Recovery is configured.
+  4. If the source server was an Amazon EC2 instance, fail it back with reverse replication instead of the Failback Client. For instructions on failing back an Amazon EC2 source server, see [Performing a cross-Region failback](./failback-failover-region-region.html), [Performing a cross-account failback](./failback-failover-cross-account.html), or [Cross Availability Zone recovery](./failback-failover-cross-availability-zone-failback.html).
@@ -61 +61 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  3. Test the credentials by running the following command:
+  5. Retry the association.
@@ -63 +63 @@ For more information, see [Learn more about Failback Client credentials](./failb
-        aws sts get-caller-identity --region region
+**If the Failback Client asks for a recovery instance ID**
@@ -65,0 +66 @@ For more information, see [Learn more about Failback Client credentials](./failb
+If the ID was wrong, enter the correct ID, or the number of the recovery instance in the list. If you attached the policy, enter the same ID again. If the credentials or Region were wrong, or the source server was an Amazon EC2 instance, stop the Failback Client and follow the preceding steps.
@@ -66,0 +68 @@ For more information, see [Learn more about Failback Client credentials](./failb
+**If you ran the Failback Client with`--no-prompt`**
@@ -68 +69,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-## Error: Failed to get recovery instance volumes
@@ -70 +71 @@ For more information, see [Learn more about Failback Client credentials](./failb
-**Error message:** **`Failed to get recovery instance volumes, please check the network configuration of your recovery instance`**
+Run it again with `--recovery-instance-id` set to the ID, or run it without `--no-prompt`. For more information, see [Failback Client program arguments](./failback-performing.html#failback-failover-program-arguments).
@@ -72 +73 @@ For more information, see [Learn more about Failback Client credentials](./failb
-**Cause:** The Failback Client cannot communicate with the recovery instance on TCP port 1500.
+  6. If the error continues, contact AWS Support.
@@ -74 +74,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-**Resolution:**
@@ -76 +75,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-###### To resolve this error
@@ -78 +76,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  1. Verify that TCP port 1500 is open between the failback server and the recovery instance.
@@ -80 +78 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  2. If you are not using a private route (VPN or ), verify that the recovery instance has a public IP address.
+For more information, see [Failback AWS credentials](./failback-performing.html#failback-performing-credentials).
@@ -82 +80 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  3. Test connectivity to the recovery instance on port 1500:
+## DRS-FAILBACK-002: Could not discover account ID
@@ -84 +82 @@ For more information, see [Learn more about Failback Client credentials](./failb
-     * **Linux:**
+**Error message:** **`Error code: DRS-FAILBACK-002 - Could not discover account ID`**
@@ -86 +84 @@ For more information, see [Learn more about Failback Client credentials](./failb
-                nc -zv recovery-instance-ip 1500
+**Cause:** The Failback Client found no source servers or recovery instances in the Region with the credentials that you entered. This happens when you choose the wrong Region or use credentials for a different AWS account.
@@ -88 +86,3 @@ For more information, see [Learn more about Failback Client credentials](./failb
-     * **Windows (PowerShell):**
+**Resolution:** To resolve this error, complete the following steps.
+
+  1. Verify that the Region matches the Region where your recovery instances are located.
@@ -90 +90 @@ For more information, see [Learn more about Failback Client credentials](./failb
-                Test-NetConnection -ComputerName recovery-instance-ip -Port 1500
+  2. Verify that the credentials belong to the AWS account that contains your source servers and recovery instances.
@@ -91,0 +92 @@ For more information, see [Learn more about Failback Client credentials](./failb
+  3. Confirm the account and Region by running the following command:
@@ -92,0 +94 @@ For more information, see [Learn more about Failback Client credentials](./failb
+        aws sts get-caller-identity --region region
@@ -95 +96,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-## Error: Failback client not seen
@@ -97 +97,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-**Error message:** **`Failback client not seen`** status in the Elastic Disaster Recovery console.
@@ -99 +99 @@ For more information, see [Learn more about Failback Client credentials](./failb
-**Cause:** Communication between the Failback Client and the Elastic Disaster Recovery endpoint has been interrupted. Common causes include:
+## DRS-FAILBACK-003: Credential retrieval failed
@@ -101 +101 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  * Network issues between the Failback Client and the Elastic Disaster Recovery endpoint (TCP 443)
+**Error message:** **`Error code: DRS-FAILBACK-003 - Credential retrieval failed`**
@@ -103 +103 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  * The Failback Client process was terminated or interrupted
+**Cause:** This error has one of the following causes:
@@ -105 +105 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  * The Failback Client runs in the foreground — closing the shell session terminates the process
+  * The hardware clock is set to local time instead of UTC. The Failback Client requires UTC for certificate-based authentication, so a local-time clock causes authentication to fail.
@@ -106,0 +107 @@ For more information, see [Learn more about Failback Client credentials](./failb
+  * The trust policy of the `AWSElasticDisasterRecoveryFailbackRole` role allows the `sts:AssumeRole` action but not the `sts:SetSourceIdentity` action.
@@ -107,0 +109 @@ For more information, see [Learn more about Failback Client credentials](./failb
+  * You entered a web proxy that the Failback Client's credentials step can't use. The credentials step requires the proxy to include the `http://` scheme, so it skips a proxy entered without a scheme (for example, `proxy.example.com:3128`). It also can't use a proxy that requires a user name and password, because it ignores proxy credentials in the URL.
@@ -108,0 +111 @@ For more information, see [Learn more about Failback Client credentials](./failb
+  * The connection from the failback server to the Elastic Disaster Recovery endpoint on TCP port 443 dropped while the Failback Client was getting credentials.
@@ -110 +112,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-**Resolution:**
@@ -112 +113,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-###### To resolve this error
@@ -114 +114,0 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  1. Verify network connectivity to `drs.`region`.amazonaws.com` on port 443.
@@ -116 +116 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  2. Use `screen` or `tmux` to keep the Failback Client session alive.
+**Resolution:** Identify which cause applies, and then complete the corresponding steps.
@@ -118 +118 @@ For more information, see [Learn more about Failback Client credentials](./failb
-  3. Restart the Failback Client if needed.
+  1. If the hardware clock is set to local time, set it to UTC:
@@ -119,0 +120 @@ For more information, see [Learn more about Failback Client credentials](./failb
+    1. Access the BIOS or EFI Shell of the failback target server.
@@ -120,0 +122 @@ For more information, see [Learn more about Failback Client credentials](./failb
+    2. Set the hardware clock to UTC instead of local time.
@@ -121,0 +124 @@ For more information, see [Learn more about Failback Client credentials](./failb
+    3. Restart the Failback Client.
@@ -125 +128,90 @@ Note
-Replication might continue in the background because the AWS Replication Agent runs independently of the Failback Client process.
+This error commonly occurs when you fail back to physical servers or hypervisors where the hardware clock is set to local time.
+
+  2. If the trust policy is missing the `sts:SetSourceIdentity` action, add it:
+
+    1. Open the [IAM console](https://console.aws.amazon.com/iam/).
+
+    2. In the navigation pane, choose **Roles**.
+
+    3. Choose `AWSElasticDisasterRecoveryFailbackRole`.
+
+    4. On the **Trust relationships** tab, choose **Edit trust policy**.
+
+    5. Add the `sts:SetSourceIdentity` action alongside the existing `sts:AssumeRole` action. For an example trust policy, see [Initializing DRS through the API](./getting-started-initializing.html#drs-initializing-manually).
+
+    6. Save the trust policy, and then run the Failback Client again.
+
+  3. If you use a web proxy, enter it in a form that the credentials step can use:
+
+    1. Enter the proxy as `http://`host`:`port``, including the `http://` scheme.
+
+    2. Use a proxy that doesn't require a user name and password.
+
+    3. Run the Failback Client again.
+
+  4. If the connection to the Elastic Disaster Recovery endpoint dropped, check that the failback server can reach the endpoint on TCP port 443, and then run the Failback Client again.
+
+
+
+
+## DRS-FAILBACK-004: Recovery instance not found
+
+**Error message:** **`Error code: DRS-FAILBACK-004 - Recovery instance not found`**
+
+**Cause:** The recovery instance was deleted or terminated after the Failback Client connected to it.
+
+**Resolution:** Confirm whether the recovery instance still exists, and then take the appropriate action.
+