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>

已提問 1 年前檢視次數 419 次
2 個答案
2
已接受的答案

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
專家
已回答 1 年前
0

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

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南