To deploy the website from scratch, follow the deployment instructions. The instructions walk you through the following:
- setting up an Ubuntu virtual machine using AWS VPC and EC2
- setting up DNS for your domain using AWS Route 53
- setting up a site down notification using AWS SNS and Cloudwatch
- setting up Apache for separate production and development sites, www to non-www redirection, "clean" URLs, and no server-side scripting
The requirements are a domain name, an Amazon Web Services account, and roughly $6 per month to spend on it. The result is a running instance of this website, or a different website, if you simply paste in different files at the end! The domain name is optional and you could use a t2.micro instead of a t2.nano EC2 instance to take advantage of free tier and pay near $0 per month.
To set up my preferred development workflow, follow the workflow setup instructions. The instructions walk you through the following:
- getting Sublime Text 3 and the package Sublime SFTP
- configuring Sublime SFTP and
sshd
(only on Mac OS) for remotely editing files on your EC2 instance - configuring
git
for separate production and development branches andgit
-based deployment