# Elasticsearch cluster architecture with 6 nodes

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-architecture-with-6-nodes/285147>\
**Category:** Elasticsearch\
**Created:** [September 25, 2021, 11:59pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-architecture-with-6-nodes/285147 "2021-09-25T23:59:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dooger21](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dooger21](https://discuss.elastic.co/u/dooger21)\
**Post date:** [September 25, 2021, 11:59pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-architecture-with-6-nodes/285147/1 "2021-09-25T23:59:50Z")

</div>

Hi everyone,

Please I need your recommendations regarding the following architectures for a 6-node Elasticsearch cluster, based on the following characteristics:

1. I have 2 zones (zn1, zn2)
2. I have 3 nodes or servers in each zone
3. All my nodes have the same hardware characteristics (RAM, CPU, Storage)
4. I need 6 of the 4 nodes to store data (indexes)
5. I am working with free licensing of version 7.14
6. For each primary index 1 replica will be configured
7. The shard allocation awareness will be configured so that the information is in both areas.

- Architecture1

| **Zone** | **Node Rol** |
| --- | --- |
| zn1 | Master |
| zn1 | Master – Data |
| zn1 | Data |
| zn2 | Master |
| zn2 | Data |
| zn2 | Data |

- Architecture2

| Zone | Node Rol |
| --- | --- |
| zn1 | Master |
| zn1 | Master – Data |
| zn1 | Master - Data |
| zn2 | Master |
| zn2 | Master - Data |
| zn2 | Data |

Questions:  
Which of the 2 architectures would work better in the event of a zn1 crash?  
Which of the 2 architectures would work better in the event of a zn2 crash?

---

<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:** [September 26, 2021, 3:43am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-architecture-with-6-nodes/285147/2 "2021-09-26T03:43:58Z")

</div>

Both architectures have a majority of master nodes in zn1 so will behave the same way. They will Both be able to handle zn2 going down but will result in a red cluster if zn1 fails. You can not logically build a highly available cluster that can handle the loss of either zone across only 2 zones. You need 3 distinct zones.

I would recommend reading [this section of the docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/high-availability-cluster-design.html) and the sections around different cluster sizes it links to.

---

<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:** [October 24, 2021, 3:44am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-architecture-with-6-nodes/285147/3 "2021-10-24T03:44:33Z")

</div>

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