Instance stuck in 'shutting-down' state

0

The EC2 instance "i-0195ea5cf3147180a" is stuck in "shutting down" state and won't ever actually shut down. Attempting to terminate via GUI doesn't work, and attempting to start, restart, or terminate via the CLI doesn't do anything either. It seems we don't have the tools necessary to resolve this, and I was directed to start a thread here to get help.

Any assistance would be great
-Tom

asked 5 years ago1644 views
5 Answers
0

Hello TomL-aws,

This is just to confirm that our internal service team has successfully assisted your instance i-0195ea5cf3147180a to shut-down.

Once more please accept our apologies for the inconvenience caused. Please let us know if you need any further help.

Regards,
awstomas

AWS
answered 5 years ago
  • I have the same issue. Two instances stuck in the same state. Tried to force but it did not help.

    $aws ec2 stop-instances --instance-id i-02bd2e6ba6fab87b0 --force --region us-east-2 --profile clddevau An error occurred (IncorrectInstanceState) when calling the StopInstances operation: This instance 'i-02bd2e6ba6fab87b0' is not in a state from which it can be stopped.

    $aws ec2 stop-instances --instance-id i-0d3c8c0823dda262e --force --region us-east-2 --profile clddevau An error occurred (IncorrectInstanceState) when calling the StopInstances operation: This instance 'i-0d3c8c0823dda262e' is not in a state from which it can be stopped

0

Hello,

Thank you for your post.

The instance is stuck in shutting down due to problems with underlying host. Can you please try to perform force stop on the instance?

Force the instance to stop using either the console or the AWS CLI.

To force the instance to stop using the console, select the stuck instance, and choose Actions, Instance State, Stop, and Yes, Forcefully Stop.

To force the instance to stop using the AWS CLI, use the stop-instances command and the --force option as follows:

aws ec2 stop-instances --instance-ids i-0123ab456c789d01e --force

My apologies for any inconvenience this may have resulted in.

References:
[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html

AWS
answered 5 years ago
0

Hi Vicky,

Thanks for your response, I was unaware of the --force operator for this sub-option. Unfortunately it didn't work either :( . I also tried to stop the instance from the Web UI and that didn't work either.

$ aws ec2 stop-instances --instance-id i-0195ea5cf3147180a --force

An error occurred (IncorrectInstanceState) when calling the StopInstances operation: This instance 'i-0195ea5cf3147180a' is not in a state from which it can be stopped.
$

answered 5 years ago
0

Hello TomL-aws,

Thank you for letting us know about the problem. The issue seems to be related to our underlying AWS infrastructure and so I have created an internal ticket for our service team to deal with it. I will inform you when the issue is resolved.

Thank you for your patience and please accept our apologies for the inconvenience caused.

Regards,
awstomas

AWS
answered 5 years ago
0

That instance is shutdown/gone now.

Thank you for your help!

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions