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 Risposta
2
Risposta accettata

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
con risposta 10 mesi fa
profile picture
ESPERTO
verificato 10 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande