Skip to content

Commit f715a36

Browse files
Merge pull request #279797 from nzthiago/main
Clarifying Flex Consumption quotas and adding note about West US 3
2 parents 6c96be1 + d0a1d6b commit f715a36

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

articles/azure-functions/event-driven-scaling.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ You might decide to restrict the maximum number of instances an app can use for
5656

5757
### Flex Consumption plan
5858

59-
By default, apps running in a Flex Consumption plan have limit of `100` overall instances. Currently the lowest maximum instance count value is `40`, and the highest supported maximum instance count value is `1000`. When you use the [`az functionapp create`](/cli/azure/functionapp#az-functionapp-create) command to create a function app in the Flex Consumption plan, use the `--maximum-instance-count` parameter to set this maximum instance count for of your app. This example creates an app with a maximum instance count of `200`:
59+
By default, apps running in a Flex Consumption plan have limit of `100` overall instances. Currently the lowest maximum instance count value is `40`, and the highest supported maximum instance count value is `1000`. When you use the [`az functionapp create`](/cli/azure/functionapp#az-functionapp-create) command to create a function app in the Flex Consumption plan, use the `--maximum-instance-count` parameter to set this maximum instance count for of your app.
60+
61+
Note that while you can change the maximum instance count of Flex Consumption apps up to 1000, your apps will reach a quota limit before reaching that number. Review [Regional subscription memory quotas](flex-consumption-plan.md#regional-subscription-memory-quotas) for more details.
62+
63+
This example creates an app with a maximum instance count of `200`:
6064

6165
```azurecli
6266
az functionapp create --resource-group <RESOURCE_GROUP> --name <APP_NAME> --storage <STORAGE_ACCOUNT_NAME> --runtime <LANGUAGE_RUNTIME> --runtime-version <RUNTIME_VERSION> --flexconsumption-location <REGION> --maximum-instance-count 200

articles/azure-functions/flex-consumption-plan.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@ This table shows the language stack versions that are currently supported for Fl
111111

112112
## Regional subscription memory quotas
113113

114-
Currently, each region in a given subscription has a memory limit of `512,000 MB` for all instances of apps running on Flex Consumption plans in that region. This means that in a given subscription and region, you could have any of the following combinations of maximum instance sizes and counts, all of which reach the current `512,000 MB` limit. For example:
114+
Currently in preview each region in a given subscription has a memory limit of `512,000 MB` for all instances of apps running on Flex Consumption plans. This means that, in a given subscription and region, you could have any combination of instance memory sizes and counts, as long as they stay under the quota limit. For example, each the following examples would mean the quota has been reached and the apps would stop scaling:
115115

116-
| Instance memory size (MB) | Max instance counts (per region) |
117-
| ----- | ---- |
118-
| `2048 MB` | 250 |
119-
| `4096 MB` | 125 |
116+
+ You have one 2048GB app scaled to 100 and a second 2048GB app scaled to 150 instances
117+
+ You have one 2048GB app that scaled out to 250 instances
118+
+ You have one 4096GB app that scaled out to 125 instances
119+
+ You have one 4096GB app scaled to 100 and one 2048GB app scaled to 50 instances
120120

121-
You could have any other combination of instance memory sizes and counts in a given region, as long as they stay under the `512,000 MB` limit. If your apps require a larger quota, you can create a support ticket to request a quota increase.
121+
This quota can be increased to allow your Flex Consumption apps to scale further, depending on your requirements. If your apps require a larger quota please create a support ticket.
122122

123123
## Deprecated properties and settings
124124

@@ -130,7 +130,9 @@ Keep these other considerations in mind when using Flex Consumption plan during
130130

131131
+ **VNet Integration** Ensure that the `Microsoft.App` Azure resource provider is enabled for your subscription by [following these instructions](/azure/azure-resource-manager/management/resource-providers-and-types#register-resource-provider). The subnet delegation required by Flex Consumption apps is `Microsoft.App/environments`.
132132
+ **Triggers**: All triggers are fully supported except for Kafka, Azure SQL, and SignalR triggers. The Blob storage trigger only supports the [Event Grid source](./functions-event-grid-blob-trigger.md). Non-C# function apps must use version `[4.0.0, 5.0.0)` of the [extension bundle](./functions-bindings-register.md#extension-bundles), or a later version.
133-
+ **Regions**: Not all regions are currently supported. To learn more, see [View currently supported regions](flex-consumption-how-to.md#view-currently-supported-regions).
133+
+ **Regions**:
134+
+ Not all regions are currently supported. To learn more, see [View currently supported regions](flex-consumption-how-to.md#view-currently-supported-regions).
135+
+ There is a temporary limitation in West US 3. If you see the following error "This region has quota of 0 instances for your subscription. Try selecting different region or SKU." in that region please raise a support ticket so that your app can be unblocked.
134136
+ **Deployments**: These deployment-related features aren't currently supported:
135137
+ Deployment slots
136138
+ Continuous deployment using Azure DevOps Tasks (`AzureFunctionApp@2`)

0 commit comments

Comments
 (0)