# What is the best practise to set up a router for multi-node elasticsearch for high availability?

**URL:** <https://discuss.elastic.co/t/what-is-the-best-practise-to-set-up-a-router-for-multi-node-elasticsearch-for-high-availability/370945>\
**Category:** Elastic Search\
**Tags:** docker\
**Created:** [November 22, 2024, 11:02am UTC](https://discuss.elastic.co/t/what-is-the-best-practise-to-set-up-a-router-for-multi-node-elasticsearch-for-high-availability/370945 "2024-11-22T11:02:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hariv0](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hariv0/32/138971_2.png) [@hariv0](https://discuss.elastic.co/u/hariv0)\
**Post date:** [November 22, 2024, 11:02am UTC](https://discuss.elastic.co/t/what-is-the-best-practise-to-set-up-a-router-for-multi-node-elasticsearch-for-high-availability/370945/1 "2024-11-22T11:02:38Z")

</div>

Hello,

I have a multi-zone (2 zones), multi-node (3 data nodes, 1 tie-breaker node) elasticsearch set-up for high availability. And each node is set up as its own docker container. My doubts are :

1. Since I have 3 data notes and I have 3 URLs I can access elasticsearh with how do I set up a stable URL so that even if a single node fails then the requests to the elasticsearch should be redirected to the other 2 nodes.  
Is there any preffered router that can be used for this purpose?

2. Is it necessary that I set-up a load balancer for elasticsearch to redirect reuqests based on the cpu/memory usage of any particular zones/nodes. Or does the elasticsearch perform load balancing on its own even if I keep sending my requests to a single node?

3. If a load balancer is necessary which load balancer do you suggest works best with elasticsearch?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 20, 2024, 11:02am UTC](https://discuss.elastic.co/t/what-is-the-best-practise-to-set-up-a-router-for-multi-node-elasticsearch-for-high-availability/370945/2 "2024-12-20T11:02:52Z")

</div>

Closed on December 20, 2024, 11:02am UTC

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