Cloud Posse Reference Architecture
Is there any way to turn off the health checks on an ASG?
context: a set of github runners are failing health checks due to the code causing the runner to show unhealthy. it is a temporary time period where the compute is hammered, but we need it to live through that moment and not cause the runner to be decommissioned.
"" is ignored so I’m assuming the ASG requires a health check
could you just increase the
300 seconds to something higher?
I don’t think health checks can be disabled
you could add
HealthCheckis suspended • Amazon EC2 Auto Scaling stops marking instances unhealthy as a result of EC2 and Elastic Load Balancing health checks. Your custom health checks continue to function properly. After you suspend
HealthCheck, if you need to, you can manually set the health state of instances in your group and have
Suspend and then resume one or more of the standard processes that are built into Amazon EC2 Auto Scaling.
oh that could work. we turned off autoscaling for now, but we can look into that for sure.
That doc says
prefix: logs/, but the code will create a double slash since the format is
%s/%s/ resulting in:
A simple fix is to change this line to include a
replace(//, /, ...) sort of thing, but there could be a better fix of clearing a suffix
/ or something else.
We’re tackling this internally soon, but want to raise it for the larger community
@Gabriela Campana (Cloud Posse) looks like a ticket to fix is needed
@Gabriela Campana (Cloud Posse) we can add this as an internal task, no commitment on when it will get fixed.
I might put someone on pushing up a fix as well. Just wanted to create a ticket to not forget it