Skip to content

Commit 09a6b8e

Browse files
authored
Merge pull request #306658 from nzthiago/nzthiagopatch1
Updating create and post-create instructions for Flex Consumption zone redundancy
2 parents 8e03e25 + 0b13145 commit 09a6b8e

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

235 KB
Loading

articles/reliability/reliability-functions.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ There are currently multiple ways to deploy a zone-redundant Flex Consumption ap
126126
127127
#### [Azure portal](#tab/azure-portal)
128128
129+
1. To create a function app in a zone-redundant plan, you must have an existing [zone-redundant storage account](../azure-functions/storage-considerations.md#storage-account-requirements). If you don't already have a zone-redundant storage account, create one before you proceed.
130+
129131
1. In the Azure portal, go to the **Create Function App** page. For more information about creating a function app in the portal, see [Create a function app](../azure-functions/functions-create-function-app-portal.md#create-a-function-app).
130132
131133
1. Select **Flex Consumption** and then select the **Select** button.
@@ -140,7 +142,7 @@ There are currently multiple ways to deploy a zone-redundant Flex Consumption ap
140142
:::image type="content" source="../azure-functions/media/functions-az-redundancy/azure-functions-flex-basics-az.png" alt-text="Screenshot of the Basics tab of the Flex Consumption function app create page.":::
141143
142144
143-
1. On the **Storage** tab, enter the settings for your function app storage account. Pay special attention to the setting in the following table, which has specific requirements for zone redundancy.
145+
1. On the **Storage** tab, select the zone-redundant storage account for your function app. Pay special attention to the setting in the following table, which has specific requirements for zone redundancy.
144146
145147
| Setting | Suggested value | Notes for zone redundancy |
146148
| ------------ | ---------------- | ----------- |
@@ -240,21 +242,27 @@ After the storage accounts used by your app are updated, you can update the Flex
240242

241243
#### [Azure portal](#tab/azure-portal)
242244

243-
Not currently supported.
245+
1. In the Azure portal, search for and select the function app to update.
246+
247+
1. Under **Settings**, select **Scale and Concurrency**.
248+
249+
1. On the **Zone redundancy** tab, check **Add zone redundancy** to enable the feature. If already checked, you can uncheck this box to disable the feature.
250+
251+
1. Select **Save** to commit your changes and restart the app.
252+
253+
:::image type="content" source="../azure-functions/media/functions-az-redundancy/azure-functions-flex-update-az.png" alt-text="Screenshot of the Scale and Concurrency tab of a Flex Consumption function app.":::
244254

245255
#### [Azure CLI](#tab/azure-cli)
246256

247-
Not currently supported.
248-
<!--- unhide this after we get the required CLI fix implemented
249-
Update the Flex Consumption app by using the [az functionapp plan update](/cli/azure/functionapp#az-functionapp-plan-update) command and setting the `--zone-redundant true` parameter:
257+
Update the app by using the `--zone-redundant` parameter of the [az functionapp plan update](/cli/azure/functionapp/plan#az-functionapp-plan-update) command. Use a value of `true` to enable zone redundancy and `false` disable the feature. This example enables zone redundancy for an existing app in a Flex Consumption plan:
250258

251259
```azurecli
252260
PLAN_RESOURCE_ID=$(az functionapp show --resource-group <RESOURCE_GROUP> --name <APP_NAME> --query "properties.serverFarmId" -o tsv)
253261
254262
az functionapp plan update --ids $PLAN_RESOURCE_ID --set zoneRedundant=true
255263
```
256264

257-
In this example, replace `<RESOURCE_GROUP>` and `<APP_NAME>` with the names of your resource group and app, respectively. -->
265+
In this example, replace `<RESOURCE_GROUP>` and `<APP_NAME>` with the names of your resource group and app, respectively.
258266

259267
#### [Bicep template](#tab/bicep)
260268

0 commit comments

Comments
 (0)