Archive for the ‘Amazon EC2’ Category

Opensource and me in 2009.. contd

April 15, 2009

Opensource is rocking everywhere specially in these economic crisis everywhere, I have seen many people switched to Opensource or Linux. So, Opensource is growing and that is really a good thing. The article I talked about in the last post has been published on CIOPakistan. I hope I will be writing more for open source this year.

Coding for Google summer of code will be starting soon as they will publish the accepted students. So best of luck to everyone who has submitted the application/proposal. I am happy this year more students applied to Summer of Code and I was able to introduce the Summer of Code to atleast one student. I am also very determined to work on any Open Source project specially which will put me to some real work this summer if I am not accepted in Summer of Code.

I will also be starting a series of system admin howtos for 2 reasons, one to take notes and document every system admin activity. Second most important is to share the knowledge with others. So the series of howtos will soon start getting published and it can be either from today or tomorrow too.

Have been really working on some real solutions on Amazon EC2 and have also tried other cloud services and they all really compatible and top of each other for one feature or the other. It is really good to see how cloud is changing the way web used to be. There is also one more project that I am working on which is realted to cloud management and scalability and will soon be released in public as a service. 🙂

What to do if your Amazon EC2 instance becomes unresponsive?

October 5, 2008

I have been very badly hurt by this, as our programmers were very actively working on PHP application and all of a sudden yesterday my Aamzon EC2 instance stopped responding to all TCP/UDP communication. I tried everything including ec2-reboot but nothing worked out, there were few major changes in the code which were not backed up and I fear losing them.

The distribution was CentOS 5 and I was running apache and ha-proxy on the instance, ha-proxy was running for a possible new instance launch to accommodate the load. Thanks that I had MySQL db on a different instance. The instance was launched using RightScale (because my client wanted it). The RightScale guys had some code changes in their Dashboard but I doubt that will effect the running instance.

I am not going to terminate the instance until there is the a last ray of hope. I am posting this question to some major forums including slashdot and others in the hope that I might get some help. So, if any of you have ever faced this situation, how you dealt with it? How you recovered your data from EC2 instance? And how did you get back you instance to respond to TCP communication?

UPDATE: That was a hardware fault and after sometime the instance came back to normal without losing anything. 🙂 Thanks everyone who helped me during that time.