cloudcaptainsh / cloudcaptain

Issue Tracker for CloudCaptain
13 stars 3 forks source link

ALB and custom target group #199

Closed jebl01 closed 6 years ago

jebl01 commented 6 years ago

Hi! Just noticed that it's possible to att an app to a custom target group using the CLI. How come this option isn't available in the console? Is it just a bug (since it's actually a drop down in the console - but with only the "auto create" option)?

Also, since AWS supports adding an ASG to multiple TG:s, it would be awesome if this was also possible with Boxfuse (today we rely on custom bootstrap code to add our instances to multiple TG:s...)

jebl01 commented 6 years ago

possible only in prod and test as it seems: https://github.com/boxfuse/boxfuse-issues/issues/200

axelfontaine commented 6 years ago

This is also possible from the Console. Make sure your app is of type load-balanced-https and click Configure in the desired environment:

image

jebl01 commented 6 years ago

Yes, but here the only alternative is the default... (auto)... Even when set from the CLI, the chosen target group shows as "blank"...

image

jebl01 commented 6 years ago

Also just realised that the created ASG in this scenario is created with Health Check Type EC2 and not ELB... is this a feature or bug?

As it is right now, my target group health check will just decommission the instance from "active duty", not make the ASG terminate it. This differs from how BF configures ASG:s from classic load balancers.

lukaswelte commented 6 years ago

@jebl01 the ASG having EC2 instead of ELB is now fixed #215