ec2 (Spot instances) going from Runing - Initializing to Terminated
I do have an EC2 instance with a gitlab-manager runinc (it was working for the past year until this morning).
The gitlab-manager is configuerd to always keep 1 machine running on a spot instance.
"amazonec2-request-spot-instance=true",
This morning the Instances created from the manager aint working, It starts the instance but it stays with the "Status Check" Initializing. After some time the instance is shuted-down and a new request to create a new instance is made.
I tryed to debug the gitlab-manager but it seems that the problem is happening during the instance inicialization on AWS.
What can I do? How can I debug the reason for the instance to not initialize?
Have you already looked into the different events for Spot to try and get more information? https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#spot-instance-termination-notices Typically it will tell you if there's insufficient capacity if it's Spot related. Issue could be related to other items like underlying EBS volume for the AMI not being accessible or a number of other items. Can you launch the instance outside the autoscaling group and not as spot?
Relevant questions
Switch an EC2 instance from on-demand to spot pricing
AWS-User-7687569asked 3 months agoec2 (Spot instances) going from Runing - Initializing to Terminated
Felipe Colussiasked 20 days agoUnable to connect to ec2 this morning
dhruvkhasked 3 years agoMy EC2 tg4.micro simply disappeared today with no trace
brunofasked 9 months ago[ANSWERED] Storage from terminated instance not added to existing instances
Accepted AnswerAWS-User-3847924asked 4 months agoResize EC2 Spot Instances
AWS-User-7755424asked 3 months agoMy EC2 instance suddenly stopped working
Accepted AnswerAWS-User-6742391asked 4 months agospotInstanceCountLimitExceeded even though spot requests are cancelled
Trying2AWSasked a year agoWhy was my EC2 Instance deleted from my account?
AWS-User-9191320asked 2 years agoHow do I report a bug present with EBS snapshot feature in "AWS console"?
sandeep tuppadasked a month ago