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 Respuesta
2
Respuesta aceptada

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
respondido hace 10 meses
profile picture
EXPERTO
revisado hace 10 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas