Skip to content

Commit 4e08e43

Browse files
committed
Edits for Sam fixes
1 parent 41d84e4 commit 4e08e43

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Create and manage function apps in a Flex Consumption plan
33
description: "Learn how to create function apps hosted in the Flex Consumption plan in Azure Functions and how to modify specific settings for an existing function app."
4-
ms.date: 05/12/2024
4+
ms.date: 05/21/2024
55
ms.topic: how-to
66
ms.custom:
77
- build-2024
@@ -321,19 +321,19 @@ When choosing a subnet, these considerations apply:
321321

322322
## Configure deployment settings
323323

324-
In the Flex Consumption plan, the deployment package that contains your app's code is maintained in a blob storage container. By default, deployments use the same storage account (`AzureWebJobsStorage`) and connection string value used by the Functions runtime to maintain your app. The connection string is stored in the `DEPLOYMENT_STORAGE_CONNECTION_STRING` application setting. However, you can instead designate a blob container in a separate storage account as the deployment source for your code or change the authentication type.
324+
In the Flex Consumption plan, the deployment package that contains your app's code is maintained in an Azure Blob Storage container. By default, deployments use the same storage account (`AzureWebJobsStorage`) and connection string value used by the Functions runtime to maintain your app. The connection string is stored in the `DEPLOYMENT_STORAGE_CONNECTION_STRING` application setting. However, you can instead designate a blob container in a separate storage account as the deployment source for your code. You can also change the authentication method used to access the container.
325325

326-
A custom deployment storage account should follow these considerations:
326+
A customized deployment source should meet this criteria:
327327

328328
+ The storage account must already exist.
329329
+ The container to use for deployments must also exist.
330-
+ Each app should have its own deployment container. The deployed application package will be overwritten when multiple apps share the same container.
330+
+ When more than one app uses the same storage account, each should have its own deployment container. Using a unique container for each app prevents the deployment packages from being overwritten, which would happen if apps shared the same container.
331331

332332
When configuring deployment storage authentication, keep these considerations in mind:
333333

334-
+ When using connection string, the application setting containing the connection string for the deployment storage acccount must already exist.
335-
+ When using user assigned managed identity, the provided identity will be linked to the function app and the `Storage Blob Data Contributor` role scoped to the deployment storage account will be assigned to it.
336-
+ When using system assigned managed identity, a new identity will be created if one does not already exist for your app. If one exists, then the `Storage Blob Data Contributor` role scoped to the deployment storage account will be assigned to it.
334+
+ When you use a connection string to connect to the deployment storage account, the application setting that contains the connection string must already exist.
335+
+ When you use a user-assigned managed identity, the provided identity gets linked to the function app. The `Storage Blob Data Contributor` role scoped to the deployment storage account also gets assigned to the identity.
336+
+ When you use a system-assigned managed identity, an identity gets created when a valid system-assigned identity doesn't already exist in your app. When a system-assigned identity does exists, the `Storage Blob Data Contributor` role scoped to the deployment storage account also gets assigned to the identity.
337337

338338
To configure deployment settings when you create your function app in the Flex Consumption plan:
339339

@@ -446,7 +446,7 @@ You can't currently change the instance memory size setting for your app using V
446446

447447
## Set always ready instance counts
448448

449-
When creating an app in a Flex Consumption plan, you can set the always ready instance count for specific groups (HTTP or Durable triggers) and triggers.
449+
When creating an app in a Flex Consumption plan, you can set the always ready instance count for specific groups (HTTP or Durable triggers) and triggers. For individual functions, use the format `function:<FUNCTION_NAME>=n`.
450450

451451
### [Azure CLI](#tab/azure-cli)
452452

@@ -459,7 +459,7 @@ az functionapp create --resource-group <RESOURCE_GROUP> --name <APP_NAME> --stor
459459
This example sets the always ready instance count for all Durable trigger functions to `3` and sets the always ready instance count to `2` for a service bus triggered function named `function5`:
460460

461461
```azurecli
462-
az functionapp create --resource-group <RESOURCE_GROUP> --name <APP_NAME> --storage <STORAGE_NAME> --runtime <LANGUAGE_RUNTIME> --runtime-version <RUNTIME_VERSION> --flexconsumption-location <REGION> --always-ready-instances durable=3 function5=2
462+
az functionapp create --resource-group <RESOURCE_GROUP> --name <APP_NAME> --storage <STORAGE_NAME> --runtime <LANGUAGE_RUNTIME> --runtime-version <RUNTIME_VERSION> --flexconsumption-location <REGION> --always-ready-instances durable=3 function:function5=2
463463
```
464464

465465
### [Azure portal](#tab/azure-portal)

0 commit comments

Comments
 (0)