You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/flex-consumption-plan.md
+21-7Lines changed: 21 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,17 +27,19 @@ The Flex Consumption plan builds on the strengths of the serverless Consumption
27
27
+**Per-Function Scaling**: Each function in your app [scales independently based on its workload](#per-function-scaling), potentially resulting in more efficient resource allocation.
28
28
+**Improved Concurrency Handling**: Better handling of concurrent executions with configurable concurrency settings per function.
29
29
+**Flexible Memory Configuration**: Flex Consumption offers multiple [instance sizes](#instance-sizes) size options, allowing you to optimize for your specific workload requirements.
30
+
+**Azure Files storage mounts**: [Mount Azure Files shares](#mount-file-shares) directly to your function app so your code can access large binaries, ML models, and shared data without packaging them in your deployment.
30
31
31
32
This table helps you directly compare the features of Flex Consumption with the Consumption hosting plan:
For a complete comparison of the Flex Consumption plan against the Consumption plan and all other plan and hosting types, see [function scale and hosting options](functions-scale.md).
43
45
@@ -104,6 +106,18 @@ Concurrency refers to the number of parallel executions of a function on an inst
104
106
105
107
To learn how to set concurrency limits for HTTP trigger functions, see [Set HTTP concurrency limits](flex-consumption-how-to.md#set-http-concurrency-limits). To learn how to set concurrency limits for non-HTTP trigger functions, see [Target Base Scaling](./functions-target-based-scaling.md).
106
108
109
+
## Mount file shares
110
+
111
+
Flex Consumption lets you mount Azure Files shares as local directories in your function app. Mounting is useful when you need to:
112
+
113
+
+**Keep large binaries out of your deployment**: Mount executables like ffmpeg instead of packaging them, keeping deployments small and cold starts fast.
114
+
+**Share reference data across instances**: All instances read ML models, lookup tables, or corpus data from the same share without per-request downloads.
115
+
+**Share files between apps**: A producer app writes and a consumer app reads from the same mount.
116
+
117
+
Only Server Message Block (SMB) shares are supported (NFS isn't available). Mounts authenticate with a storage account access key. For more information, see [Choose a file access strategy](./concept-file-access-options.md).
118
+
119
+
To learn how to configure storage mounts, see [Mount file shares](./storage-considerations.md#mount-file-shares).
120
+
107
121
## Deployment
108
122
109
123
Deployments in the Flex Consumption plan follow a single path, and there's no longer the need for app settings to influence deployment behavior. Your project code is built and zipped into an application package, then deployed to a blob storage container. On startup, your app gets the package and runs your function code from this package. By default, the same storage account used to store internal host metadata (AzureWebJobsStorage) is also used as the deployment container. However, you can use an alternative storage account or choose your preferred authentication method by [configuring your app's deployment settings](flex-consumption-how-to.md#configure-deployment-settings).
@@ -192,7 +206,7 @@ Keep these other considerations in mind when using Flex Consumption plan:
192
206
+**Triggers**: While all triggers are fully supported in a Flex Consumption plan, 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](./extension-bundles.md), or a later version.
193
207
+**Regions**: While the Flex Consumption plan is available in many Azure regions, not all regions are currently supported. To learn more, see [View currently supported regions](flex-consumption-how-to.md#view-currently-supported-regions).
194
208
+**Deployments**: Deployment slots aren't currently supported. For zero downtime deployments with Flex Consumption, see [Site update strategies in Flex Consumption](flex-consumption-site-updates.md).
195
-
+**Azure Storage as a local share**: Network File System (NFS) file shares aren't available for Flex Consumption. Only Server Message Block (SMB) and Azure Blobs (read-only) are supported.
209
+
+**Azure Storage as a local share**: Network File System (NFS) file shares aren't available for Flex Consumption. Only Server Message Block (SMB) and Azure Blobs (read-only) are supported. For more information, see [Mount file shares](#mount-file-shares).
196
210
+**Scale**: The lowest maximum scale is currently `1`. The highest currently supported value is `1000`.
197
211
+**PowerShell Managed dependencies**: Flex Consumption doesn't support [managed dependencies in PowerShell](functions-reference-powershell.md#managed-dependencies-feature). You must instead [upload modules with app content](functions-reference-powershell.md#including-modules-in-app-content).
198
212
+**Certificates**: Loading certificates with the WEBSITE_LOAD_CERTIFICATES app setting, managed certificates, app service certificates, and other platform certificate-based features like endToEndEncryptionEnabled are currently not supported.
0 commit comments