Skip to content

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

asked 20 days ago40 views

2 Answers
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

answered 20 days ago

EXPERT

reviewed 20 days ago

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?

answered 20 days ago

EXPERT

reviewed 19 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.