The Object URL in the bucket when clicked does not show the webpage-please see my description below

0

I am the Root User on my S3 account. I have created a new Bucket inside my S3 account. I have unblocked all access. I have uploaded an object into that bucket. Inside that object is the index.html file. I click on that, open it and click on the Object URL link . The response I get is as follows. How do I resolve this, or do I just wait ? Thanks

This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>SVGNSSHFS3F1F9C3</RequestId> <HostId>ThL853r2VfHWQNBejWNv41mo6wXM3jDHOSTPOJu16Ct5VXrqrE5QsSgYEh14X6pXeyMHWxhH2KM=</HostId> </Error>

demandé il y a un an376 vues
2 réponses
2
Réponse acceptée

Hi, please follow this: https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteAccessPermissionsReqd.html

Most likely you need to add bucket policies too.

Hope it helps and if does, I'd appreciate whether answer can be accepted so that community can benefit for clarity when searching for similar questions, thanks ;)

profile picture
EXPERT
répondu il y a un an
0

Yes I added bucket policies as per your direction, and this resolved the matter. Thanks!

répondu il y a un an

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