Background:
Some time ago I have an instance on Amazon Web Services EC2, loaded with Ubuntu version 10.x. As soon as version 11 came out, I decided to upgrade it. I did, and everything seemed fine. I even restarted Ubuntu itself (just the OS itself, not the instance), and it worked again. But when I stopped and started the instance itself, Ubuntu would not work again ever.
Reason:
I imagine the reason: Ubuntu must have had some kind of "interface software" (so to say) to communicate itself with the virtualization software outside. For example, when we restart the whole instance and it gets a new IP address, there must be a way for the virtualization software to communicate with Ubuntu and tell it what is the new IP address so Ubuntu will boot knowing it. So I guess that when we start our instance using a preloaded well known AMI, that AMI contains an Ubuntu installation that already include that interface software inside. So I guess that when I upgraded Ubuntu from 10.x to 11, that software inside was lost.
Question:
Is there a way to know how to install again that component/module/package (or whatever the name is) just after I upgraded the instance, so it will work again when I restart the whole instance? I don't want to be forced to create a new Ubuntu instance from scratch, from a new AMI, if I want to upgrade. I would hate to install all my software again.
I don't think the Amazon Images have anything like that, I would rather expect that some change did prevent some service from starting in the updated Ubuntu and thus caused the instance to become unavailable. I had such problems with the sshd in the past, which rendered the instance unavailable like you describe.
In the Amazon AWS Console you can look at the boot-log of the instance. This might give you some information about why the instance did not start up any more.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With