FSx Backup IAM Role Permissions

Veeam Backup for AWS uses FSx Backup IAM roles to perform the following operations:

  • To enumerate resources added to a backup policy.
  • To create backups of FSx file systems.
  • To create backup copies, and so on.

To perform these operations, IAM roles specified in the FSx backup policy settings must meet the following requirements:

  1. The backup appliance must be granted permissions to assume the IAM roles. For more information on the requirements for adding IAM roles, see Before You Begin.
  2. The AWS Backup service must be granted permissions to assume the IAM roles.

To allow the AWS Backup service to assume an IAM role, configure trust relationships for the role and add the following statement to the trust policy.

{

 "Version": "2012-10-17",

 "Statement": [

   {

     "Effect": "Allow",

     "Action": "sts:AssumeRole",

     "Principal": {

       "Service": "backup.amazonaws.com"

     }

   }

 ]

}

To learn how to modify role trust policies, see AWS Documentation.

  1. The IAM roles must be granted the following permissions:

{

   "Version": "2012-10-17",

   "Statement": [

       {

           "Effect": "Allow",

           "Action": [

               "backup:CopyFromBackupVault",

               "backup:CopyIntoBackupVault",

               "backup:DescribeCopyJob",

               "backup:DescribeRegionSettings",

               "backup:DeleteRecoveryPoint",

               "backup:DescribeBackupJob",

               "backup:DescribeRecoveryPoint",

               "backup:ListTags",

               "backup:ListBackupVaults",

               "backup:ListRecoveryPointsByBackupVault",

               "backup:StartBackupJob",

               "backup:StartCopyJob",

               "backup:UpdateRegionSettings",

               "events:DeleteRule",

               "events:DescribeRule",

               "events:ListTargetsByRule",

               "events:PutTargets",

               "events:PutRule",

               "events:RemoveTargets",

               "ec2:DescribeRegions",

               "ec2:DescribeNetworkInterfaces",

               "ec2:DescribeAvailabilityZones",

               "fsx:CopyBackup",

               "fsx:DescribeDataRepositoryAssociations",

               "fsx:DescribeFileSystems",

               "fsx:DescribeBackups",

               "fsx:ListTagsForResource",

               "fsx:CreateBackup",

               "fsx:TagResource",

               "fsx:UntagResource",

               "iam:GetContextKeysForPrincipalPolicy",

               "iam:GetRole",

               "iam:ListAccountAliases",

               "iam:PassRole",

               "iam:SimulatePrincipalPolicy",

               "kms:DescribeKey",

               "kms:CreateGrant",

               "sns:CreateTopic",

               "sns:DeleteTopic",

               "sns:ListSubscriptionsByTopic",

               "sns:Subscribe",

               "sns:Unsubscribe",

               "sqs:CreateQueue"

               "sqs:DeleteQueue",

               "sqs:DeleteMessage",

               "sqs:ListQueues",

               "sns:ListTopics",

               "sns:SetTopicAttributes",

               "sqs:SetQueueAttributes",

               "sqs:ReceiveMessage"

           ],

           "Resource": "*"

       }

   ]

}

{

   "Version": "2012-10-17",

   "Statement": [

       {

           "Effect": "Allow",

           "Action": [

               "backup:DescribeRegionSettings",

               "backup:DeleteRecoveryPoint",

               "backup:DeleteBackupVault",

               "backup:DescribeBackupJob",

               "backup:DescribeCopyJob",

               "backup:DescribeRecoveryPoint",

               "backup:CopyIntoBackupVault",

               "backup:CopyFromBackupVault",

               "backup:CreateBackupVault",

               "backup:UpdateRegionSettings",

               "backup:ListBackupVaults",

               "backup:ListTags",

               "backup:StartBackupJob",

               "backup:StartCopyJob",

               "backup-storage:MountCapsule",

               "backup:TagResource",

               "ec2:DescribeNetworkInterfaces",

               "ec2:DescribeRegions",

               "fsx:CopyBackup",

               "fsx:CreateBackup",

               "fsx:DescribeBackups",

               "fsx:DescribeFileSystems",

               "fsx:DescribeDataRepositoryAssociations",

               "fsx:ListTagsForResource",

               "fsx:TagResource",

               "fsx:UntagResource",

               "iam:PassRole",

               "kms:CreateGrant",

               "kms:DescribeKey"

           ],

           "Resource": "*"

       }

   ]

}

To learn how to create IAM roles and assign them the required permissions, see Appendix A. Creating IAM Roles in AWS.