# Memory, storage and CPU requirements depending on node roles

**URL:** <https://discuss.elastic.co/t/memory-storage-and-cpu-requirements-depending-on-node-roles/286294>\
**Category:** Elasticsearch\
**Created:** [October 9, 2021, 9:52am UTC](https://discuss.elastic.co/t/memory-storage-and-cpu-requirements-depending-on-node-roles/286294 "2021-10-09T09:52:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![flavienbwk](https://avatars.discourse-cdn.com/v4/letter/f/5f9b8f/32.png) [@flavienbwk](https://discuss.elastic.co/u/flavienbwk)\
**Post date:** [October 9, 2021, 9:52am UTC](https://discuss.elastic.co/t/memory-storage-and-cpu-requirements-depending-on-node-roles/286294/1 "2021-10-09T09:52:11Z")

</div>

Hi,

Has anyone any intuition about what are the memory, storage and CPU requirements depending on [node roles](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html#node-roles) ?

Is the following intuition right ?

- Coordinating nodes : high CPU, low memory
- Master-only nodes : high CPU, medium memory
- Ingest nodes : high CPU, low memory
- Data nodes (hot) : low CPU, high memory, high-speed storage
- Data nodes (warm) : low CPU, medium memory, lower-speed storage

Thank you

---

<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:** [October 9, 2021, 10:17am UTC](https://discuss.elastic.co/t/memory-storage-and-cpu-requirements-depending-on-node-roles/286294/2 "2021-10-09T10:17:36Z")

</div>

Dedicated master nodes should not serve traffic so usually low CPU and low memory. Data nodes do most of the work in the cluster so need the most resources. Hot data nodes need high CPU, fast storage and often high memory. Warm data nodes can do with slower storage but need medium CPU. The amount if memory depends on how much data they hold and how heavy this is queried, so it is common to have lots or memory on these nodes to allow them to hold lots of data. Other node types depend a lot on how much work they will be doing, so the size will depend on the size of the rest of the cluster.

---

<div class="post-metadata">

**Author:** ![flavienbwk](https://avatars.discourse-cdn.com/v4/letter/f/5f9b8f/32.png) [@flavienbwk](https://discuss.elastic.co/u/flavienbwk)\
**Post date:** [October 9, 2021, 4:46pm UTC](https://discuss.elastic.co/t/memory-storage-and-cpu-requirements-depending-on-node-roles/286294/3 "2021-10-09T16:46:08Z")

</div>

Thank you very much Christian, if my coordinating node is the one exposed, I guess I should favor CPU for them.

However, does my coordinating node need rather high memory to handle queries (both ingestion and search queries) or it only needs CPU ?

---

<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:** [October 10, 2021, 2:58pm UTC](https://discuss.elastic.co/t/memory-storage-and-cpu-requirements-depending-on-node-roles/286294/4 "2021-10-10T14:58:38Z")

</div>

That will depend on the expected load, which I know nothing about.

---

<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:** [November 7, 2021, 2:59pm UTC](https://discuss.elastic.co/t/memory-storage-and-cpu-requirements-depending-on-node-roles/286294/5 "2021-11-07T14:59:06Z")

</div>

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