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 回答
2
已接受的回答

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
已回答 10 个月前
profile picture
专家
已审核 10 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则