Skip to content

Commit 1dd74df

Browse files
committed
Update file access options and Flex Consumption plan documentation for clarity and accuracy
1 parent a076365 commit 1dd74df

2 files changed

Lines changed: 25 additions & 11 deletions

File tree

articles/azure-functions/concept-file-access-options.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ Not every option is available on every hosting plan:
3131

3232
| Hosting plan | Storage bindings | External database | Storage mount (Azure Files) |
3333
| --- | :---: | :---: | :---: |
34-
| **Flex Consumption** | Yes | Yes | Yes |
35-
| **Dedicated (App Service)** | Yes | Yes | Yes |
36-
| **Premium** | Yes | Yes | No |
37-
| **Consumption** (Windows only) | Yes | Yes | No |
34+
| [Flex Consumption](./flex-consumption-plan.md) | | | |
35+
| [Elastic Premium](./functions-premium-plan.md) | | | |
36+
| [Dedicated (App Service)](./dedicated-plan.md) | | | |
37+
| [Consumption](./consumption-plan.md) (Windows only) | | | |
3838

3939
The rest of this article focuses on mounts: when they're the right choice, and how to use them safely.
4040

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

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,19 @@ The Flex Consumption plan builds on the strengths of the serverless Consumption
2727
+ **Per-Function Scaling**: Each function in your app [scales independently based on its workload](#per-function-scaling), potentially resulting in more efficient resource allocation.
2828
+ **Improved Concurrency Handling**: Better handling of concurrent executions with configurable concurrency settings per function.
2929
+ **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.
3031

3132
This table helps you directly compare the features of Flex Consumption with the Consumption hosting plan:
3233

33-
| Feature | Consumption | Flex Consumption |
34+
| Feature | Flex Consumption | Consumption |
3435
| ----- | ---- | ---- |
3536
| Scale to zero| ✅ Yes | ✅ Yes |
36-
| Scale behavior | [Event driven](event-driven-scaling.md) | [Event driven](event-driven-scaling.md) (fast) |
37-
| Virtual networks |❌ Not supported | ✅ Supported |
38-
| Dedicated compute (mitigate cold starts) | ❌ None | ✅ Always ready instances (optional) |
39-
| Billing | Execution-time only | Execution-time + always-ready instances |
40-
| Scale-out instances (max) | 200 | 1000 |
37+
| Scale behavior | [Event driven](event-driven-scaling.md) (fast) | [Event driven](event-driven-scaling.md) |
38+
| Virtual networks | ✅ Supported | ❌ Not supported |
39+
| Dedicated compute (mitigate cold starts) | ✅ Always ready instances (optional) | ❌ None |
40+
| Billing | Execution-time + always-ready instances | Execution-time only |
41+
| Scale-out instances (max) | 1000 | 200 |
42+
| Azure Files storage mounts | ✅ Supported | ❌ Not supported |
4143

4244
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).
4345

@@ -104,6 +106,18 @@ Concurrency refers to the number of parallel executions of a function on an inst
104106

105107
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).
106108

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+
107121
## Deployment
108122

109123
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:
192206
+ **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.
193207
+ **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).
194208
+ **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).
196210
+ **Scale**: The lowest maximum scale is currently `1`. The highest currently supported value is `1000`.
197211
+ **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).
198212
+ **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

Comments
 (0)