Thursday, January 10, 2019

AWS S3 Static Website Hosting Error saving new Read Policy


I started an AWS tutorial in which first step is setting up a bucket to host a static website. I was trying to apply a policy to enable read access to all contents of bucket but was getting this error saving it: Error Access Denied. Not a very detailed message.


I found that there is an option to "Block new public bucket policies" set in true by default.

I set it to false and problem solved. I guess AWS wants to make sure no one enables full read access of the entire bucket by mistake.

No comments:

Post a Comment