0

AWS – S3 Bucket Policy Sample To Make All Files Public

This is 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 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 is publicly available.

Karl San Gabriel

Karl San Gabriel

Professional Software Developer