Skip to content

Commit 92f7873

Browse files
committed
Clarifying Flex Consumption AZ rules. Adding one app per plan note.
1 parent 0025f69 commit 92f7873

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ In Flex Consumption many of the standard application settings and site configura
133133

134134
Keep these other considerations in mind when using Flex Consumption plan:
135135

136+
+ **Apps per Plan**: Only one app is allowed per Flex Consumption plan.
136137
+ **Host**: There's a 30-second time out for app initialization. When your function app takes longer than 30 seconds to start, you might see gRPC-related `System.TimeoutException` entries logged. You can't currently configure this time out. For more information, see [this host work item](https://github.com/Azure/azure-functions-host/issues/10482).
137138
+ **Durable Functions**: Azure Storage is currently the only supported [storage provider](./durable/durable-functions-storage-providers.md) for Durable Functions when hosted in the Flex Consumption plan. See [recommendations](./durable/durable-functions-azure-storage-provider.md#flex-consumption-plan) when hosting Durable Functions in the Flex Consumption plan.
138139
+ **Virtual network 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`.

articles/reliability/reliability-functions.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ When you configure Flex Consumption function apps as zone redundant, the platfor
3333
When zone redundancy is enabled for Flex Consumption, instance spreading is determined inside the following rules:
3434
- [Always-ready](../azure-functions/flex-consumption-plan.md#always-ready-instances) instances will always be spread across zones in a round-robin fashion.
3535
- On-demand instances that are created based on event source volume as the app scales beyond always-ready will be distributed across availability zones on a best effort basis. I.e., for on-demand instances, faster scale out will be given preference over even distribution across availability zones. The platform will attempt even distribution over time.
36-
- To ensure zone resiliency with availability zones, when always-ready instance configurations are less than two for each [per-function scaling function or group](../azure-functions/flex-consumption-plan.md#per-function-scaling), the platform automatically ensures 2 instances of the always-ready type exist for each per-function scaling function or group. Those instances are placed in different zones, are platform managed, and billed as always-ready instances. This does not change the configuration setting of always-ready.
37-
- When changing always-ready configuration numbers, no less than 2 always-ready instances will be allowed to be configured per function or function group when zone redundancy is enabled. If you set always-ready for a function or function group to more than 2, those instances will be spread across zones in a round-robin fashion.
38-
- During zonal outage the platform will attempt to restore balance on available zones.
36+
- To ensure zone resiliency with availability zones, the platform automatically ensures at least 2 instances of the always-ready type exist for each [per-function scaling function or group](../azure-functions/flex-consumption-plan.md#per-function-scaling), regardless of the always-ready configuration for the app. Instances created by the platform are platform managed, billed as always-ready instances, and won't change the always-ready configuration settings.
3937

4038
### Regional availability
4139

@@ -180,7 +178,7 @@ Before updating your Flex Consumption plan to be zone-redundant, consider updati
180178
- Update the storage related application settings of the app, like `AzureWebJobsStorage`, to reference the zone redundant storage account. See [Work with application settings](../azure-functions/functions-how-to-use-azure-function-app-settings.md#use-application-settings).
181179
- Update the deployment storage account for the app, which can be the same or different as the storage account associated with the app. See [Configure deployment settings](../azure-functions/flex-consumption-how-to.md#configure-deployment-settings).
182180

183-
Once the storage account(s) associated with the app have been updated, you can update the Flex Consumption plan to be zone-redundant. This will cause the Flex Consumption app in the plan to restart. There are currently multiple ways to update a zone-redundant Flex Consumption app.
181+
Once the storage account(s) associated with the app have been updated, you can update the Flex Consumption plan to be zone-redundant. This will cause the Flex Consumption app in the plan to restart. There are currently multiple ways to update a zone-redundant Flex Consumption plan.
184182

185183
# [Azure portal](#tab/azure-portal)
186184
Not currently supported.
@@ -200,7 +198,7 @@ Not currently supported.
200198
Follow the same instructions as in [Create a zone-redundant Flex Consumption app](#create-a-zone-redundant-flex-consumption-plan) to add the `zoneRedundant` property to the plan definition.
201199
202200
# [ARM template](#tab/arm-template)
203-
Follow the same instructions as in [Create a zone-redundant Flex Consumption app](#create-a-zone-redundant-flex-consumption-plan) to add the `zoneRedundant` property to the plan definition..
201+
Follow the same instructions as in [Create a zone-redundant Flex Consumption app](#create-a-zone-redundant-flex-consumption-plan) to add the `zoneRedundant` property to the plan definition.
204202
205203
---
206204

0 commit comments

Comments
 (0)