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>

feita há um ano408 visualizações
2 Respostas
2
Resposta aceita

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
ESPECIALISTA
respondido há um ano
0

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

respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas