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 年前417 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容