Why is my instance terminating immediately after launching or starting an instance?
"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?"
"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?ResolutionFirst, 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 informationInstance volume limitsdescribe-instancesUsing key policies in AWS KMSWhy am I unable to start or launch my EC2 instance?Follow"