Cannot access public S3 bucket

What do you have under the “Bucket Policy” tab under “Permissions” ?
Maybe try setting it similar to below

{
“Version”: “2012-10-17”,
“Statement”: [
{
“Effect”: “Allow”,
“Principal”: “",
“Action”: [
“s3:ListBucket”,
“s3:GetBucketLocation”
],
“Resource”: “arn:aws:s3:::samples.bucket”
},
{
“Sid”: “MakeItPublic”,
“Effect”: “Allow”,
“Principal”: "
”,
“Action”: “s3:GetObject”,
“Resource”: “arn:aws:s3:::samples.bucket/*”
}
]
}

1 Like