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
Zone redundancy enables your function apps to be resilient to problems in Azure availability zones, so your app remains available when a datacenter or zone has an outage. This article provides step-by-step guidance for configuring Azure Functions to be zone-redundant. For information about how availability zones work with Azure Functions, see [Reliability in Azure Functions](/azure/reliability/reliability-functions).
15
+
Zone redundancy enables your function apps to be resilient to problems in Azure availability zones, so your app remains available when a datacenter or zone has an outage. This article provides step-by-step guidance for configuring Azure Functions to be zone-redundant, depending on your hosting plan. For information about how availability zones work with Azure Functions, see [Reliability in Azure Functions](/azure/reliability/reliability-functions).
18
16
19
17
Availability zone configuration for Azure Functions depends on your [Functions hosting plan](/azure/azure-functions/functions-scale):
20
18
@@ -25,22 +23,47 @@ Availability zone configuration for Azure Functions depends on your [Functions h
25
23
|[Dedicated (App Service) plan](/azure/azure-functions/dedicated-plan)| GA | See [Configure availability zones for App Service](../app-service/how-to-zone-redundancy.md). |
26
24
|[Consumption plan](/azure/azure-functions/consumption-plan)| n/a | Not supported by the Consumption plan. |
27
25
28
-
## Prerequisites
26
+
::: zone pivot="flex-consumption-plan"
27
+
28
+
> [!IMPORTANT]
29
+
> Before configuring zone redundancy, review the requirements and details listed in [Reliability in Azure Functions - Resilience to availability zone failures](/azure/reliability/reliability-functions?pivots=flex-consumption#resilience-to-availability-zone-failures).
29
30
30
-
Before configuring zone redundancy, review the requirements and details listed in [Reliability in Azure Functions - Resilience to availability zone failures](/azure/reliability/reliability-functions#resilience-to-availability-zone-failures).
31
+
::: zone-end
31
32
32
33
::: zone pivot="premium-plan"
33
34
34
-
> [!NOTE]
35
+
> [!IMPORTANT]
36
+
> Before configuring zone redundancy, review the requirements and details listed in [Reliability in Azure Functions - Resilience to availability zone failures](/azure/reliability/reliability-functions?pivots=premium#resilience-to-availability-zone-failures).
37
+
>
35
38
> You can only enable availability zones in the plan when you create your app. You can't convert an existing Premium plan to use availability zones.
36
39
37
40
::: zone-end
38
41
42
+
::: zone pivot="flex-consumption-plan"
43
+
44
+
## View regions that support availability zones
45
+
46
+
Zone-redundant Flex Consumption plans can be deployed into a specific set of regions. For the current list, use the Azure CLI:
47
+
48
+
1. If you haven't done so already, install and sign in to Azure using the Azure CLI:
49
+
50
+
```azurecli
51
+
az login
52
+
```
53
+
54
+
1. Use the [`az functionapp list-flexconsumption-locations`](/cli/azure/functionapp#az-functionapp-list-flexconsumption-locations) command with the `--zone-redundant=true` argument, which returns a list of regions that currently support zone-redundant Flex Consumption plans:
55
+
56
+
```azurecli-interactive
57
+
az functionapp list-flexconsumption-locations --zone-redundant=true --query "sort_by(@, &name)[].{Region:name}" -o table
58
+
```
59
+
60
+
::: zone-end
61
+
39
62
## Create a zone-redundant function app
40
63
41
64
::: zone pivot="flex-consumption-plan"
42
65
43
-
Follow these steps to create a zone-redundant Flex Consumption plan and app.
66
+
Follow these steps to create a zone-redundant Flex Consumption plan when you create your app.
44
67
45
68
#### [Azure portal](#tab/azure-portal)
46
69
@@ -63,7 +86,7 @@ Follow these steps to create a zone-redundant Flex Consumption plan and app.
63
86
64
87
|Setting|Suggested value|Notes for zone redundancy|
|**Storage account**|A [zone-redundant storage account](/azure/azure-functions/storage-considerations#storage-account-requirements)|As described in the [prerequisites](#prerequisites) section, we strongly recommend using a zone-redundant storage account for your zone-redundant function app.|
89
+
|**Storage account**|A [zone-redundant storage account](/azure/azure-functions/storage-considerations#storage-account-requirements)|As described in the [reliability guide for Azure Functions](/azure/reliability/reliability-functions?pivots=flex-consumption#resilience-to-availability-zone-failures), we strongly recommend using a zone-redundant storage account for your zone-redundant function app.|
67
90
68
91
1. For the rest of the function app creation process, create your function app as normal. There are no settings in the rest of the creation process that affect zone redundancy.
69
92
@@ -183,7 +206,7 @@ Follow these steps to create a zone-redundant Premium plan and app.
183
206
184
207
|Setting|Suggested value|Notes for zone redundancy|
|**Storage account**|A [zone-redundant storage account](/azure/azure-functions/storage-considerations#storage-account-requirements)|As described in the [prerequisites](#prerequisites) section, we strongly recommend using a zone-redundant storage account for your zone-redundant function app.|
209
+
|**Storage account**|A [zone-redundant storage account](/azure/azure-functions/storage-considerations#storage-account-requirements)|As described in the [reliability guide for Azure Functions](/azure/reliability/reliability-functions?pivots=premium#resilience-to-availability-zone-failures), we strongly recommend using a zone-redundant storage account for your zone-redundant function app.|
187
210
188
211
1. For the rest of the function app creation process, create your function app as normal. There are no settings in the rest of the creation process that affect zone redundancy.
0 commit comments