Skip to content

My Ec2 instance stops completely and does not stop.

0

My Instance ID to stop : i-0044386686a8581f4 It's been more than 10 minutes since I forced the instance to stop, but it doesn't shut down at all.

asked a year ago122 views
1 Answer
0
Accepted Answer

I understand you're having trouble stopping your EC2 instance with ID i-0044386686a8581f4. If your instance has been stuck in the stopping state for more than 10 minutes, even after attempting a force stop, here are some steps you can take:

  1. First, ensure you've used the force stop option. If you haven't already, you can do this through the Amazon EC2 console by selecting the instance, choosing "Instance state," then "Force stop instance," and finally "Stop."

  2. If you prefer using the AWS CLI, you can force stop the instance with the following command:

aws ec2 stop-instances --instance-ids i-0044386686a8581f4 --force

  1. If the instance still doesn't stop after these attempts, it's possible there's an underlying issue preventing the shutdown. In this case, the best course of action is to seek assistance from AWS support.

  2. You can post a request for help on AWS re:Post, including your instance ID and describing the steps you've already taken. This community forum can often provide helpful insights.

  3. If you have an AWS support plan, it's recommended to create a technical support case in the AWS Support Center. AWS support staff can investigate the issue more thoroughly and provide tailored assistance.

  4. In some cases, if an instance remains stuck for several hours, Amazon EC2 may treat it as a stuck instance and forcibly terminate it. However, this is not guaranteed and can take a considerable amount of time.

  5. As a last resort, if you need to move forward with your work, you might consider creating a replacement instance. You can do this by creating an Amazon Machine Image (AMI) from the stuck instance and launching a new instance using this AMI.

Remember, it's important to investigate why the instance is not stopping properly to prevent similar issues in the future. This could be related to processes running on the instance, instance store volumes, or other factors that AWS support can help identify.
Sources
Troubleshoot Amazon EC2 instance stop issues - Amazon Elastic Compute Cloud
Troubleshoot Amazon EC2 instance termination issues - Amazon Elastic Compute Cloud

answered a year ago
EXPERT
reviewed a year 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.