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
feita há 5 meses169 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 5 meses
profile pictureAWS
ESPECIALISTA
avaliado há 5 meses
  • 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.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas