And, after a bit more than a year I decided to shutdown my AWS instance, which BTW I recently upgraded from a Micro to a Mini one.
I originally decided to move to AWS to have enough flexibility to basically do whatever the hell I wanted with my server leaving behind the classic shared hosting. I was indeed a little more expensive but not comparable with a VPS.
Initially the site was running a WordPress instance but recently I decided to move into OctoPress. Such change also opened a new chance: Move to a completely free environment by using GitHub Pages. After some thinking I finally decided to make the move, and to be honest it didn’t took more than 30 mins.
The hardest part so far was to change my DNS settings and I mean “hardest” cause it was on my registrar page and not on my command line. Another task I had to do and maybe (just because I have still some level of ignorance of how OctoPress internals work) was to clone a brand new install of OctoPress, set it up as a GitHub blog and then move my files over it. Everything else was just straight commits and pushes to GitHub.
The only remaining task was to setup the job I created to repost my old posts which was initially running on a set of cron jobs. Since this was so far the only reason so far to have shell access on the server so I could setup my cron jobs my decision was to instead use AppFog’s cloud service and do some updates to my reposter to support running with its own “cron -like” job. The change was in fact simple as well, I just had to modify the original code replacing my option to run the process every X seconds with a node module called “cron” and then just detect if there is (or not) a cron string to use. Some extra things I had to do was to include a couple of extra files to shim CoffeeScript command line for AppFog and create a simple “status” server to verify the app is actually running and it has the right parameters. If you want to check out the changes you can do so on its GitHub repo.