Skip to content

Creating EC2 backup and getting "Access denied: Insufficient privileges..." error

0

Dear all, Can anyone please help this error? Thanks in advance!

**Status: ** A user with PowerUserAccess is trying to create a backup plan for EC2 using a custom role( which has the following permission policies: AWSBackupServiceRolePolicyForBackup & AWSBackupServiceRolePolicyForRestores)

**Error message: ** Access denied: Insufficient to perform this action. Please consult with the account administrator for necessary permissions.

asked 2 years ago516 views
1 Answer
0

Hello.

"PowerUserAccess" does not have permission to attach IAM roles, so service roles cannot be set when allocating resources with AWS Backup.
So, please set the following IAM policy for the IAM user and then try setting up AWS Backup.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "iam:PassRole"
            ],
            "Resource": [
                "*"
            ],
            "Effect": "Allow"
        }
    ]
}
EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.