# Shards based on specific nodes

**URL:** <https://discuss.elastic.co/t/shards-based-on-specific-nodes/215763>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [January 20, 2020, 3:09pm UTC](https://discuss.elastic.co/t/shards-based-on-specific-nodes/215763 "2020-01-20T15:09:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shams\_ul\_Hassan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shams_ul_hassan/32/60140_2.png) [@Shams\_ul\_Hassan](https://discuss.elastic.co/u/Shams_ul_Hassan)\
**Post date:** [January 20, 2020, 3:09pm UTC](https://discuss.elastic.co/t/shards-based-on-specific-nodes/215763/1 "2020-01-20T15:09:56Z")

</div>

Hi Team,

We have a 3 master and 10 data nodes. This is designed to hold 1TB data of a year.  
Which is 3 months hot data which would be 300 GB apporx, that means 6 shards. Six months warm data which is 600 GB comes to 12 shards and rest 300 GB 6 shards for cold data.

So altogether 24 shards (6 Hot 12 Warm 6 Cold).

So my case is with 10 data nodes how would I allocate 6 data nodes for Hot Data and 3 nodes for Warm and single node for 6 shards for cold data.

According to recommended max shard size is 40-50GB.

Any input would be really great.

---

<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:** [February 17, 2020, 3:10pm UTC](https://discuss.elastic.co/t/shards-based-on-specific-nodes/215763/2 "2020-02-17T15:10:05Z")

</div>

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