Make Bucket Public

Configure bucket

  1. Click on the bucket you just created.
    • Click Properties.

S3

  1. On the Properties page:
    • Under Static website hosting, click Edit.

S3

  • Switch Static website hosting to Enable.
  • Enter index.html in the index document box.
  • Click Save changes.

S3

  1. On the Permissions page:
    • Under Bucket policy, click Edit.

S3

  • Paste the following policy:
{
 "Version": "2012-10-17",
 "Statement": [
     {
         "Sid": "PublicReadGetObject",
         "Effect": "Allow",
         "Principal": "*",
         "Action": "s3:GetObject",
         "Resource": "arn:aws:s3:::{bucket-name}/*"
     }
 ]
}

Change {bucket-name} to your bucket name

  • Click Save Changes.

S3