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>

gefragt vor einem Jahr416 Aufrufe
2 Antworten
2
Akzeptierte Antwort

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
EXPERTE
beantwortet vor einem Jahr
0

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

beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen