Want to completely disable EB “health check”

0

I have a Django app that I am deploying with elastic beanstalk. Django’s ALLOWED_HOSTS behavior causes it to fail elastic beanstalk’s “health checks”. I would like to completely disable these checks, if possible, because I don’t really find them useful anyway.

I don’t see a way to do this, so I did the next best looking thing: I turned on “Ignore 4xx responses” for both the app and the elb in the environment configuration. But it’s still showing a degraded state.

I’ve been just ignoring this for a while, deploying new versions of the app without issue. But now, it’s causing deployments to fail and roll back (even though the rolled back app is failing the health checks too). So I want the check just gone.

Has anyone else experienced this? What did you do to resolve it?

rrwoods
feita há 7 meses1118 visualizações
1 Resposta
0

Hello.

ALB health checks cannot be disabled.
So, why not try changing the health check Matcher range to a larger range, such as 200 - 500?
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html

profile picture
ESPECIALISTA
respondido há 7 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas