If I launch an instance on Amazon's EC2, how can I make my application failure resilient? It seems I'd need a machine to monitor my instance to check if it goes down, but then, what if that monitor goes down? I think I'm missing something.

The context is this: http://aws.amazon.com/articles/1632

It says, "For instance, if the instance on which controller thread was running dies, it can be brought up and resume the previous state as if nothing had happened. This was accomplished by creating a pre-configured Amazon Machine Image, which when launched dequeues all the messages from the Amazon SQS queue and their states from the Amazon SimpleDB domain item on reboot."

What brings the instance back up? Is this automatic?

link|improve this question
feedback

1 Answer

I found the answer!

Amazon provides a service called Auto Scaling. The service can guarantee that a particular number of instances are running. If one fails, it will automatically launch a new one.

http://aws.amazon.com/autoscaling/

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.