Skip to main content
IAM Policy Map

AWSElasticDisasterRecoveryReplicationServerPolicy

OperatorService roleActivePermissions reviewedShow on mapCompare

Summary

This policy is attached to the Elastic Disaster Recovery Replication server's instance role. This policy allows the Elastic Disaster Recovery (DRS) Replication Servers, which are EC2 instances launched by Elastic Disaster Recovery - to communicate with the DRS service, and to create EBS snapshots in your AWS account. An IAM role with this policy is attached (as an EC2 Instance Profile) by Elastic Disaster Recovery to the DRS Replication Servers which are automatically launched and terminated by DRS, as needed. DRS Replication Servers are used to facilitate data replication from your external servers to AWS, as part of the recovery process managed by DRS. We do not recommend that you attach this policy to your IAM users or roles.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/service-role/AWSElasticDisasterRecoveryReplicationServerPolicy
Default version
v3
Created
Last edited
Services
drs, ec2

Control-plane actions (20)

By access level: 2 List, 4 Read, 1 Tagging, 13 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
DRS16 of 1104 Read, 12 Write; 0 restricted, 0 conditionaldrs:BatchCreateVolumeSnapshotGroupForDrs, drs:BatchDeleteSnapshotRequestForDrs, drs:DescribeReplicationServerAssociationsForDrs, drs:DescribeSnapshotRequestsForDrs, drs:GetAgentSnapshotCreditsForDrs, drs:GetChannelCommandsForDrs, drs:NotifyAgentAuthenticationForDrs, drs:NotifyAgentConnectedForDrs, drs:NotifyAgentDisconnectedForDrs, drs:NotifyAgentReplicationProgressForDrs, drs:NotifyVolumeEventForDrs, drs:SendChannelCommandResultForDrs and 4 more
EC24 of 8342 List, 1 Tagging, 1 Write; 2 restricted, 2 conditionalec2:CreateSnapshot, ec2:CreateTags, ec2:DescribeInstances, ec2:DescribeSnapshots
DRS: 16 actions
  • drs:BatchCreateVolumeSnapshotGroupForDrs (Write)
  • drs:BatchDeleteSnapshotRequestForDrs (Write)
  • drs:DescribeReplicationServerAssociationsForDrs (Read)
  • drs:DescribeSnapshotRequestsForDrs (Read)
  • drs:GetAgentSnapshotCreditsForDrs (Read)
  • drs:GetChannelCommandsForDrs (Read)
  • drs:NotifyAgentAuthenticationForDrs (Write)
  • drs:NotifyAgentConnectedForDrs (Write)
  • drs:NotifyAgentDisconnectedForDrs (Write)
  • drs:NotifyAgentReplicationProgressForDrs (Write)
  • drs:NotifyVolumeEventForDrs (Write)
  • drs:SendChannelCommandResultForDrs (Write)
  • drs:SendClientLogsForDrs (Write)
  • drs:SendClientMetricsForDrs (Write)
  • drs:SendVolumeStatsForDrs (Write)
  • drs:UpdateAgentReplicationProcessStateForDrs (Write)
EC2: 4 actions
  • ec2:CreateSnapshot (Write)
  • ec2:CreateTags (Tagging)
  • ec2:DescribeInstances (List)
  • ec2:DescribeSnapshots (List)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 14 write, tagging or permissions-management actions, short of full control of any service.
  • 12 granted write or permissions-management actions have no data-plane classification from AWS, so the data-plane rule cannot assess them.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "DRSReplicationServerPolicy1",
      "Effect": "Allow",
      "Action": [
        "drs:SendClientMetricsForDrs",
        "drs:SendClientLogsForDrs"
      ],
      "Resource": "*"
    },
    {
      "Sid": "DRSReplicationServerPolicy2",
      "Effect": "Allow",
      "Action": [
        "drs:GetChannelCommandsForDrs",
        "drs:SendChannelCommandResultForDrs"
      ],
      "Resource": "*"
    },
    {
      "Sid": "DRSReplicationServerPolicy3",
      "Effect": "Allow",
      "Action": [
        "drs:GetAgentSnapshotCreditsForDrs",
        "drs:DescribeReplicationServerAssociationsForDrs",
        "drs:DescribeSnapshotRequestsForDrs",
        "drs:BatchDeleteSnapshotRequestForDrs",
        "drs:NotifyAgentAuthenticationForDrs",
        "drs:BatchCreateVolumeSnapshotGroupForDrs",
        "drs:UpdateAgentReplicationProcessStateForDrs",
        "drs:NotifyAgentReplicationProgressForDrs",
        "drs:NotifyAgentConnectedForDrs",
        "drs:NotifyAgentDisconnectedForDrs",
        "drs:NotifyVolumeEventForDrs",
        "drs:SendVolumeStatsForDrs"
      ],
      "Resource": "*"
    },
    {
      "Sid": "DRSReplicationServerPolicy4",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeInstances",
        "ec2:DescribeSnapshots"
      ],
      "Resource": "*"
    },
    {
      "Sid": "DRSReplicationServerPolicy5",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateSnapshot"
      ],
      "Resource": "arn:aws:ec2:*:*:volume/*",
      "Condition": {
        "Null": {
          "aws:ResourceTag/AWSElasticDisasterRecoveryManaged": "false"
        }
      }
    },
    {
      "Sid": "DRSReplicationServerPolicy6",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateSnapshot"
      ],
      "Resource": "arn:aws:ec2:*:*:snapshot/*",
      "Condition": {
        "Null": {
          "aws:RequestTag/AWSElasticDisasterRecoveryManaged": "false"
        }
      }
    },
    {
      "Sid": "DRSReplicationServerPolicy7",
      "Effect": "Allow",
      "Action": "ec2:CreateTags",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "ec2:CreateAction": "CreateSnapshot"
        }
      }
    }
  ]
}

Version history

Current version v3, edited by AWS on 2023-11-27. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSElasticDisasterRecoveryReplicationServerPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSElasticDisasterRecoveryReplicationServerPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSElasticDisasterRecoveryReplicationServerPolicy

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/service-role/AWSElasticDisasterRecoveryReplicationServerPolicy

Terraform

resource "aws_iam_role_policy_attachment" "service_role_awselasticdisasterrecoveryreplicationserverpolicy" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/service-role/AWSElasticDisasterRecoveryReplicationServerPolicy"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AWSElasticDisasterRecoveryReplicationServerPolicy"),
);

Sources

Pending editorial review. No editorial sources are listed yet.