ec2 (Spot instances) going from Runing - Initializing to Terminated

0

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?

질문됨 2년 전369회 조회
1개 답변
0

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?

profile pictureAWS
전문가
Rob_H
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠