# Ensure Installation of the AWS Replication Agent

- Source: https://support.icompaas.com/support/solutions/articles/62000234540-ensure-installation-of-the-aws-replication-agent
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS AWS Storage Services Benchmarks v1.0.0](https://support.icompaas.com/support/solutions/62000112689) › [CIS AWS Storage Services](https://support.icompaas.com/support/solutions/folders/62000169254)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

Profile Applicability:

-   **Level 2**

### Description:

The AWS Replication Agent is a lightweight software installed on source servers that enables continuous block-level replication to AWS Elastic Disaster Recovery (EDR). The agent must be correctly installed and running for servers to be protected and recoverable. Without the agent, replication cannot occur, and recovery operations will fail.

### Rationale:

Ensuring the agent is installed guarantees that:

-   Continuous replication to AWS is established  
    
-   Recovery operations can be initiated when needed  
    
-   The DR solution remains functional and reliable  
    
-   Source servers stay in sync with recovery infrastructure  
    

### Default Value:

By default, the AWS Replication Agent is not installed. It must be manually downloaded and deployed on each source server.

### Impact:

Pros:  
 • Enables real-time or near-real-time replication to AWS  
• Facilitates automated recovery operations  
 • Supports consistent and up-to-date disaster recovery readiness

Cons:  
 • Manual installation required on each source server  
• Improper installation may result in broken replication  
 • Additional software dependencies (e.g., Python) may be needed

### Pre-requisites:

IAM Permissions Required: drs:CreateSourceServer  
 drs:StartReplication  
 drs:DescribeSourceServers  
 ssm:SendCommand (optional for automated install via Systems Manager)  
 Access to source servers with administrative privileges

### Remediation:

### Test Plan:

Using AWS Console:

1.   Log in to the AWS Management Console
2.  Navigate to Elastic Disaster Recovery (EDR)
3.  Go to the Source Servers tab
4.  If a server is missing or unprotected, it means the agent has not been installed
5.  Check server status for “Not connected” or “Agent not installed” messages

Using AWS CLI:

aws drs describe-source-servers

-   Check for empty or missing entries, or ones with is-replicating = false  
    

### Implementation Plan:

Using AWS Console:

1.  Navigate to Elastic Disaster Recovery Console
2.  Click on Add source server
3.   Download the Replication Agent installer script from the AWS Console
4.  Run the script on the source server with administrative privileges
5.  Wait for the server to appear in the Source Servers list and for replication to begin

Using AWS CLI:  
 Step 1: Download the installer

curl -O https://aws-elastic-disaster-recovery-agent.s3.amazonaws.com/latest/install\_dr\_agent.sh

Step 2: Run the installer with your AWS credentials

sudo bash install\_dr\_agent.sh --region <aws-region> --account-id <account-id> --activation-key <activation-key>

Step 3: Validate agent registration

aws drs describe-source-servers

### Backout Plan:

Using AWS Console:

1.   Remove the source server from EDR if needed
2.  Uninstall the agent manually from the source server

Using AWS CLI:

aws drs delete-source-server \\
  --source-server-id s-xxxxxxxxxxxxxxxxx

Manually remove the agent from the server (Linux example):

sudo rm -rf /var/lib/aws-replication-agent
sudo systemctl stop aws-replication-agent
sudo systemctl disable aws-replication-agent

### References:

-   [https://docs.aws.amazon.com/drs/latest/userguide/agent-installation.html](https://docs.aws.amazon.com/drs/latest/userguide/agent-installation.html)
-    [https://docs.aws.amazon.com/cli/latest/reference/drs/](https://docs.aws.amazon.com/cli/latest/reference/drs/)
-   [https://aws.amazon.com/disaster-recovery/](https://aws.amazon.com/disaster-recovery/)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
