nginx with NLB - health check succeeds, nginx is not responsive

0

A customer ran out of disk space in his EC2 machines. Yet, his TCP health check succeeded, but his nginx failed to return HTTP responses.

Has anyone seen this situation before where the health check is successful but nginx is non-responsive?

Nir_Sh
preguntada hace 4 años904 visualizaciones
1 Respuesta
1
Respuesta aceptada

TCP check is only verifying the TCP connection to the host, not the nginx HTTP app response.

You can setup a HTTP check for specific path to test the app response from nginx. Here is information on the health check for NLB target groups:

https://docs.aws.amazon.com/elasticloadbalancing/latest/network/target-group-health-checks.html

AWS
respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas