Let’s first get these things out of the way. This CloudFormation Template is for a Personal Blog. The primary objective of this exercise is minimizing the cost. Therefore you will not see any RDS instances or Multi AZ deployments. Everything will be installed on a single EC2 instance to keep the costs low. If you are concerned about losing data, take Snapshots frequently so that you can restore from a Snapshot if a disaster strikes.
Enable HTTPS on your Website for Free Cont…
Now let’s try to automate the certificate generation. For this I am going to refer to a post published on a site called pbxhacks.com. Please do exercise caution when you try the scripts below as they will change all the TXT
records in your domain.
Enable HTTPS on your Website for Free
It’s true. You do not have to pay 200 bucks just to get HTTPS working on your Website.
Self Signed SSL Certificates
These are the steps to create a self signed SSL Certificate.
Generate the Key.
Comments for Your Blog with Disqus
Enabling others to comment on your posts is a nice to have feature for a blog. Disqus is an online tool which can be used to do this. It is pretty easy to integrate with your Jekyll Site.
Use a Custom Domain to send Emails with Mailgun
This is something pretty straight forward. There are two options for you to do that.
Use a Custom Domain to receive Emails with Mailgun Part 2
I got a response from Mailgun within a few hours saying now my domain is enabled. Looks like the domain is active now. Emails to info@pubudu.online
are now getting delivered.
Use a Custom Domain to receive Emails with Mailgun Part 1
The next thing you want after purchasing your new domain is to get an email address with that domain name.
I decided to use Mailgun for that since maintaing your own mail servers is a cumebrsome task. I am not going to create a new Mailgun account since I already have one. You might have to enter your Credit Card information when you register. But you will not be charged untill you send more than 10 000 emails a month.