Skip to content

EC2 Instances not getting added to target groups

0

Our service is presently working on FleetB with launch configuration to launch EC2 instances. We are trying to move to Launch Template. So enabling fleet A for it. But the instances that are getting launched by FleetA are not getting added to target groups as a result that host is not serving traffic at all. We have tried to enable FleetA on launch configuration itself without creating launch template yet. But still we couldn't able to get those instances serve the traffic. The templates for creating AutoScaling groups for both are same, yet we can't see the instances that are created by autoscaling group serving the traffic.

1 Answer
2

Hello.

Is the target group to which you want to link EC2 set in the AutoScaling group settings?
https://docs.aws.amazon.com/autoscaling/ec2/userguide/tutorial-ec2-auto-scaling-load-balancer.html#as-register-lbs-create-asg-console

If the target group is linked to the AutoScaling group, you can check it from the Load balancing item as shown below.
a

EXPERT
answered a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.