sigdba / sig-shared-sceptre

Shared templates for Sceptre/CloudFormation
2 stars 0 forks source link

ECS Auto-stop would work better if starter did health-checking #52

Closed dboitnot closed 2 years ago

dboitnot commented 2 years ago

Because ELB does not do health-checking on target groups not associated with a load-balancer, the starter passes the user to the service as soon as a target is registered in each group. It'd be better if the starter could do it's own health-check requests and pass the user along once it gets a healthy hit. There should be a limit to this, though since even if the service starts thrashing we'd rather pass the user into the failed state than keep them in the starter forever.

dboitnot commented 2 years ago

The starter now looks for at least one healthy target in each TG.