# "Server-template" Can automatically scale the number of servers?

**URL:** <https://discourse.haproxy.org/t/server-template-can-automatically-scale-the-number-of-servers/4503>\
**Category:** Help!\
**Created:** [November 14, 2019, 8:43am UTC](https://discourse.haproxy.org/t/server-template-can-automatically-scale-the-number-of-servers/4503 "2019-11-14T08:43:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rainkidpk](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@rainkidpk](https://discourse.haproxy.org/u/rainkidpk)\
**Post date:** [November 14, 2019, 8:43am UTC](https://discourse.haproxy.org/t/server-template-can-automatically-scale-the-number-of-servers/4503/1 "2019-11-14T08:43:25Z")

</div>

Hi, instead of use “server-template app -number-…”

I can make it automatically scale follow the instance server number?

---

<div class="post-metadata">

**Author:** ![Baptiste](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Baptiste](https://discourse.haproxy.org/u/Baptiste)\
**Post date:** [November 14, 2019, 2:31pm UTC](https://discourse.haproxy.org/t/server-template-can-automatically-scale-the-number-of-servers/4503/2 "2019-11-14T14:31:04Z")

</div>

no, you can’t.  
All memory is pre-allocated at configuration parsing time. If you want to expand the number of servers in a backend, you must reload haproxy or you can simply over-provision wit server-template.
