Redshift Backup IAM Role Permissions
Veeam Backup for AWS uses Redshift Backup IAM roles to perform the following operations:
- To enumerate resources added to a backup policy.
- To create backups of Redshift clusters.
To perform these operations, IAM roles specified in the Redshift backup policy settings must meet the following requirements:
- 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.
- 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.
- The IAM roles must be granted the following permissions:
- IAM roles specified in the backup policy settings:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "backup:DeleteRecoveryPoint", "backup:DescribeBackupJob", "backup:DescribeRegionSettings", "backup:DescribeRecoveryPoint", "backup:ListBackupVaults", "backup:ListRecoveryPointsByBackupVault", "backup:ListTags", "backup:StartBackupJob", "backup:StopBackupJob", "backup:UpdateRegionSettings", "ec2:DescribeRegions", "ec2:DescribeAvailabilityZones", "events:DeleteRule", "events:DescribeRule", "events:ListTargetsByRule", "events:PutRule", "events:PutTargets", "events:RemoveTargets", "iam:GetRole", "iam:GetContextKeysForPrincipalPolicy", "iam:PassRole", "iam:SimulatePrincipalPolicy", "iam:ListAccountAliases", "redshift:DescribeClusters", "redshift:CreateTags", "redshift:DescribeTags", "redshift:DeleteTags", "redshift:CreateClusterSnapshot", "redshift:DeleteClusterSnapshot", "redshift:DescribeClusterSnapshots", "sns:CreateTopic", "sns:DeleteTopic", "sns:ListSubscriptionsByTopic", "sns:ListTopics", "sns:SetTopicAttributes", "sns:Subscribe", "sns:Unsubscribe", "sqs:CreateQueue", "sqs:DeleteMessage", "sqs:DeleteQueue", "sqs:ListQueues", "sqs:ReceiveMessage", "sqs:SetQueueAttributes" ], "Resource": "*" } ] } |
- IAM roles used to perform backup operations manually as described in section Creating Redshift Backups Manually:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "backup:DeleteRecoveryPoint", "backup:DescribeBackupJob", "backup:DescribeRecoveryPoint", "backup:DescribeRegionSettings", "backup:ListBackupVaults", "backup:ListTags", "backup:StartBackupJob", "backup:StopBackupJob", "backup:UpdateRegionSettings", "ec2:DescribeAvailabilityZones", "ec2:DescribeRegions", "iam:GetContextKeysForPrincipalPolicy", "iam:GetRole", "iam:ListAccountAliases", "iam:SimulatePrincipalPolicy", "iam:PassRole", "redshift:CreateClusterSnapshot", "redshift:CreateTags", "redshift:DeleteTags", "redshift:DescribeClusters", "redshift:DescribeClusterSnapshots", "redshift:DescribeTags", "redshift:DeleteClusterSnapshot" ], "Resource": "*" } ] } |
To learn how to create IAM roles and assign them the required permissions, see Appendix A. Creating IAM Roles in AWS.