# Can a Cluster Reside on more than 1 Allocator?

**URL:** <https://discuss.elastic.co/t/can-a-cluster-reside-on-more-than-1-allocator/188282>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [July 1, 2019, 10:15am UTC](https://discuss.elastic.co/t/can-a-cluster-reside-on-more-than-1-allocator/188282 "2019-07-01T10:15:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ong/32/40766_2.png) [@Ong](https://discuss.elastic.co/u/Ong)\
**Post date:** [July 1, 2019, 10:15am UTC](https://discuss.elastic.co/t/can-a-cluster-reside-on-more-than-1-allocator/188282/1 "2019-07-01T10:15:40Z")

</div>

I currently have a cluster which sits on one allocator. As data grows over time, is it possible for this cluster to be scaled out horizontally over a few allocators?

---

<div class="post-metadata">

**Author:** ![zanbel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zanbel/32/20678_2.png) [@zanbel](https://discuss.elastic.co/u/zanbel)\
**Post date:** [July 1, 2019, 12:15pm UTC](https://discuss.elastic.co/t/can-a-cluster-reside-on-more-than-1-allocator/188282/2 "2019-07-01T12:15:18Z")

</div>

Certainly!  
Firstly, based on the number of availability zones (ECE requires [3 AZs](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-topology.html) to support [HA setup](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-ha.html)) you have configured nodes will be deployed in allocators across different AZs. This way your cluster can tolerate failure of 1 or 2 AZ, depending on the number of AZs you configured (2 or 3) and the number of replicas (1 or 2 replicas).

Furthermore, the default allocation strategy (in ECE 2.1 or above) is "fill first anti-affinity", meaning that ECE will attempt to place nodes from the same cluster on different allocators in the same AZ when possible. This means that in case of an allocator failure it will reduce the chances that all nodes from a single clusters in that AZ will be affects.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Ong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ong/32/40766_2.png) [@Ong](https://discuss.elastic.co/u/Ong)\
**Post date:** [July 2, 2019, 6:11am UTC](https://discuss.elastic.co/t/can-a-cluster-reside-on-more-than-1-allocator/188282/3 "2019-07-02T06:11:23Z")

</div>

Thanks for the explanation. In the scenario where the disk starts to fill up as the data grows, will ECE automatically horizontally scale up the cluster from 1 to 2 allocators or does the ECE administrator need to scale up manually?

---

<div class="post-metadata">

**Author:** ![zanbel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zanbel/32/20678_2.png) [@zanbel](https://discuss.elastic.co/u/zanbel)\
**Post date:** [July 2, 2019, 9:22am UTC](https://discuss.elastic.co/t/can-a-cluster-reside-on-more-than-1-allocator/188282/4 "2019-07-02T09:22:11Z")

</div>

Auto-scaling is not yet supported. You can leverage ES watermarks in order to ensure running out of disk space will not affect a node's availability.  
As for Allocators, you can also monitor and alert on Allocator disk usage using the metric we store in the logging and metrics cluster. This is something we provide out of the box using the beats side car to collect those metrics.

---

<div class="post-metadata">

**Author:** ![Ong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ong/32/40766_2.png) [@Ong](https://discuss.elastic.co/u/Ong)\
**Post date:** [July 2, 2019, 10:14am UTC](https://discuss.elastic.co/t/can-a-cluster-reside-on-more-than-1-allocator/188282/5 "2019-07-02T10:14:04Z")

</div>

For manual scaling, does it mean that the administrator increases the cluster's RAM (and hence, disk storage) and ECE will automatically scale out to another allocator if there are not enough resources on the current allocator?

The steps I am referring to are at: [Resize your Deployment](https://www.elastic.co/guide/en/cloud-enterprise/2.2/ece-resize-deployment.html)

---

<div class="post-metadata">

**Author:** ![zanbel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zanbel/32/20678_2.png) [@zanbel](https://discuss.elastic.co/u/zanbel)\
**Post date:** [July 2, 2019, 2:58pm UTC](https://discuss.elastic.co/t/can-a-cluster-reside-on-more-than-1-allocator/188282/6 "2019-07-02T14:58:25Z")

</div>

Yes, exactly. If there isn't enough capacity the node will be placed on a different allocator, always applying the AZ configuration.

---

<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 16, 2019, 2:58pm UTC](https://discuss.elastic.co/t/can-a-cluster-reside-on-more-than-1-allocator/188282/7 "2019-07-16T14:58:27Z")

</div>

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