# Multiple Enterprise Search Instances

**URL:** <https://discuss.elastic.co/t/multiple-enterprise-search-instances/261541>\
**Category:** Elastic Search\
**Created:** [January 19, 2021, 12:31pm UTC](https://discuss.elastic.co/t/multiple-enterprise-search-instances/261541 "2021-01-19T12:31:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pesc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pesc/32/82536_2.png) [@pesc](https://discuss.elastic.co/u/pesc)\
**Post date:** [January 19, 2021, 12:31pm UTC](https://discuss.elastic.co/t/multiple-enterprise-search-instances/261541/1 "2021-01-19T12:31:19Z")

</div>

Hi

Is it possible to setup multiple EnterpriseSearch Instance on a Elasticsearch Cluster?

What I'd like to do:  
Server01: Part of Elasticsearch-Cluster (192.168.0.1:9200) + EnterpiseSearch (192.168.0.1:3200)  
Server02: Part of Elasticsearch-Cluster (192.168.0.2:9200) + EnterpiseSearch (192.168.0.2:3200)  
Server03: Part of Elasticsearch-Cluster (192.168.0.3:9200) + EnterpiseSearch (192.168.0.3:3200)

And in front I would put something like HAProxy to distribute the request to AppSerch (Server01, Server02, Server03). So my Question: Is it possible to run multiple EnterpiseSearch Instances on a Elasticsearch Cluster?

Or how should I setup a redundant setup?

Greetings Pascal

---

<div class="post-metadata">

**Author:** ![qhoxie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qhoxie/32/47252_2.png) [@qhoxie](https://discuss.elastic.co/u/qhoxie)\
**Post date:** [January 19, 2021, 4:14pm UTC](https://discuss.elastic.co/t/multiple-enterprise-search-instances/261541/2 "2021-01-19T16:14:07Z")

</div>

Hi Pascal,

It is possible and recommended for production. What you outlined is the right way to do it — put a proxy/load-balancer like HAProxy in front of the instances. Beyond that, you must ensure that their configurations match, especially secret\_management.encryption\_keys and secret\_session\_key. That is all that is required!

Best,  
Quin

---

<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:** [November 4, 2022, 8:21am UTC](https://discuss.elastic.co/t/multiple-enterprise-search-instances/261541/3 "2022-11-04T08:21:59Z")

</div>


