AWSApplicationMigrationReplicationServerPolicy
Summary
This policy allows the Application Migration Service (MGN) Replication Servers, which are EC2 instances launched by Application Migration Service - to communicate with the MGN service, and to create EBS snapshots in your AWS account. An IAM role with this policy is attached (as an EC2 Instance Profile) by Application Migration Service to the MGN Replication Servers which are automatically launched and terminated by MGN, as needed. MGN Replication Servers are used to facilitate data replication from your external servers to AWS, as part of the migration process managed using MGN. 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/AWSApplicationMigrationReplicationServerPolicy- Default version
- v2
- Created
- Last edited
- Services
- ec2, mgn
Control-plane actions (19)
By access level: 2 List, 4 Read, 1 Tagging, 12 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| EC2 | 4 of 834 | 2 List, 1 Tagging, 1 Write; 2 restricted, 2 conditional | ec2:CreateSnapshot, ec2:CreateTags, ec2:DescribeInstances, ec2:DescribeSnapshots |
| MGN | 15 of 147 | 4 Read, 11 Write; 0 restricted, 0 conditional | mgn:BatchCreateVolumeSnapshotGroupForMgn, mgn:BatchDeleteSnapshotRequestForMgn, mgn:DescribeReplicationServerAssociationsForMgn, mgn:DescribeSnapshotRequestsForMgn, mgn:GetAgentSnapshotCreditsForMgn, mgn:GetChannelCommandsForMgn, mgn:NotifyAgentAuthenticationForMgn, mgn:NotifyAgentConnectedForMgn, mgn:NotifyAgentDisconnectedForMgn, mgn:NotifyAgentReplicationProgressForMgn, mgn:SendChannelCommandResultForMgn, mgn:SendClientLogsForMgn and 3 more |
EC2: 4 actions
- ec2:CreateSnapshot (Write)
- ec2:CreateTags (Tagging)
- ec2:DescribeInstances (List)
- ec2:DescribeSnapshots (List)
MGN: 15 actions
- mgn:BatchCreateVolumeSnapshotGroupForMgn (Write)
- mgn:BatchDeleteSnapshotRequestForMgn (Write)
- mgn:DescribeReplicationServerAssociationsForMgn (Read)
- mgn:DescribeSnapshotRequestsForMgn (Read)
- mgn:GetAgentSnapshotCreditsForMgn (Read)
- mgn:GetChannelCommandsForMgn (Read)
- mgn:NotifyAgentAuthenticationForMgn (Write)
- mgn:NotifyAgentConnectedForMgn (Write)
- mgn:NotifyAgentDisconnectedForMgn (Write)
- mgn:NotifyAgentReplicationProgressForMgn (Write)
- mgn:SendChannelCommandResultForMgn (Write)
- mgn:SendClientLogsForMgn (Write)
- mgn:SendClientMetricsForMgn (Write)
- mgn:StartSnapshotGroupForMgn (Write)
- mgn:UpdateAgentReplicationProcessStateForMgn (Write)
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 13 write, tagging or permissions-management actions, short of full control of any service.
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.
Related policies
Same service
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsReleaseManagementVPCPolicy
- AmazonAppStreamServiceAccess
- AmazonBioDiscoveryServiceLinkedRolePolicy
- AmazonDataZoneEnvironmentRolePermissionsBoundary
- AmazonDataZoneProjectDeploymentPermissionsBoundary
- AmazonDataZoneProjectRolePermissionsBoundary
- AmazonDataZoneSageMakerProvisioningRolePolicy
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
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"mgn:SendClientMetricsForMgn",
"mgn:SendClientLogsForMgn",
"mgn:GetChannelCommandsForMgn",
"mgn:SendChannelCommandResultForMgn",
"mgn:GetAgentSnapshotCreditsForMgn",
"mgn:DescribeReplicationServerAssociationsForMgn",
"mgn:DescribeSnapshotRequestsForMgn",
"mgn:BatchDeleteSnapshotRequestForMgn",
"mgn:NotifyAgentAuthenticationForMgn",
"mgn:BatchCreateVolumeSnapshotGroupForMgn",
"mgn:UpdateAgentReplicationProcessStateForMgn",
"mgn:NotifyAgentReplicationProgressForMgn",
"mgn:NotifyAgentConnectedForMgn",
"mgn:NotifyAgentDisconnectedForMgn",
"mgn:StartSnapshotGroupForMgn"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances",
"ec2:DescribeSnapshots"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"ec2:CreateSnapshot"
],
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"Null": {
"aws:ResourceTag/AWSApplicationMigrationServiceManaged": "false"
}
}
},
{
"Effect": "Allow",
"Action": [
"ec2:CreateSnapshot"
],
"Resource": "arn:aws:ec2:*:*:snapshot/*",
"Condition": {
"Null": {
"aws:RequestTag/AWSApplicationMigrationServiceManaged": "false"
}
}
},
{
"Effect": "Allow",
"Action": "ec2:CreateTags",
"Resource": "*",
"Condition": {
"StringEquals": {
"ec2:CreateAction": "CreateSnapshot"
}
}
}
]
}
Version history
Current version v2, edited by AWS on 2026-05-31. 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/AWSApplicationMigrationReplicationServerPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSApplicationMigrationReplicationServerPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSApplicationMigrationReplicationServerPolicyCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AWSApplicationMigrationReplicationServerPolicyTerraform
resource "aws_iam_role_policy_attachment" "service_role_awsapplicationmigrationreplicationserverpolicy" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/service-role/AWSApplicationMigrationReplicationServerPolicy"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AWSApplicationMigrationReplicationServerPolicy"),
);Sources
Pending editorial review. No editorial sources are listed yet.