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.

Joseph
posta 3 mesi fa264 visualizzazioni
1 Risposta
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"
        }
    ]
}
profile picture
ESPERTO
con risposta 3 mesi fa
profile pictureAWS
ESPERTO
verificato 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande