Edit

Share via


AutoScale your clusters

Scaling means you can easily increase or decrease a resource to handle heavier or lighter loads. In Azure CycleCloud, you can easily scale up jobs when the load increases or scale down jobs to save costs. You can set up scaling to happen automatically or do it manually.

Auto-scaling

When you create a new cluster through the GUI, the Compute Backend tab gives you the option to auto-scale your cluster and add execute hosts as needed. Select the check box to let CycleCloud start and stop execute nodes as needed. Set the number of initial and maximum cores.

Auto-scale setting for new cluster

Auto-scale setting for new cluster

Setting a Max Cores number limits the number of nodes that start, so your workload doesn't run unchecked. You can also set up an usage alert when you submit your job to make sure you don't go over budget.

Auto-scaling in cluster template

By default, new clusters have auto-scaling turned off. To turn on auto-scaling, add the following code to your cluster template:

Autoscale = true
...
MaxCoreCount = xx

More information