# How to set-up Hot, Warm and cold for single node Elasticsearch?

**URL:** <https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [February 10, 2022, 4:38am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797 "2022-02-10T04:38:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_balasubramani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramesh_balasubramani/32/53173_2.png) [@Ramesh\_balasubramani](https://discuss.elastic.co/u/Ramesh_balasubramani)\
**Post date:** [February 10, 2022, 4:38am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797/1 "2022-02-10T04:38:20Z")

</div>

How to set up Hot, Warm and cold for single node Elasticsearch?

---

<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:** [February 10, 2022, 4:58am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797/2 "2022-02-10T04:58:10Z")

</div>

What are you looking to achieve? Although you can alter index settings at different lifecycle stages the main benefit of using hot-warm-cold architecture is that different stages can be hosted on different hardware profiles. This is naturally not possible unless you have multiple nodes in the cluster.

---

<div class="post-metadata">

**Author:** ![Ramesh\_balasubramani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramesh_balasubramani/32/53173_2.png) [@Ramesh\_balasubramani](https://discuss.elastic.co/u/Ramesh_balasubramani)\
**Post date:** [February 10, 2022, 8:03am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797/3 "2022-02-10T08:03:25Z")

</div>

So, It's not possible to for a single index. (Single hardware)

---

<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:** [February 10, 2022, 8:04am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797/4 "2022-02-10T08:04:30Z")

</div>

No, it assumes time based indices that move through the phases. What is the problem you are trying to solve?

---

<div class="post-metadata">

**Author:** ![Ramesh\_balasubramani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramesh_balasubramani/32/53173_2.png) [@Ramesh\_balasubramani](https://discuss.elastic.co/u/Ramesh_balasubramani)\
**Post date:** [February 10, 2022, 8:07am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797/5 "2022-02-10T08:07:00Z")

</div>

I have single node Elasticsearch. I am planning to keep last 5-day indices is hot, remaining indices need to move to warm.

---

<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:** [February 10, 2022, 8:10am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797/6 "2022-02-10T08:10:56Z")

</div>

Why do you think you need to do this? What do you want to change for indices in the warm phase?

---

<div class="post-metadata">

**Author:** ![Ramesh\_balasubramani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramesh_balasubramani/32/53173_2.png) [@Ramesh\_balasubramani](https://discuss.elastic.co/u/Ramesh_balasubramani)\
**Post date:** [February 10, 2022, 8:57am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797/7 "2022-02-10T08:57:24Z")

</div>

Because I have more than 500 indices and 829.94M docs. I am facing slow response while querying in Elasticsearch. So, I am planning to keep last 3 days indices in hot remaining I will keep as warm.

---

<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:** [February 10, 2022, 9:00am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797/8 "2022-02-10T09:00:49Z")

</div>

It sounds like you may hsve a lot of small indices and that you might be better off consolidating these onto fewer larger indices, which can help query performance. A hot-warm-cold architecture does nothing magic and will most likely not solve your problems unless you add nodes.

---

<div class="post-metadata">

**Author:** ![Ramesh\_balasubramani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramesh_balasubramani/32/53173_2.png) [@Ramesh\_balasubramani](https://discuss.elastic.co/u/Ramesh_balasubramani)\
**Post date:** [February 10, 2022, 9:02am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797/9 "2022-02-10T09:02:21Z")

</div>

Thank you so much for your quick response.

---

<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:** [March 10, 2022, 9:02am UTC](https://discuss.elastic.co/t/how-to-set-up-hot-warm-and-cold-for-single-node-elasticsearch/296797/10 "2022-03-10T09:02:53Z")

</div>

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