# How many nodes I need?

**URL:** <https://discuss.elastic.co/t/how-many-nodes-i-need/136291>\
**Category:** Elasticsearch\
**Created:** [June 18, 2018, 10:44am UTC](https://discuss.elastic.co/t/how-many-nodes-i-need/136291 "2018-06-18T10:44:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![LesioS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lesios/32/32364_2.png) [@LesioS](https://discuss.elastic.co/u/LesioS)\
**Post date:** [June 18, 2018, 10:44am UTC](https://discuss.elastic.co/t/how-many-nodes-i-need/136291/1 "2018-06-18T10:44:45Z")

</div>

I'd like to know how to count the number of nodes I need. As I know (but I'm pretty new, so know a little) I don't need Ingest node - Master and Data is enough.  
But how many Masters and how many Data nodes I need? What determines these amounts and how to count it.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 18, 2018, 10:59am UTC](https://discuss.elastic.co/t/how-many-nodes-i-need/136291/2 "2018-06-18T10:59:22Z")

</div>

May I suggest you look at the following resources about sizing:

[https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing](https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing)

> **[How many shards should I have in my Elasticsearch cluster?
	  	 | Elastic](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster)**
>
> Elasticsearch is a very versatile platform, that supports a variety of use cases, and provides great flexibility around data organisation and replication strategies. This flexibility can however somet...

---

<div class="post-metadata">

**Author:** ![Johnnycc1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johnnycc1/32/26069_2.png) [@Johnnycc1](https://discuss.elastic.co/u/Johnnycc1)\
**Post date:** [June 18, 2018, 11:00am UTC](https://discuss.elastic.co/t/how-many-nodes-i-need/136291/3 "2018-06-18T11:00:12Z")

</div>

Hey LesioS,

In relation to number of required master nodes the answer is simple - it's three Master nodes. This avoids split brains but still gives you redundancy.

In relation to data nodes it all depends on your data. This is a good article that gives some pointers to configure your index settings --\> [https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster)

There is no substitute for actually testing different data node configurations with your data to see the impact.

---

<div class="post-metadata">

**Author:** ![LesioS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lesios/32/32364_2.png) [@LesioS](https://discuss.elastic.co/u/LesioS)\
**Post date:** [June 18, 2018, 11:50am UTC](https://discuss.elastic.co/t/how-many-nodes-i-need/136291/4 "2018-06-18T11:50:06Z")

</div>

Many thanks for your replies. Now I'm a little bit more familar with sizing Data nodes. But still don't catch why I need (at least) 3 Master nodes?

---

<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:** [June 18, 2018, 1:01pm UTC](https://discuss.elastic.co/t/how-many-nodes-i-need/136291/5 "2018-06-18T13:01:29Z")

</div>

As master election is based on consensus across master-eligible nodes, 3 master eligible nodes is the minimum in order to have a highly available system.

---

<div class="post-metadata">

**Author:** ![LesioS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lesios/32/32364_2.png) [@LesioS](https://discuss.elastic.co/u/LesioS)\
**Post date:** [June 18, 2018, 1:16pm UTC](https://discuss.elastic.co/t/how-many-nodes-i-need/136291/6 "2018-06-18T13:16:13Z")

</div>

Number of Master/Data nodes in single cluster is in any way limited by subscription type?

---

<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 16, 2018, 1:16pm UTC](https://discuss.elastic.co/t/how-many-nodes-i-need/136291/7 "2018-07-16T13:16:13Z")

</div>

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