EC2 Instance Stuck in Shutting-Down Status After Reboot Command Sent

0

Hello,

Before knowing that there was an EC2 instance availability issue in CA-Central-1, I had a single EC2 i-08a04082571f2659e show failed status checks. I opted to attempt a restart of the EC2. However it is now stuck in a Shutting-Down status. I need to stop and start EC2. It is used by an external client of mine for a small web site. As it is in a Shutting-Down state, I cannot stop or force stop the instance. I would appreciate any help to stop the instance to allow me to start it again.

Enter image description here

Thank you,

Sam
已提问 5 个月前169 查看次数
1 回答
0

Hello.

It may be faster to create a new EC2 from a backup using an EC2 snapshot, etc., than to wait for it to stop.
If you wait, it will probably stop someday, but it may take some time, so you may want to consider restoring from a snapshot as a candidate.
https://docs.aws.amazon.com/prescriptive-guidance/latest/backup-recovery/restore.html#instance-from-snapshot

You may be able to forcefully stop it using the following command.
Try running the command from CloudShell.
https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html#how-to-get-started

aws ec2 stop-instances --instance-ids "instance-id" --force
profile picture
专家
已回答 5 个月前
profile pictureAWS
专家
已审核 5 个月前
  • Yes, that is one option I am exploring. I think however, I will move to move the EBS data into EFS and setup a ASG. I don't think we can use the cloudshell command to force stop it, as it is in a shutting-down state. This is what is stated in the instance availability notice.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则