5. HTTPS
jicoing
Posted on January 1, 2021
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.
ACM
I had to setup a certificate from ACM
with the domain name www.komlalebu.com
I registered from Route53
.
Cloudfront
I had to setup the cloudfront distribution with requested custom SSL certificate
, and also configure the alternate domain name
Then I had to configure the Cloudfront origin domain name
to point to the S3 static URL endpoint. Paste everything excluding http://
S3 static website URL: http://blog.komlalebu.com.s3-website-us-east-1.amazonaws.com which we had previously configured.
Once it was done, I got my Cloudfront secure
distribution URL.
Cloudfront Domain name: https://d1cs99***.cloudfront.net
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.
And it was done. The website is secure.
Posted on January 1, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.