I have an AWS Ubuntu EC2 Intance and suddenly it became unresponsive. So I decided to restart server however server is not reachable anymore.

Although in the EC2 console it seems up & running (green); server is not reachable via SSH anymore and the screenshot of the server is as follows: enter image description here enter image description here

Any idea what might be wrong?

  • I've had cases before where there were problems with the underlying compute node that caused my EC2 instance to become unusable. Only option was to rebuild. Welcome to the cloud. – guzzijason Oct 2 '18 at 14:56
  • Can you restore from a recent snapshot? Snapshots can be taken automatically each night, and it's incremental, so storage costs are reasonable. If you create a new instance you could try to attach the disk of the existing instance to diagnose problems. While AWS does support long lived servers any cloud server should be thought of as ephemeral and a good backup / restore system used. – Tim Oct 2 '18 at 18:40
  • I think it is related with a HW error. I had stop / start server multiple times unfortunately couldn't make it up & running again. Fortunately it was a test node only, but I had to create a new instance from scratch since I had no snapshot available for this EC2! :( – Tolga Oct 2 '18 at 19:31

It's possible, depending on your IP settings for the instance, that you public IP address has changed when you restarted the instance. Most instances, by default, grab a new IP when restarted.

Check the details of the instance and make sure you are using the correct IP address.

  • Stop / start will get a new public IP, but a restart shouldn't. An elastic IP avoids this problem as it's allocated to you for as long as you need it. – Tim Oct 2 '18 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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