Thursday, July 30, 2020

AWS S3 HTTPS static website hosting

How to host a static website with https using amazon s3

S3 + CloudFront + ACM + domain (DNS)

"After you configure your bucket as a static website, you can access the bucket through the AWS Region-specific Amazon S3 website endpoints for your bucket. Website endpoints are different from the endpoints where you send REST API requests. For more information, see Website endpoints. Amazon S3 doesn't support HTTPS access for website endpoints. If you want to use HTTPS, you can use CloudFront to serve a static website hosted on Amazon S3. For more information, see Speeding up your website with Amazon CloudFront."

No comments: