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
posta 4 anni fa904 visualizzazioni
1 Risposta
1
Risposta accettata

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
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande