I’ve recently picked up an EX2, and I’m looking to set up S3 backup.
I’ve been able to successfully set it up with the root credentials, however, I’m having trouble setting up permissions for an IAM user.
Here’s the policy I’ve go so far:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets"
],
"Resource": [
"arn:aws:s3:::*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::bucketname"
]
},
{
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::bucketname/*"
]
}
]
}
The policy simulator shows that the user should be allowed to perform all of the S3 actions when I have the _bucketname/ _set as the target. However, my backup fails.
Obviously I’m missing a permission, but I’m not sure what. Any help would be much appreciated.