How to make a S3 bucket publicly accessible
In your AWS Console, select the Bucket that you’re trying to make public.
Under Permissions, add the following bucket policy:
{
"Version": "2008-10-17",
"Id": "...",
"Statement": [
{
"Sid": "...",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::<REPLACE_THIS_WITH_YOUR_BUCKET_NAME>/*"
}
]
}