跳至内容

EC2 INSTANCE WILL NOT SHUT DOWN - i-0ef962571c7fd467b

0

INSTANCE ID: i-0ef962571c7fd467b

HAVE ATTEMPTED NORMAL SHUTDOWN, FORCE SHUTDOWN, and ALL OTHER TECHNIQUES. I NEED THE SERVER TERMINATED ASAP

已提问 1 个月前46 查看次数

2 回答
0

I understand you're experiencing difficulty stopping your EC2 instance. Here are the steps you can take to resolve this issue:

If your instance is stuck in the "stopping" state, you can attempt a force stop using the AWS CLI with the following command:

aws ec2 stop-instances --instance-ids <your-instance-id> --force

If you need to bypass the graceful OS shutdown during the force stop, you can add the --skip-os-shutdown option:

aws ec2 stop-instances --instance-ids <your-instance-id> --force --skip-os-shutdown

If force stopping continues to fail and you need immediate assistance, I recommend visiting the AWS Support Center at https://console.aws.amazon.com/support/ to add correspondence to your existing case or create a new technical support case. The support team can investigate the underlying host computer issues that may be preventing the instance from stopping properly.

Please note that there is no charge for instance usage while an instance is in the "stopping" state or any other state except "running."

If you ultimately need to replace the instance, you can create an Amazon Machine Image (AMI) from the stuck instance and launch a new instance from that AMI as an alternative solution.
Sources
Troubleshoot Amazon EC2 instance stop issues - Amazon Elastic Compute Cloud

已回答 1 个月前

专家

已审核 1 个月前

0

The cause is often an issue with the underlying host computer or the OS failing to respond. Are you able to log in to the EC2 instance and shut down the OS?

已回答 1 个月前

专家

已审核 1 个月前

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

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