Tiernan's Comms Closet

Geek, Programmer, Photographer, network egineer…

AutoScaling with Amazon

I have a few Amazon EC2 instances running on a project, and one of these instances was known as the Zombie Instance! Every time i killed it, it came back to life a few min later… I found out that i, at some point, set that instance to be in an AutoScaling group. Any time the instance died, Amazon would check and restart the instance. So, how did I kill this undead instance? Check out “Auto Scaling with Amazon EC2 II” on LLOVIZNA’s blog. They had the same issue i had (trying to kill the Auto Scaling group gives an error) and figured out how to do it. Handy stuff. Now the instance is dead, and hopefully it wont come back any time soon… Mind you, When AutoScaling works correctly, it can be very cool indeed!

My new Git Powered Site

So, this site is brought to you by GIT, Jekyll and Magic… here is how i did it…

  • I have a Linux VM running the site. Its an Ubuntu 12.04 server. On that i installed Jekyll.
  • I also have gitolite installed for personal git repos.
  • In the Git Repo for this site, under the hooks directory, I added a post-receive file which I got from here originally.
  • Apache is set to serve the directory that Jekyll produces… That’s what you are reading here.
  • If you are interested, you can find the code and config for this site on my github repo