# Auto scaling in Dremio Deployments

**URL:** <https://community.dremio.com/t/auto-scaling-in-dremio-deployments/8215>\
**Category:** Uncategorized\
**Created:** [October 28, 2021, 4:48am UTC](https://community.dremio.com/t/auto-scaling-in-dremio-deployments/8215 "2021-10-28T04:48:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ann](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ann](https://community.dremio.com/u/ann)\
**Post date:** [October 28, 2021, 4:48am UTC](https://community.dremio.com/t/auto-scaling-in-dremio-deployments/8215/1 "2021-10-28T04:48:35Z")

</div>

Hi team,  
I have below scenarios:  
1)start dremio with 1 executor  
2)As my load increase I need dremio to automatically scale out.  
3)As load decrease dremio to reduce to 1 executor.  
4)if I configure Dremio with max and min number of executors ,while starting dremio will it start with all max executors?  
5)Is this possible in any mode of dremio deployment? Is this possible with AKS deployment? Do we have any document in detail about auto scaling? I couldn’t get a complete picture from the elastic engine document.

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [October 29, 2021, 5:57am UTC](https://community.dremio.com/t/auto-scaling-in-dremio-deployments/8215/2 "2021-10-29T05:57:30Z")

</div>

@ann Even if you configure this on the AKS side, when a scale up happens, queries that have already entered planning and ready for execution or have started execution will not leverage the new nodes, if you scale down, existing queries may fail as fragments might be active on an executor pod that was brought down

---

<div class="post-metadata">

**Author:** ![ann](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ann](https://community.dremio.com/u/ann)\
**Post date:** [October 29, 2021, 6:18am UTC](https://community.dremio.com/t/auto-scaling-in-dremio-deployments/8215/3 "2021-10-29T06:18:26Z")

</div>

@balaji.ramaswamy does that mean autoscaling is not currently supported in dremio?  
I am bit confused by reading documentation about auto scaling

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [October 29, 2021, 6:20am UTC](https://community.dremio.com/t/auto-scaling-in-dremio-deployments/8215/4 "2021-10-29T06:20:04Z")

</div>

Hi @ann

Can you please provide the link?

---

<div class="post-metadata">

**Author:** ![ann](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ann](https://community.dremio.com/u/ann)\
**Post date:** [October 29, 2021, 6:30am UTC](https://community.dremio.com/t/auto-scaling-in-dremio-deployments/8215/5 "2021-10-29T06:30:46Z")

</div>

> **[Introducing Elastic Engines](https://www.dremio.com/tutorials/elastic-engines/)**
>
> Dremio allows you to provision multiple separate execution engines from a single Dremio coordinator node, start and stop based on predefined workload requirements at runtime.

Here it is mentioned to specify instance count(eg:5). So when starting dremio after installation, with how many nodes it will start?  
When we issue a query will dremio start with all 5 Nodes?  
How exactly autoscaling work here?

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [November 2, 2021, 4:59am UTC](https://community.dremio.com/t/auto-scaling-in-dremio-deployments/8215/6 "2021-11-02T04:59:24Z")

</div>

@ann I do not find the word “auto scale” in the document. I also do not see “mentioned to specify instance count”, can you please copy/paste the exact line you are talking about?
