AWS Load Balancer for Elasticsearch Cluster

I have a 3 Master and 4 Data node cluster running on EC2 instances. I want to set-up a Load Balancer infront of my master nodes. While I try doing so, the application load balancer is failing to register the health of master nodes. The ping path I used for healthcheck is /_cluster/health on port 9200 and the target registration with status "unhealthy". The cluster is healthy. Is the ping path for healthcheck that I am using is correct? Please help.

This is weird ... I checked against my cluster and that path definitely works.

$> curl -s -w "%{http_code}" -o /dev/null localhost:9200/_cluster/health/
200

Any chance of a screenshot of the ELB HealthCheck section?

Can I ask why you put Load Balancer infront of master nodes? Why not data nodes?

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.