johnstaveley
johnstaveley

Reputation: 1499

Limit Azure function auto scaling

I would like to do a demo of an azure function webhook with auto scaling off and then switch it up to show how it scales automatically. Is there anyway I can set the maximum number of instances it scales to? I've looked through the settings for a Function App but can't find anything.

Upvotes: 2

Views: 722

Answers (1)

Mikhail Shilkov
Mikhail Shilkov

Reputation: 35124

Unlimited elastic scaling applies to Consumption Plan only. For your demo you can create two Function Apps: one on Consumption Plan, another one on "normal" fixed App Service Plan.

The fixed one will be limited to resources of that service plan, so to 1 instance by default.

I don't think you can switch the service plan between Consumption/Fixed for an existing app.

Upvotes: 3

Related Questions