Setting Up an HTTPS Static Site Using Amazon AWS S3 and Cloudfront
For many years I have been paying a cloud server provider to host my personal site. At some point I had a blog, but lately, with blog communities like Medium, it had been reduced to a one page index.html.
But the cost of having one cloud server, even if it’s the tiniest one, ends up costing around $15 month, which if you add up in months and years, can become a good chunk of money.
So at the beginning of this year, I decided to look at two technologies that can help me with this, cost-wise. One is a static site generator and the second is Amazon’s AWS service which allows you to host static websites with HTTPS on S3 and CloudFront.
The amazing thing about using S3 to host your site is that it costs literally a few cents per day. Here’s a chart of what I’ve paid for hosting my personal static site for half of the month of February 2016.
I will write more about static site generators in another post, but for this post, I will concentrate on how to setup Amazon AWS to host your secure static site.
Why is it important to have your own domain?
With Medium and Facebook and Wordpress and Tumblr people still think it’s not important to have your own URL and your own site. I personally…