Skip to content

My instance not stopping and it is stuck since more than 20 mins now. URGENT PLEASE HELP

0

Instance ID i-050b744091744caaf

Public IPv4 address: 18.207.36.69

I have already tried stop, force stop multiple times and waited more than 20 mins.

Please help a lot of my websites are downl

asked 10 months ago138 views
1 Answer
0

I understand this is an urgent situation with your EC2 instance stuck in a stopping state for over 20 minutes, affecting multiple websites. Here are some steps you can take to address this issue:

  1. If you haven't already, try using the AWS CLI to force stop the instance with this command:

    aws ec2 stop-instances --instance-ids i-050b744091744caaf --force

  2. If the force stop command doesn't work after a few minutes, the next step is to seek direct assistance from AWS. There are two ways to do this:

    a. Post a request for help on AWS re:Post. Include your instance ID (i-050b744091744caaf) and describe the steps you've already taken, including the force stop attempts.

    b. If you have an AWS support plan, create a technical support case in the AWS Support Center. This is recommended for faster, more tailored assistance.

  3. While waiting for a response, consider creating a replacement instance as a temporary solution:

    • Create an Amazon Machine Image (AMI) from the stuck instance.
    • Launch a new instance using this AMI.
    • Update your DNS or load balancer settings to point to the new instance.
  4. Be aware that if the instance remains stuck for several hours, Amazon EC2 may eventually treat it as a stuck instance and forcibly terminate it. However, this is not guaranteed and can take a considerable amount of time.

  5. For future reference, it's important to investigate why the instance is not stopping properly to prevent similar issues. This could be related to processes running on the instance, instance store volumes, or other factors that AWS support can help identify.

Remember, while your instance is in the 'stopping' state, you are not being charged for its usage. However, given the urgency of your situation with websites being down, pursuing immediate assistance from AWS support is advisable.
Sources
Troubleshoot Amazon EC2 instance stop issues - Amazon Elastic Compute Cloud
My Ec2 instance stops completely and does not stop. | AWS re:Post
AWS Instance stuck in shutting-down | AWS re:Post

answered 10 months ago
EXPERT
reviewed 10 months 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.