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?

gefragt vor 2 Jahren229 Aufrufe
2 Antworten
0
Akzeptierte Antwort

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
beantwortet vor 2 Jahren
0

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

Thanks.

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen