When I use a custom policy below, I get the following error when uploading large files (1G and over) using cyberduck
file access denied. please contact your web hosting service provider for assistance
However uploading small files (around 200M) is not an issue, also I have no issue creating new folders and files with cyberduck and the same login credentials. So the I definitely have a read/write access.
Also if I add a pre defined policy (AmazonS3FullAccess), then uploading of large files also works OK. I'm a bit lost here. How is my policy restricts large file uploads? What am I missing?
my policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets"
],
"Resource": "arn:aws:s3:::*"
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::photoshoot2016"
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::photoshoot2016/*"
}
]
}
AmazonS3FullAccess policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": "*"
}
]
}