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
title: Configure App Service plans for zone redundancy
3
-
description: Learn how to configure your App Service plan for zone redundancy. Understand how your App Service plan instances are distributed across availability zones and how to check for zone redundancy support.
2
+
title: Configure App Service Plans for Zone Redundancy
3
+
description: Learn how to configure an App Service plan for zone redundancy, see how plan instances spread across availability zones, and check for zone redundancy support.
4
4
ms.topic: conceptual
5
5
ms.service: azure-app-service
6
6
ms.date: 07/15/2025
@@ -10,21 +10,21 @@ ms.author: anaharris
10
10
---
11
11
# Configure App Service plans for zone redundancy
12
12
13
-
Azure App Service provides built-in reliability features to help ensure your applications are available and resilient. This article describes how to create your App Service plan with zone redundancy. It also covers how to disable and enable zone redundancy on existing plans, and how to check for zone redundancy support. To learn more about how App Service supports zone redundancy, see [Reliability in Azure App Service](../reliability/reliability-app-service.md).
13
+
Azure App Service provides built-in reliability features to help ensure your applications are available and resilient. This article describes how to create your App Service plan with zone redundancy. It also covers how to disable and enable zone redundancy on existing plans, and how to check for zone redundancy support. For more information about how App Service supports zone redundancy, see [Reliability in App Service](../reliability/reliability-app-service.md).
14
14
15
15
## Create a new App Service plan with zone redundancy
16
16
17
-
To create a new App Service plan with zone redundancy:
17
+
To create a new App Service plan with zone redundancy, follow the appropriate steps.
18
18
19
19
# [Azure portal](#tab/portal)
20
20
21
-
Follow the guidance in [Create an App Service plan](../app-service/app-service-plan-manage.md#create-an-app-service-plan). Make sure to select *Enabled* for **Zone redundancy**.
21
+
Follow the guidance to [create an App Service plan](../app-service/app-service-plan-manage.md#create-an-app-service-plan). Make sure to select *Enabled* for **Zone redundancy**.
22
22
23
23
:::image type="content" source="./media/configure-zone-redundancy/app-service-create-zr-plan.png" alt-text="Screenshot of zone redundancy enablement during App Service plan creation in the Azure portal.":::
24
24
25
25
# [Azure CLI](#tab/azurecli)
26
26
27
-
Set the `--zone-redundant` argument. You must also specify the `--number-of-workers` argument, which is the number of instances, and set a value greater than or equal to 2.
27
+
Set the `--zone-redundant` argument. You must also set the `--number-of-workers` argument, which is the number of instances, to a value of 2 or more.
28
28
29
29
```azurecli
30
30
az appservice plan create \
@@ -37,7 +37,7 @@ az appservice plan create \
37
37
38
38
# [Bicep](#tab/bicep)
39
39
40
-
Set the `zoneRedundant` property to `true`. You must also define the `sku.capacity` property to a value of 2 or greater. If you don't define the `sku.capacity` property, the value defaults to 1.
40
+
Set the `zoneRedundant` property to `true`. You must also set the `sku.capacity` property to a value of 2 or more. If you don't define the `sku.capacity` property, the value defaults to 1.
## Set zone redundancy for an existing App Service plan
61
61
62
-
1.If you want to enable zone redundancy on an existing App Service plan, [check for zone redundancy support for your App Service plan](#check-for-zone-redundancy-support-on-an-app-service-plan).
63
-
1. If your App Service plan supports zone redundancy, you can enable or disable it by using the Azure portal, Azure CLI, or Bicep/Resource Manager.
62
+
1.To enable zone redundancy on an existing App Service plan, [check for zone redundancy support](#check-for-zone-redundancy-support-on-an-app-service-plan).
63
+
1. If your App Service plan supports zone redundancy, use the Azure portal, Azure CLI, or Bicep and Azure Resource Manager to enable or disable it.
64
64
65
65
# [Azure portal](#tab/portal)
66
66
67
-
1. In the [Azure portal](https://portal.azure.com), navigate to your App Service plan.
67
+
1. In the [Azure portal](https://portal.azure.com), go to your App Service plan.
68
68
1. Select **Settings > Scale out (App Service plan)** in the left navigation pane.
69
-
1. Select **Zone redundancy**if you wish to enable zone redundancy. Deselect if you wish to disable it.
69
+
1. Select **Zone redundancy** to enable zone redundancy. Deselect it to disable it.
70
70
71
-
Changing the zone redundancy status of an App Service plan is almost instantaneous. You don't experience downtime or performance problems during the process.
71
+
The zone redundancy status of an App Service plan changes almost instantaneously. No downtime or performance problems occur during the process.
72
72
73
73
:::image type="content" source="./media/configure-zone-redundancy/app-service-plan-zone-redundancy-portal.png" alt-text="Screenshot of zone redundancy property for an App Service plan in the Azure portal.":::
74
74
75
75
> [!IMPORTANT]
76
-
> If you have *Rules Based* scaling enabled, you can't use the Azure portal to enable zone redundancy. You must use the Azure CLI or Bicep/Resource Manager instead.
76
+
> If you have *Rules Based* scaling enabled, you can't use the Azure portal to enable zone redundancy. You must use the Azure CLI or Bicep and Resource Manager instead.
77
77
78
78
# [Azure CLI](#tab/azurecli)
79
79
80
-
- To *enable zone redundancy*, set the `zoneRedundant` property to `true`. You must also specify the `sku.capacity` argument, which is the number of instances, and set a value greater than or equal to 2.
80
+
- To *enable zone redundancy*, set the `zoneRedundant` property to `true`. You must also specify the `sku.capacity` argument, which is the number of instances, to a value of 2 or more.
81
81
82
-
```azurecli
83
-
az appservice plan update \
84
-
-n <app-service-plan-name> \
85
-
-g <resource-group-name> \
86
-
--set zoneRedundant=true sku.capacity=2
87
-
```
82
+
```azurecli
83
+
az appservice plan update \
84
+
-n <app-service-plan-name> \
85
+
-g <resource-group-name> \
86
+
--set zoneRedundant=true sku.capacity=2
87
+
```
88
88
89
89
- To *disable zone redundancy*, set the `zoneRedundant` property to `false`.
90
90
91
-
```azurecli
92
-
az appservice plan update \
93
-
-n <app-service-plan-name> \
94
-
-g <resource-group-name> \
95
-
--set zoneRedundant=false
96
-
```
91
+
```azurecli
92
+
az appservice plan update \
93
+
-n <app-service-plan-name> \
94
+
-g <resource-group-name> \
95
+
--set zoneRedundant=false
96
+
```
97
97
98
98
# [Bicep](#tab/bicep)
99
99
100
-
- To *enable zone redundancy*, set the `zoneRedundant` property to `true`. You must also define the `sku.capacity` property to a value of 2 or greater. If you don't define the `sku.capacity` property, the value defaults to 1.
100
+
- To *enable zone redundancy*, set the `zoneRedundant` property to `true`. You must also define the `sku.capacity` property to a value of 2 or more. If you don't define the `sku.capacity` property, the value defaults to 1.
## Check for zone redundancy support on an App Service plan
123
123
124
-
To see whether an existing App Service plan supports zone redundancy:
124
+
To see whether an existing App Service plan supports zone redundancy, do the following steps:
125
125
126
-
1. Get the maximum number of availability zones that the App Service plan can use by using the Azure portal, Azure CLI, or Bicep/Resource Manager:
126
+
1. Determine the maximum number of availability zones that the App Service plan supports by using the Azure portal, Azure CLI, or Bicep and Resource Manager.
127
127
128
128
# [Azure portal](#tab/portal)
129
129
130
-
1. In the [Azure portal](https://portal.azure.com), navigate to your App Service plan.
130
+
1. In the [Azure portal](https://portal.azure.com), go to your App Service plan.
131
131
132
132
1. Select **Scale out (App Service plan)**.
133
133
134
-
The maximum number of zones that your App Service plan can use is shown in **Maximum available zones**.
134
+
Under **Maximum available zones**, see the maximum number of zones that your App Service plan can use.
135
135
136
-
:::image type="content" source="./media/configure-zone-redundancy/app-service-plan-max-zones-portal.png" alt-text="Screenshot of maximum available zones property in the Scale out blade in the Azure portal for an App Service plan.":::
136
+
:::image type="content" source="./media/configure-zone-redundancy/app-service-plan-max-zones-portal.png" alt-text="Screenshot of the maximum available zones property in the scale-out section in the Azure portal for an App Service plan.":::
137
137
138
138
# [Azure CLI](#tab/azurecli)
139
139
140
-
Query the plan's `maximumNumberOfZones` property:
140
+
Query the plan's `maximumNumberOfZones` property.
141
141
142
142
```azurecli
143
143
az appservice plan show \
@@ -148,7 +148,7 @@ To see whether an existing App Service plan supports zone redundancy:
\* If you're on a plan or a stamp that doesn't support availability zones, you must create a new App Service plan in a new resource group so that you land on the App Service footprint that supports zones.
171
+
\* If you're on a plan or a stamp that doesn't support availability zones, you must create a new App Service plan in a new resource group. This setup ensures that your deployment lands on App Service infrastructure that supports availability zones.
172
172
173
173
## View physical zones for an App Service plan
174
174
175
-
When you have a zone-redundant App Service plan, the platform automatically places the instances across [physical availability zone](../reliability/availability-zones-overview.md#physical-and-logical-availability-zones). If you want to verify that your instances are spread across zones, you can check which physical availability zones your plan's instances use by using the Azure portal or Azure CLI:
175
+
When you have a zone-redundant App Service plan, the platform automatically places the instances across [physical availability zones](../reliability/availability-zones-overview.md#physical-and-logical-availability-zones). To verify that your instances are spread across zones, use the Azure portal or Azure CLI to check which physical availability zones your plan's instances use.
176
176
177
177
# [Azure portal](#tab/portal)
178
178
179
179
1. In the [Azure portal](https://portal.azure.com), go to your App Service app. If you have multiple apps in a plan, you can select any app.
180
180
181
-
1. Select the **Health check** blade.
181
+
1. Select **Health check**.
182
182
183
-
1. Select the **Instances** tab to view the physical zone placement for each of your instances.
183
+
1. Select **Instances** to view the physical zone placement for each of your instances.
184
184
185
-
:::image type="content" source="./media/configure-zone-redundancy/app-service-physical-zones.png" alt-text="Screenshot of the Instances tab in the Health Check blade with the physical zone information in the Azure portal for an App Service app.":::
185
+
:::image type="content" source="./media/configure-zone-redundancy/app-service-physical-zones.png" alt-text="Screenshot of the Instances tab in the Health Check section with the physical zone information in the Azure portal for an App Service app.":::
186
186
187
187
# [Azure CLI](#tab/azurecli)
188
188
189
-
Use the [REST API](/rest/api/appservice/web-apps/get-instance-info), which returns the `physicalZone` value for each instance in the App Service plan:
189
+
Use the [REST API](/rest/api/appservice/web-apps/get-instance-info), which returns the `physicalZone` value for each instance in the App Service plan.
190
190
191
191
```azurecli
192
192
az rest --method get --url https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{appName}/instances?api-version=2024-04-01
193
193
```
194
194
195
195
# [Bicep](#tab/bicep)
196
196
197
-
This operation is not supported in Bicep. Use the Azure CLI or Azure portal instead.
197
+
Bicep doesn't support this operation. Use the Azure CLI or the Azure portal instead.
198
198
199
199
---
200
200
201
201
## Related content
202
-
-[Reliability in Azure App Service](../reliability/reliability-app-service.md)
203
-
-[Configure App Service Environment for zone redundancy](../app-service/environment/configure-zone-redundancy-environment.md)
202
+
-[Reliability in App Service](../reliability/reliability-app-service.md)
203
+
-[Configure an App Service Environment for zone redundancy](../app-service/environment/configure-zone-redundancy-environment.md)
0 commit comments