aws

5. HTTPS

jicoing

jicoing

Posted on January 1, 2021

5. HTTPS

After creating the AWS S3 static website it was time for securing the website for communication over the network using HTTPS. Because we don't want anybody spying on us.

Alt Text

ACM

I had to setup a certificate from ACM with the domain name www.komlalebu.com I registered from Route53.

Alt Text

Cloudfront

I had to setup the cloudfront distribution with requested custom SSL certificate, and also configure the alternate domain name

Alt Text

Then I had to configure the Cloudfront origin domain name to point to the S3 static URL endpoint. Paste everything excluding http://

Alt Text

S3 static website URL: http://blog.komlalebu.com.s3-website-us-east-1.amazonaws.com which we had previously configured.

Alt Text

Once it was done, I got my Cloudfront secure distribution URL.
Cloudfront Domain name: https://d1cs99***.cloudfront.net

Alt Text

Route53

I had to setup Route53 with an alias record with name www.komlalebu.com and the alias value pointing to the Cloudfront Domain name.
Alt Text

And it was done. The website is secure.

Alt Text

💖 💪 🙅 🚩
jicoing
jicoing

Posted on January 1, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related