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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则