Automatically re-register instance to target group on SHARED Load Balancer

Viewed 33

enter image description here

Above you can se an ilustration of my aws environment. Maybe this will help ilustrate the problem.

I have a DEV environment with multiple Beanstalk projects being managed by one Shared Application Load Balancer.

It works great pointing the listeners to each target groups BUT

IF I Rebuild an environment or by any chance AWS kills one of my instances I have to manually re-register that new instance to the respective target group.

Is that any way to do it automatically? I've tried autoscalling groups with no success.

0 Answers
Related