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

已提問 2 年前檢視次數 294 次
1 個回答
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

已回答 2 年前
AWS
支援工程師
已審閱 2 年前

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

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

回答問題指南