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?

已提問 2 年前檢視次數 226 次
2 個答案
0
已接受的答案

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
已回答 2 年前
0

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

Thanks.

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南