How to make a S3 bucket publicly accessible

2014-12-13

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>/*"
    }
  ]
}
I’m currently working on fyra.sh, a CLI-first static site deployment tool where you push your site and it’s served globally through a built-in CDN, without the overhead of heavy platforms.