skip to Main Content

Im trying to backup my s3 bucket on aws. It should be pretty straightforward but for some reason i get ‘Resource ARN is not valid’ error for the bucket that im trying to backup. Versioning is enabled , permissions are there. Has anybody encountered something similar? Or is it a bug?

enter image description here

Thank you in advance!

3

Answers


  1. According to the documentation in AWS .

    Another thing to check for is to verify that the IAM permissions for the user or role that you’re using to back up the S3 bucket are correctly configured.
    The user or role should have the necessary permissions to access and read the S3 bucket.

    Login or Signup to reply.
  2. Thanks a lot. For anyone else looking, the AWSBackupDefaultServiceRole, which is created by AWS, needs to be modified. You need to add these policies to it:

    • AWSBackupServiceRolePolicyForBackup
    • AWSBackupServiceRolePolicyForRestores
    • AWSBackupServiceRolePolicyForS3Backup (add)
    • AWSBackupServiceRolePolicyForS3Restore (add)

    This allows you to create a backup of S3 with the IAM Default role selected.

    Login or Signup to reply.
  3. The way to fix this is:

    1. Go to Identity and Access Management (IAM) console: https://us-east-1.console.aws.amazon.com/iamv2/home
    2. Select "Roles" from the menu on the left side
    3. Search for AWSBackupDefaultServiceRole
    4. Click on it => Add Permissions (in the right side) => Attach policies
    5. Search for AWSBackupServiceRolePolicyForS3Backup => select it
    6. Search for AWSBackupServiceRolePolicyForS3Restore => select
    7. "Add permissions"

    Now if you go back to Backup you should be able to create an On-Demand Backup using the Default role option.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search