So far I have been pretty happy with EC2. I first set up my instance in a shared ec2 enviroment at aws-console.com and it worked well for a while until my image disk filled up and it blocked me from ssh login for some reason. EC2 gives you 160 GB of storage, but only 10 of that is on the core image. The rest is on a /mnt disk. So when you save your image you only get the 10 GB of the image, not the stuff on the /mnt disk.
My problem was that the logs quickly ran up the storage and tied things up. I ended up losing about a weeks worth of work/entries etc - bad news, but not the end of the world.
On my next, go at it I put the logs on the /mnt disk with a symbolic link. That way I had no problems with my image.
I did have another problem occur. Something went bad on Amazon’s network and somehow that corrupted all my databases and blocked me from connect to my instance via ssh. Again, I had to start up a new image. Lost a few days work in the process.
Since then, I have been doing more regular bundling of my images and mysql dumps. Definitely a learning process that takes some getting used to.
I still need to write a script for a cronjob to do the mysql dump on a regular basis.

My name is Alex Nesbitt. This is my blog. I publish
Comments on this entry are closed.