Skip to content

Why do my GPU and bare metal Amazon EC2 instances take a long time to stop?

1 minute read
0

My GPU and bare metal Amazon Elastic Compute Cloud (Amazon EC2) instances take a long time to stop.

Resolution

When you stop an EC2 instance, the instance enters the Stopping state as Amazon EC2 completes the following procedures:

  • Detach the network interfaces.
  • Prepare the Amazon Elastic Block Store (Amazon EBS) volumes.
  • Manage the AWS resources.

Even if the operating system (OS) completes its shutdown procedures, Amazon EC2 might still be running workflows to gracefully clean up the instance. Instances with NVIDIA GPUs or that run on a bare metal host have additional cleanup processes. You must wait for these workflows to complete before the instance stops.

Note: AWS charges you only for instances that are in the Running state. After the instance enters the Stopping state, you're no longer charged for the instance usage. However, you might still receive charges for attached Amazon EBS volumes.

AWS OFFICIALUpdated 20 days ago