# What is the ES cluster size that requiers a dedicated master node?

**URL:** <https://discuss.elastic.co/t/what-is-the-es-cluster-size-that-requiers-a-dedicated-master-node/26489>\
**Category:** Elasticsearch\
**Created:** [July 29, 2015, 1:45pm UTC](https://discuss.elastic.co/t/what-is-the-es-cluster-size-that-requiers-a-dedicated-master-node/26489 "2015-07-29T13:45:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yarden\_Bar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yarden_bar/32/736_2.png) [@Yarden\_Bar](https://discuss.elastic.co/u/Yarden_Bar)\
**Post date:** [July 29, 2015, 1:45pm UTC](https://discuss.elastic.co/t/what-is-the-es-cluster-size-that-requiers-a-dedicated-master-node/26489/1 "2015-07-29T13:45:19Z")

</div>

Hi all,  
I've been reading several articles ([Sizing Master nodes](https://discuss.elastic.co/t/sizing-master-only-nodes/24997) and [Master Node role in a cluster](https://discuss.elastic.co/t/master-node-role-in-a-cluster/2327)) as well as [Node](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html) module article.

None of the above mention the cluster structure attributes that should be taken into consideration in order to decide how to allocate dedicated master nodes.

From these articles I understand that:

- Master nodes should avoid having a tie - an odd number of nodes can solve this.
- The amount of RAM can range from 512MB to 4GB, what affects this configuration?
- How much block-storage should be allocated? and what type?

Thanks,  
Yarden

---

<div class="post-metadata">

**Author:** ![msimos](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@msimos](https://discuss.elastic.co/u/msimos)\
**Post date:** [July 29, 2015, 6:34pm UTC](https://discuss.elastic.co/t/what-is-the-es-cluster-size-that-requiers-a-dedicated-master-node/26489/2 "2015-07-29T18:34:18Z")

</div>

You want 3 master nodes regardless of your setup. You can start with something like 1 dedicated master and 2 data+master nodes. A dedicated master node should have around 8GB to 16GB of physical memory with a heap size of 75% of the physical memory. At minimum you would want at least a 4GB java heap. If you grow beyond this configuration, (after adding dedicated data nodes) then you should have 3 dedicated master nodes. The master node doesn't need much physical storage since it only stores the cluster state.

---

<div class="post-metadata">

**Author:** ![Michael\_Sander](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_sander/32/838_2.png) [@Michael\_Sander](https://discuss.elastic.co/u/Michael_Sander)\
**Post date:** [August 26, 2016, 2:22am UTC](https://discuss.elastic.co/t/what-is-the-es-cluster-size-that-requiers-a-dedicated-master-node/26489/3 "2016-08-26T02:22:09Z")

</div>

What are Master Nodes doing that they require gigabytes of memory? I thought they merely need to keep track of cluster state, which should be in the kilobyte range rather than the Gigabyte, no? Also, do they tend to be more CPU intensive or more memory intensive? How many CPUs should they have?

---

<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, 10:25pm UTC](https://discuss.elastic.co/t/what-is-the-es-cluster-size-that-requiers-a-dedicated-master-node/26489/4 "2017-07-05T22:25:03Z")

</div>


