my s3 bucket static website can not accessed, Bucket website endpoint 400 Bad Request

0

Objects

Property 1

Property 2

Property 3

static

permission

website

angle N
asked 2 years ago679 views
2 Answers
0

Because your bucket is encrypted with customer-managed keys, I think you will have trouble serving it this way.

However, a better way to create a static website with customer-managed keys is to use an Amazon CloudFront distribution for the bucket. This blog describes how to use CloudFront origin access control to serve a website from a bucket that is encrypted with customer-managed keys: https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-cloudfront-introduces-origin-access-control-oac/

profile pictureAWS
DougL
answered 2 years ago
profile pictureAWS
EXPERT
kentrad
reviewed 2 years ago
0

I make sure that my bucket use AWS managed keys, not Customer managed keys

and all objects inside my bucket don't use any encrypted keys and inherit my bucket.

AWS managed keys

I not only review you says blog, but also review s3 and cloudfront official docs step by step. s3 don' t work, cloudfront don't work too.

please help me. what's wrong?

angle N
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions