AWS

AWS – S3 Bucket Policy Sample To Make All Files Public

This shows how to use S3 Bucket Policy to make all files public.

Sample JSON Bucket Policy

The S3 Bucket’s name is karlsan. Therefore, we refer to this resource and all the files within it as arn:aws:s3:::karlsan/*

Edit S3 Public Access Setting

Before anything else, we need to modify the Bucket’s Public Access Settings.

All items should be unchecked. Click Save.

Type “confirm” and click Confirm.

Update S3 Bucket Policy

Go to the S3 Bucket’s Permissions tab.

Then, click Bucket Policy.

Copy and paste the JSON value above. Then, click Save.

Now all files within the Bucket are publicly available.

Loading

Got comments or suggestions? We disabled the comments on this site to fight off spammers, but you can still contact us via our Facebook page!.


You Might Also Like