I’ll introduce how to support HTTPS with AWS S3 + CloudFront + Route53.
Background: Cannot Access HTTPS with S3 + Route53 Alone
While AWS S3 + Route53 allows HTTP access, it doesn’t support HTTPS access.
Since there’s probably no desire to allow only HTTP access these days, it’s good to understand that S3 + Route53 alone cannot support HTTPS when hosting static sites.
I recommend using CloudFront as described below to enable HTTPS support.
Solution: HTTPS Support with S3 + CloudFront + Route53
You can support HTTPS by using CloudFront in addition to S3 + Route53.
Here are articles I often reference:
- AWS Official: Using CloudFront to serve HTTPS requests to Amazon S3 buckets (CloudFront を使用して Amazon S3 バケットに対する HTTPS リクエストを処理する)
- SSL-ifying S3 Websites with CloudFront - Qiita (CloudFrontでS3のウェブサイトをSSL化する - Qiita)
That’s all from the Gemba on wanting to implement HTTPS support with AWS S3 + CloudFront + Route53.