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
demandé il y a 4 mois160 vues
1 réponse
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
EXPERT
répondu il y a 4 mois
profile pictureAWS
EXPERT
vérifié il y a 4 mois
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions