Make Amazon S3 Bucket public

To make an Amazon S3 bucket public, you need to modify the bucket’s policy to allow public access.

  • Go to the S3 console.
  • Click on the bucket that you need to make public.
  • Click on the Permissions tab.
  • Scroll down to Bucket Policy and click Edit

You get a blank editor. Paste the following code and click save changes to make the bucket public.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowPublicReadAccess",
      "Effect": "Allow",
      "Principal": "*",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::BUCKET_NAME_HERE/*"
    }
  ]
}

Replace BUCKET_NAME_HERE with your actual S3 Bucket name.

See Amazon S3

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *