1 Answer
- Newest
- Most votes
- Most comments
0
Your instance appears to be immediately terminating for some reason.
Use the describe-instances command specifying your instance id to get the termination reason. Run the following command, replacing [instance_id} with the id you noted above.
aws ec2 describe-instances --instance-id [instance_id] --output json
This should tell you more about why the instance isn't launching.
There are a few different reasons why this could occur. You can see a more comprehensive list in Why can't I start or launch my EC2 instance? KnowledgeCenter Post
References:
answered 7 months ago
Relevant content
- asked 2 years ago
- asked 23 days ago
- asked a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago