# How to configure search-only nodes to serve only search requests?

**URL:** <https://discuss.elastic.co/t/how-to-configure-search-only-nodes-to-serve-only-search-requests/19352>\
**Category:** Elasticsearch\
**Created:** [August 19, 2014, 9:38pm UTC](https://discuss.elastic.co/t/how-to-configure-search-only-nodes-to-serve-only-search-requests/19352 "2014-08-19T21:38:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeffrey\_Zhou\_2](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@Jeffrey\_Zhou\_2](https://discuss.elastic.co/u/Jeffrey_Zhou_2)\
**Post date:** [August 19, 2014, 9:38pm UTC](https://discuss.elastic.co/t/how-to-configure-search-only-nodes-to-serve-only-search-requests/19352/1 "2014-08-19T21:38:14Z")

</div>

In our Elasticsearch cluster, we have two dedicated nodes to serve search  
requests only, and they expose port 9200 behind a load balance to the  
public. Is there a way to configure these two nodes to accept search  
requests only? That is to say, we do NOT expect these two nodes to accept  
any index requests or clusters configuration change requests.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b5445069-c44b-4114-a996-cde7f5698ad4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b5445069-c44b-4114-a996-cde7f5698ad4%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 19, 2014, 10:11pm UTC](https://discuss.elastic.co/t/how-to-configure-search-only-nodes-to-serve-only-search-requests/19352/2 "2014-08-19T22:11:25Z")

</div>

Not from within ES, you'd need a proxy setup to reject specific requests.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 20 August 2014 07:38, Jeffrey Zhou [jeffreyzhoumail@gmail.com](mailto:jeffreyzhoumail@gmail.com) wrote:

> In our Elasticsearch cluster, we have two dedicated nodes to serve search  
> requests only, and they expose port 9200 behind a load balance to the  
> public. Is there a way to configure these two nodes to accept search  
> requests only? That is to say, we do NOT expect these two nodes to accept  
> any index requests or clusters configuration change requests.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/b5445069-c44b-4114-a996-cde7f5698ad4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b5445069-c44b-4114-a996-cde7f5698ad4%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/b5445069-c44b-4114-a996-cde7f5698ad4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b5445069-c44b-4114-a996-cde7f5698ad4%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624Y6QKBYnR5NaqVEcRLgUS%3D1vuEjj8dnc%2BNtkKKfKc93ug%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Y6QKBYnR5NaqVEcRLgUS%3D1vuEjj8dnc%2BNtkKKfKc93ug%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:07am UTC](https://discuss.elastic.co/t/how-to-configure-search-only-nodes-to-serve-only-search-requests/19352/3 "2017-07-06T01:07:35Z")

</div>

Closed on July 6, 2017, 1:07am UTC


