# Is there any necessary to set node type of an es cluster which only has three nodes?

**URL:** <https://discuss.elastic.co/t/is-there-any-necessary-to-set-node-type-of-an-es-cluster-which-only-has-three-nodes/162735>\
**Category:** Elasticsearch\
**Created:** [January 3, 2019, 3:40am UTC](https://discuss.elastic.co/t/is-there-any-necessary-to-set-node-type-of-an-es-cluster-which-only-has-three-nodes/162735 "2019-01-03T03:40:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhilZhang](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@PhilZhang](https://discuss.elastic.co/u/PhilZhang)\
**Post date:** [January 3, 2019, 3:40am UTC](https://discuss.elastic.co/t/is-there-any-necessary-to-set-node-type-of-an-es-cluster-which-only-has-three-nodes/162735/1 "2019-01-03T03:40:29Z")

</div>

I set up an elasticsearch cluster which has only three nodes, should I set one as master node and other two as data nodes? And do I have to add more nodes for coordinate and ingest?

PS. I will use this cluster in a production environment and data amount is small

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [January 3, 2019, 3:55am UTC](https://discuss.elastic.co/t/is-there-any-necessary-to-set-node-type-of-an-es-cluster-which-only-has-three-nodes/162735/2 "2019-01-03T03:55:06Z")

</div>

For small environments it is fairly common to have three master eligible nodes and then add some non-master eligible nodes.

Best case is to have three master eligible only nodes but that is harder to justify with a small cluster. Second best is to have three master eligible nodes like I said.

Having just one master eligible node or just two isn't good. Go for three.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 3, 2019, 5:08am UTC](https://discuss.elastic.co/t/is-there-any-necessary-to-set-node-type-of-an-es-cluster-which-only-has-three-nodes/162735/3 "2019-01-03T05:08:02Z")

</div>

For small deployments it is generally fine to have 3 nodes with the default configuration (all roles). I’d load gets high or the cluster grows you can introduce dedicated node types.

---

<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:** [January 31, 2019, 5:08am UTC](https://discuss.elastic.co/t/is-there-any-necessary-to-set-node-type-of-an-es-cluster-which-only-has-three-nodes/162735/4 "2019-01-31T05:08:03Z")

</div>

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