Skip to content

EC2 instance stuck in "stopping" state for 1+ hour — force stop (incl. Skip OS shutdown) has no effect

0

Instance ID: [i-07966c8443012dccf] Region / AZ: [ap-northeast-1a] Instance type: [t3.small] AMI / OS: Ubuntu 24.04 (EBS-backed)

Timeline (UTC, 2026-10-08):

  • ~14:00 A user process on the instance exhausted memory. The instance stopped responding to SSH and ICMP (no response over the VPC either).
  • ~14:15 Instance state → Stop instance from the console. Instance moved to "stopping" and has stayed there since.
  • ~14:20 Instance state → Force stop instance. No change.
  • ~14:45 Force stop again with "Skip OS shutdown" checked. No change.
  • Now (~[15:3x]) the instance is still in "stopping". It has been in this state for more than [60] minutes.

asked a month ago149 views

2 Answers
0
Accepted Answer

Hello.

As mentioned in the thread below, it might take some time, but I believe it will stop automatically.
https://repost.aws/ja/questions/QUhksnem93QHGN1l45NvB3Ww/my-ec2-instance-is-stuck-in-the-shutting-down-state-for-more-than-18-hours

EXPERT

answered a month ago

EXPERT

reviewed a month ago

  • Yes, it stopped at last, thanks!

0

When an EC2 instance remains stuck in the 'stopping' state for an extended period despite multiple force stop attempts (including with 'Skip OS shutdown'), this typically indicates an issue with the underlying host computer. Here are your next steps:

First, try force stopping the instance again using the AWS CLI rather than the console, as the CLI can be more effective in some cases. Use the stop-instances command with the --force parameter.

If force stopping continues to fail after several attempts, you have two main options to recover:

  1. Create an Amazon Machine Image (AMI) from the stuck instance, then launch a new instance from that AMI. This preserves your instance configuration and data.

  2. Detach the root EBS volume from the stuck instance and attach it to a new instance as the root volume. This allows you to recover your data and continue operations.

Important note: You will not be charged for instance usage while the instance remains in the 'stopping' state or any state other than 'running'.

If these steps don't resolve the issue, you can request help on AWS re:Post or create a technical support case through the AWS Support Center at https://console.aws.amazon.com/support/. When the force stop mechanism fails repeatedly, AWS Support can investigate potential underlying infrastructure issues that may require intervention at the host level.
Sources
Troubleshoot Amazon EC2 instance stop issues - Amazon Elastic Compute Cloud

answered a month ago

EXPERT

reviewed a month 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.