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 réponse
2
Réponse acceptée

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
répondu il y a 10 mois
profile picture
EXPERT
vérifié il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions