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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南