# Best configuration for a 4 hosts cluster

**URL:** <https://discuss.elastic.co/t/best-configuration-for-a-4-hosts-cluster/33265>\
**Category:** Elasticsearch\
**Created:** [October 29, 2015, 3:01pm UTC](https://discuss.elastic.co/t/best-configuration-for-a-4-hosts-cluster/33265 "2015-10-29T15:01:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgadrian](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@sgadrian](https://discuss.elastic.co/u/sgadrian)\
**Post date:** [October 29, 2015, 3:01pm UTC](https://discuss.elastic.co/t/best-configuration-for-a-4-hosts-cluster/33265/1 "2015-10-29T15:01:35Z")

</div>

Hi,

I am about to start a new ES cluster that will index 250Gb(500M docs) spread around ~10 indices.

I have four hosts available and was wondering what the best cluster setup for this would be?

I though about doing this:

Node1 : node.data=false, node.master=false  
Node2 : node.data=true, node.master=true  
Node3 : node.data=true, node.master=true  
Node4 : node.data=true, node.master=true

And then set minimum\_master\_nodes=2 on all nodes, is this ok?

BR,  
Sven

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 29, 2015, 3:11pm UTC](https://discuss.elastic.co/t/best-configuration-for-a-4-hosts-cluster/33265/2 "2015-10-29T15:11:09Z")

</div>

Yes, it's a safe configuration. It's not obvious that having a separate client node in a four-node cluster gives the best bang for the buck, but it depends on your query load. I suggest you do some measurements.

---

<div class="post-metadata">

**Author:** ![sgadrian](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@sgadrian](https://discuss.elastic.co/u/sgadrian)\
**Post date:** [October 29, 2015, 3:12pm UTC](https://discuss.elastic.co/t/best-configuration-for-a-4-hosts-cluster/33265/3 "2015-10-29T15:12:22Z")

</div>

Ok thanks!

---

<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 5, 2017, 11:41pm UTC](https://discuss.elastic.co/t/best-configuration-for-a-4-hosts-cluster/33265/4 "2017-07-05T23:41:53Z")

</div>


