Tracing an error with an auto scaler group

0

My learning of AWS has been very haphazard so far. So forgive me for what is probably a dumb question.

I have written a CF Template that creates an AutoScaler group. All works fine until the AutoScaler tries to create the initial instance to satisfy the Min/Max/Desired capacity. Every time it creates an instance the instance is terminated. When I look at the instance that was terminated all that I can see is that there are no Security Groups. But yet I do see security groups in the AS group.

So the question I have is is there any good way for me to debug this so that I can figure out what is failing?

preguntada hace 2 años230 visualizaciones
2 Respuestas
0
Respuesta aceptada

Hello,

A lack of security groups won't terminate an instance itself so most likely not the issue. Have you looked at CloudWatch Logs and possibly CloudTrail to determine if there are any hints in the logs?

Doc link: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-monitoring-features.html

profile pictureAWS
respondido hace 2 años
0

I totally forgot about cloudwatch logs.... I will look there.

Thanks.

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas