Set up static website hosting with SSL/TLS on S3 and Cloudflare
One of the popular ways of serving S3 web hosting with SSL/TLS is to use CloudFront Distributions. Cloudflare is another great choice as it is free and offers a lot of features. That’s what we are going to use today. It allows HTTPS traffic in between the clients and the Cloudflare network. Requirements: Have a valid non-expired domain (skip this if you already own a domain) Enable public access on S3 permissions and config bucket policy Enable version control and static website hosting on S3 Change to Cloudflare’s name server on the domain registrar Add DNS records and config SSL/TLS on Cloudflare Have a valid non-expired domain (skip this if you already own a domain) It’s not important which registrar you buy your domain, as long as the domain is still valid....