Cannot terminate EC2

0

Hi, I cannot terminate EC2 instances i-0a63be202eeedb72c and i-0164358bd2d08565f. It has be been in the shutting down state for 1 days. The status message is "Server.InternalError: Internal error on launch". Could you please help? Regards

preguntada hace 2 años294 visualizaciones
1 Respuesta
0

Hello,

To check the most recent state of your instance, choose the refresh icon in the Amazon EC2 console. Or, run the describe-instances command in the AWS Command Line Interface (AWS CLI), and please make sure that you’re using the most recent version of the AWS CLI. To check the recent state of your instance in the AWS CLI you can use the command 'aws ec2 describe-instances --instance-ids <instance-id> --output json'. You can then look at the State Code and Name in the JSON response to get the most recent state of your instance.

You may also be seeing the "Server.InternalError" message if your EBS volumes aren't attached to your instances correctly or if it is in an error state. The solutions for this can be found here: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-client-internal-error/

If your instance is still showing as shutting down after following the above instructions, try either forcefully shutting it down via the Management Console or via the CLI with the command 'aws ec2 stop-instances --instance-ids <instance-id> --force'

You may also try creating an AMI of the stuck instance and try launching another EC2 with that AMI. Steps for these potential solutions are provided in this document: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html

respondido hace 2 años
AWS
INGENIERO DE SOPORTE
revisado hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas