Skip to content

Commit 188ddd1

Browse files
authored
Merge pull request #290429 from MicrosoftDocs/release-ignite-functions-flex-consumption-ga
[Ignite 2024 Ship Room][Functions] Flex Consumption plan GA
2 parents d3bab15 + 054f1a6 commit 188ddd1

18 files changed

+31
-74
lines changed

articles/azure-functions/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
items:
345345
- name: Consumption plan
346346
href: consumption-plan.md
347-
- name: Flex Consumption plan (preview)
347+
- name: Flex Consumption plan
348348
href: flex-consumption-plan.md
349349
- name: Premium plan
350350
href: functions-premium-plan.md

articles/azure-functions/analyze-telemetry-data.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ traces
161161

162162
## Query Flex Consumption code deployment logs
163163

164-
[!INCLUDE [functions-flex-preview-note](../../includes/functions-flex-preview-note.md)]
165-
166164
The following query can be used to search for all code deployment logs for the current function app within the specified time period:
167165

168166
```kusto

articles/azure-functions/configure-networking-how-to.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ When you create a function app, you either create a new storage account or link
2424
2525
For a list of all restrictions on storage accounts, see [Storage account requirements](storage-considerations.md#storage-account-requirements).
2626

27-
[!INCLUDE [functions-flex-preview-note](../../includes/functions-flex-preview-note.md)]
28-
2927
## Secure storage during function app creation
3028

3129
You can create a function app, along with a new storage account that is secured behind a virtual network. The following sections show you how to create these resources by using either the Azure portal or by using deployment templates.

articles/azure-functions/create-first-function-azure-developer-cli.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ In this Quickstart, you use Azure Developer command-line tools to create functio
1313

1414
The project source uses the Azure Developer CLI (azd) to simplify deploying your code to Azure. This deployment follows current best practices for secure and scalable Azure Functions deployments.
1515

16-
[!INCLUDE [functions-flex-preview-note](../../includes/functions-flex-preview-note.md)]
17-
1816
By default, the Flex Consumption plan follows a _pay-for-what-you-use_ billing model, which means to complete this quickstart incurs a small cost of a few USD cents or less in your Azure account.
1917

2018
## Prerequisites

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ ms.custom:
1111

1212
In the Consumption, Flex Consumption, and Premium plans, Azure Functions scales resources by adding more instances based on the number of events that trigger a function.
1313

14-
[!INCLUDE [functions-flex-preview-note](../../includes/functions-flex-preview-note.md)]
15-
1614
The way in which your function app scales depends on the hosting plan:
1715

1816
+ **Consumption plan:** Each instance of the Functions host in the Consumption plan is limited, typically to 1.5 GB of memory and one CPU. An instance of the host supports the entire function app. As such, all functions within a function app share resource in an instance are scaled at the same time. When function apps share the same Consumption plan, they're still scaled independently.
@@ -104,7 +102,7 @@ The following considerations apply for scale-in behaviors:
104102

105103
## Per-function scaling
106104

107-
_Applies only to the Flex Consumption plan (preview)_.
105+
_Applies only to the Flex Consumption plan_.
108106

109107
The [Flex Consumption plan] is unique in that it implements a _per-function scaling_ behavior. In per-function scaling, except for HTTP triggers, Blob (Event Grid) triggers, and Durable Functions, all other function trigger types in your app scale on independent instances. HTTP triggers in your app all scale together as a group on the same instances, as do all Blob (Event Grid), and all Durable Functions triggers, which have their own shared instances.
110108

articles/azure-functions/flex-consumption-how-to.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ This article shows you how to create function apps hosted in the [Flex Consumpti
1414

1515
Function app resources are langauge-specific. Make sure to choose your preferred code development language at the beginning of the article.
1616

17-
[!INCLUDE [functions-flex-preview-note](../../includes/functions-flex-preview-note.md)]
18-
1917
## Prerequisites
2018

2119
+ An Azure account with an active subscription. If you don't already have one, you can [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
@@ -124,7 +122,7 @@ To support your function code, you need to create three resources:
124122
::: zone-end
125123
In this example, replace both `<RESOURCE_GROUP>` and `<STORAGE_NAME>` with the resource group and the name of the account you used in the previous step, respectively. Also replace `<APP_NAME>` with a globally unique name appropriate to you. The `<APP_NAME>` is also the default domain name server (DNS) domain for the function app. The [`az functionapp create`] command creates the function app in Azure.
126124
127-
This command creates a function app running in the Flex Consumption plan. The specific language runtime version used is one that is currently supported in the preview.
125+
This command creates a function app running in the Flex Consumption plan.
128126
129127
Because you created the app without specifying [always ready instances](#set-always-ready-instance-counts), your app only incurs costs when actively executing functions. The command also creates an associated Azure Application Insights instance in the same resource group, with which you can monitor your function app and view logs. For more information, see [Monitor Azure Functions](functions-monitoring.md).
130128
```
@@ -150,7 +148,7 @@ To support your function code, you need to create three resources:
150148
| Prompt | Selection |
151149
| ------ | ----------- |
152150
| Enter a globally unique name for the new function app. | Type a globally unique name that identifies your new function app and then select Enter. Valid characters for a function app name are `a-z`, `0-9`, and `-`. |
153-
| Select a hosting plan. | Choose **Flex Consumption (Preview)**. |
151+
| Select a hosting plan. | Choose **Flex Consumption**. |
154152
| Select a runtime stack. | Choose one of the supported language stack versions. |
155153
| Select a resource group for new resources. | Choose **Create new resource group** and type a resource group name, like `myResourceGroup`, and then select enter. You can also select an existing resource group. |
156154
| Select a location for new resources. | Select a location in a supported [region](https://azure.microsoft.com/regions/) near you or near other services that your functions access. Unsupported regions aren't displayed. For more information, see [View currently supported regions](#view-currently-supported-regions).|
@@ -543,7 +541,7 @@ You can't currently set HTTP concurrency limits using Visual Studio Code.
543541

544542
## View currently supported regions
545543

546-
During the preview, you're only able to run on the Flex Consumption plan only in selected regions. To view the list of regions that currently support Flex Consumption plans:
544+
To view the list of regions that currently support Flex Consumption plans:
547545

548546
[!INCLUDE [functions-flex-supported-regions-cli](../../includes/functions-flex-supported-regions-cli.md)]
549547

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

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ ms.custom: references_regions, build-2024
1212

1313
Flex Consumption is a Linux-based Azure Functions hosting plan that builds on the Consumption _pay for what you use_ serverless billing model. It gives you more flexibility and customizability by introducing private networking, instance memory size selection, and fast/large scale-out features still based on a <em>serverless</em> model.
1414

15-
> [!IMPORTANT]
16-
> The Flex Consumption plan is currently in preview. For a list of current limitations when using this hosting plan, see [Considerations](#considerations). For current information about billing during the preview, see [Billing](#billing).
17-
1815
You can review end-to-end samples that feature the Flex Consumption plan in the [Flex Consumption plan samples repository](https://github.com/Azure-Samples/azure-functions-flex-consumption-samples).
1916

2017
## Benefits
@@ -98,9 +95,7 @@ Deployments in the Flex Consumption plan follow a single path. After your projec
9895

9996
The minimum billable execution period for both execution modes is 1,000 ms. Past that, the billable activity period is rounded up to the nearest 100 ms. You can find details on the Flex Consumption plan billing meters in the [Monitoring reference](monitor-functions-reference.md?tab=flex-consumption-plan#metrics).
10097

101-
For details about how costs are calculated when you run in a Flex Consumption plan, including examples, see [Consumption-based costs](functions-consumption-costs.md?tabs=flex-consumtion-plan#consumption-based-costs).
102-
103-
For the most up-to-date information on execution pricing, always ready baseline costs, and free grants for on demand executions, see the [Azure Functions pricing page](https://azure.microsoft.com/pricing/details/functions/).
98+
For details about how costs are calculated when you run in a Flex Consumption plan, including examples, see [Consumption-based costs](functions-consumption-costs.md?tabs=flex-consumtion-plan#consumption-based-costs).
10499

105100
## Supported language stack versions
106101

@@ -119,7 +114,7 @@ This table shows the language stack versions that are currently supported for Fl
119114

120115
## Regional subscription memory quotas
121116

122-
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:
117+
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. 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:
123118

124119
+ You have one 2,048 MB app scaled to 100 and a second 2,048 MB app scaled to 150 instances
125120
+ You have one 2,048 MB app that scaled out to 250 instances
@@ -134,20 +129,19 @@ In Flex Consumption, many of the standard application settings and site configur
134129

135130
## Considerations
136131

137-
Keep these other considerations in mind when using Flex Consumption plan during the current preview:
132+
Keep these other considerations in mind when using Flex Consumption plan:
138133

139-
+ **Host**: There is a 30 seconds timeout for the app initialization. If your function app takes longer than 30 seconds to start you will see gRPC related System.TimeoutException entries. This timeout will be configurable and a more clear exception will be implemented as part of [this host work item](https://github.com/Azure/azure-functions-host/issues/10482).
134+
+ **Host**: There is a 30 second timeout 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 timeout. For more information, see [this host work item](https://github.com/Azure/azure-functions-host/issues/10482).
140135
+ **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.
141-
+ **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`.
136+
+ **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`.
142137
+ **Triggers**: All triggers are fully supported except for Kafka and Azure SQL 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.
143138
+ **Regions**: Not all regions are currently supported. To learn more, see [View currently supported regions](flex-consumption-how-to.md#view-currently-supported-regions).
144139
+ **Deployments**: Deployment slots are not currently supported.
145-
+ **Scale**: The lowest maximum scale in preview is `40`. The highest currently supported value is `1000`.
140+
+ **Scale**: The lowest maximum scale is currently `40`. The highest currently supported value is `1000`.
146141
+ **Managed dependencies**: [Managed dependencies in PowerShell](functions-reference-powershell.md#dependency-management) aren't supported by Flex Consumption. You must instead [define your own custom modules](functions-reference-powershell.md#custom-modules).
147142
+ **Diagnostic settings**: Diagnostic settings are not currently supported.
148143
+ **Certificates**: Loading certificates with the WEBSITE_LOAD_CERTIFICATES app setting is currently not supported.
149-
+ **Key Vault References**: Key Vault references in app settings do not work when Key Vault is network access restricted, even if the function app has Virtual Network integration. The current workaround is to directly reference the Key Vault in code and read the required secrets.
150-
+ **Azure Files file share mount**: [Mounting an Azure Files file share](./scripts/functions-cli-mount-files-storage-linux.md) does not work when the function app has Virtual Network integration.
144+
+ **Key Vault References**: Key Vault references in app settings don't work when Key Vault is network access restricted, even if the function app has Virtual Network integration. The current workaround is to directly reference the Key Vault in code and read the required secrets.
151145

152146
## Related articles
153147

articles/azure-functions/functions-best-practices.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ When you create a function app in Azure, you must choose a hosting plan for your
2525
+ [Premium plan](functions-premium-plan.md)
2626
+ [Dedicated (App Service) plan](dedicated-plan.md)
2727

28-
[!INCLUDE [functions-flex-preview-note](../../includes/functions-flex-preview-note.md)]
29-
3028
In the context of the App Service platform, the _Premium_ plan used to dynamically host your functions is the Elastic Premium plan (EP). There are other Dedicated (App Service) plans called Premium. To learn more, see the [Premium plan](functions-premium-plan.md) article.
3129

3230
The hosting plan you choose determines the following behaviors:

articles/azure-functions/functions-concurrency.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ ms.author: cachai
1313

1414
This article describes the concurrency behaviors of event-driven triggers in Azure Functions. It also compares the static and dynamic concurrency models.
1515

16-
[!INCLUDE [functions-flex-preview-note](../../includes/functions-flex-preview-note.md)]
17-
1816
In Functions, you can have multiple executing processes of a given function running concurrently on a single compute instance. For example, consider a case where you have three different functions in your function app that is scaled-out to multiple instances to handle an increased load. In this scenario, each function is executing in response to individual invocations across all three instances, and a given instance can handle multiple invocations of the same type. Keep in mind that the function executions on a single instance share the same memory, CPU, and connection resources. Because multiple function executions can run on each instance concurrently, each function needs to have a way to manage the number of concurrent executions.
1917

2018
When your app is hosted in a dynamic scale plan (Consumption, Flex Consumption, or Premium), the host scales the number of function app instances up or down based on the number of incoming events. To learn more, see [Event Driven Scaling](./Event-Driven-Scaling.md). When you host your functions in a Dedicated (App Service) plan, you must manually configure your instances or [set up an autoscale scheme](dedicated-plan.md#scaling).

0 commit comments

Comments
 (0)