Why is my instance terminating immediately after launching or starting an instance?

Lesedauer: 1 Minute
0

My Amazon Elastic Compute Cloud (Amazon EC2) instance state changes from pending to terminated immediately after launching a new instance, or after starting a stopped instance. How can I troubleshoot this issue?

Resolution

First, determine the termination reason using the Amazon EC2 console or AWS Command Line Interface (AWS CLI). Then, follow the troubleshooting steps for that reason. For more information, see Instance terminates immediately.

Note: If you receive errors when running AWS Command Line Interface (AWS CLI) commands, make sure that you’re using the most recent AWS CLI version.


Related information

Instance volume limits

describe-instances

Using key policies in AWS KMS

Why am I unable to start or launch my EC2 instance?

AWS OFFICIAL
AWS OFFICIALAktualisiert vor 3 Jahren