s3 bucket policy is automatically changing, after I unblock all the public access.

0

I'm using s3 bucket to host my react app which is calling REST API. I've added necessary policy and granted permissions. But after I unblock all the public access to make my website available to the public, s3 bucket is automatically changing the permission to "Access : Only authorized users of this account".

I want to make my website publicly available. What configuration am I missing here?

Can anyone please help me?

Thanks

1 Answer
2
Accepted Answer

In addition to configuring your bucket as a static website: https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteAccessPermissionsReqd.html, you will need to configure the Block Public Access settings for this account. By default, Block Public Access is enabled across your account, and overrides any public access settings made to individual objects within your account: https://docs.aws.amazon.com/AmazonS3/latest/userguide/configuring-block-public-access-account.html.

profile pictureAWS
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions