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?

demandé il y a 2 ans228 vues
2 réponses
0
Réponse acceptée

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
répondu il y a 2 ans
0

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

Thanks.

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions