Troubleshooting terminating (shutting down) your instance

It you terminate your instance, it will change its state to shutting-down. But sometimes the following scenarios happen:

Instance termination delay:

  • The instance is in the shutting-down state for more time than a few minutes, due to shutdown scripts run by the instance
  • Problems with the underlying host machine
  • Amazon EC2 will consider this instance as a stuck instance and terminate it

Terminated instance still displayed:

If the terminated instance still remains visible and has not been deleted, then you can contact the support team.

Automatically launch or terminate instances:

Following are reasons that you have used Amazon EC2 Auto Scaling or Elastic Beanstalk to scale your resources ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.