#refarch (2024-01)
Cloud Posse Reference Architecture
2024-01-03
2024-01-10
![johncblandii avatar](https://avatars.slack-edge.com/2020-04-14/1062347993890_6fd142c15ffef426eeba_72.png)
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.
![johncblandii avatar](https://avatars.slack-edge.com/2020-04-14/1062347993890_6fd142c15ffef426eeba_72.png)
Setting health_check_type
to null
or ""
is ignored so I’m assuming the ASG requires a health check
![RB avatar](https://avatars.slack-edge.com/2020-02-26/958727689603_86844033e59114029b3c_72.png)
could you just increase the health_check_grace_period
from 300
seconds to something higher?
I don’t think health checks can be disabled
![RB avatar](https://avatars.slack-edge.com/2020-02-26/958727689603_86844033e59114029b3c_72.png)
you could add HealthCheck
to suspended_processes
See scenario 6 on https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html
Scenario 6:
HealthCheck
is 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 suspendHealthCheck
, if you need to, you can manually set the health state of instances in your group and haveReplaceUnhealthy
replace them.
Suspend and then resume one or more of the standard processes that are built into Amazon EC2 Auto Scaling.
![johncblandii avatar](https://avatars.slack-edge.com/2020-04-14/1062347993890_6fd142c15ffef426eeba_72.png)
oh that could work. we turned off autoscaling for now, but we can look into that for sure.
thx @RB
2024-01-11
2024-01-24
![johncblandii avatar](https://avatars.slack-edge.com/2020-04-14/1062347993890_6fd142c15ffef426eeba_72.png)
Heads up: https://github.com/cloudposse/terraform-aws-components/blob/main/modules/s3-bucket/README.md.
That doc says prefix: logs/
, but the code will create a double slash since the format is %s/%s/
resulting in: logs//some-name
.
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
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
@Gabriela Campana (Cloud Posse) looks like a ticket to fix is needed
![bananadance](/assets/images/custom_emojis/bananadance.gif)
![Gabriela Campana (Cloud Posse) avatar](https://avatars.slack-edge.com/2023-05-17/5281506983315_fbbf3b358313efef4647_72.jpg)
Log in to Jira, Confluence, and all other Atlassian Cloud products here. Not an Atlassian user? Sign up for free.
2024-01-29
![johncblandii avatar](https://avatars.slack-edge.com/2020-04-14/1062347993890_6fd142c15ffef426eeba_72.png)
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
@Gabriela Campana (Cloud Posse) we can add this as an internal task, no commitment on when it will get fixed.
![johncblandii avatar](https://avatars.slack-edge.com/2020-04-14/1062347993890_6fd142c15ffef426eeba_72.png)
I might put someone on pushing up a fix as well. Just wanted to create a ticket to not forget it
![Gabriela Campana (Cloud Posse) avatar](https://avatars.slack-edge.com/2023-05-17/5281506983315_fbbf3b358313efef4647_72.jpg)
@Erik Osterman (Cloud Posse) is this related to https://cloudposse.atlassian.net/browse/DEV-1591?
Log in to Jira, Confluence, and all other Atlassian Cloud products here. Not an Atlassian user? Sign up for free.