Search⌘ K

Automatic Scaling of Azure Functions

Discover how to enable and configure automatic horizontal scaling for Azure Functions using rule-based metrics and service plan settings. Understand how to set up dynamic concurrency through the host.json file to optimize function performance, including options for persistence across restarts. This lesson helps you automate scalability and concurrency management to improve resource use and responsiveness.

It’s not always convenient to manage the scale and concurrency of our application manually. Fortunately, Azure Functions allows both to be automatic. While vertical scaling still has to be manual, horizontal scaling can be automated. The application will scale itself based on the rules. This is what we will cover in this lesson.

Configuring automatic scaling

Automatic scaling can be enabled via service plan settings on a function app. We can either go ...