S3 bucket object URL showing Access Denied

0

I created a bucket in S3 and when I copy the link into a new tab it gives me "access denied" as an error, although I made the bucket public and added read access via ACL

demandé il y a 2 ans740 vues
1 réponse
0

As we described in our public documentation [1], can you please check if you are allowing public access at your AWS account level ? If yes, you must need to edit and disable Block Public access settings and then retry accessing.

Amazon S3 Block Public Access provides four settings. These settings are independent and can be used in any combination. Each setting can be applied to an access point, a bucket, or an entire AWS account. If the block public access settings for the access point, bucket, or account differ, then Amazon S3 applies the most restrictive combination of the access point, bucket, and account settings.

When Amazon S3 evaluates whether an operation is prohibited by a block public access setting, it rejects any request that violates an access point, bucket, or account setting.

Even after the above suggested change is not working, then I would request to have a support case with us along with S3 request IDs which you get with access denied error.

Refer: [1] https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html

AWS
RRP_AWS
répondu il y a 2 ans
  • ok I got it working. In addition to making the bucket public I had to make the object readable (which I thought I did but settings didn't save maybe?)

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