Skip to content

Commit 07f7689

Browse files
committed
Add information about checking for AZ compatibility
1 parent d5f4219 commit 07f7689

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

articles/app-service/environment/configure-zone-redundancy-environment.md

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: anaharris
1212

1313
[App Service Environment](./overview.md) is a single-tenant deployment of Azure App Service that integrates with an Azure virtual network. Each App Service Environment deployment requires a dedicated subnet, which you can't use for other resources.
1414

15-
This article shows you how to create and modify your App Service Environment zone redundancy settings. It also shows you how to set up and modifiy zone redundancy settings for your plan.
15+
This article shows you how to create and modify your App Service Environment zone redundancy settings as well as how to check for zone redundancy support. It also shows you how to set up and modifiy zone redundancy settings for your plan.
1616

1717
To learn more details about how App Service Environment supports zone redundancy, see [Reliability in Azure App Service Environment](../../reliability/reliability-app-service-environment.md).
1818

@@ -65,6 +65,51 @@ To learn more details about how App Service Environment supports zone redundancy
6565
> [!NOTE]
6666
> When you change the zone redundancy status of the App Service Environment, you initiate an upgrade that takes 12-24 hours to complete. During the upgrade process, you don't experience any downtime or performance problems.
6767
68+
### Check for zone redundancy support for an App Service Environment
69+
70+
To see whether an existing App Service Environment supports zone redundancy:
71+
72+
1. Get the maximum number of availability zones that the App Service Environment can use by using the Azure portal, Azure CLI, or Bicep/Resource Manager:
73+
74+
# [Azure portal](#tab/portal)
75+
76+
This operation is not yet supported in the Azure portal. Use the Azure CLI or Bicep instead.
77+
78+
# [Azure CLI](#tab/azurecli)
79+
80+
Query the environment's `maximumNumberOfZones` property:
81+
82+
```azurecli
83+
az appservice ase show \
84+
-n <app-service-environment-name> \
85+
-g <resource-group-name> \
86+
--query maximumNumberOfZones
87+
```
88+
89+
# [Bicep](#tab/bicep)
90+
91+
Query the environment's `maximumNumberOfZones` property:
92+
93+
```bicep
94+
resource appServiceEnvironment 'Microsoft.Web/hostingEnvironments@2024-11-01' existing = {
95+
name: '<app-service-environment-name>'
96+
}
97+
98+
#disable-next-line BCP053
99+
output maximumNumberOfZones bool = appServiceEnvironment.properties.maximumNumberOfZones
100+
```
101+
102+
---
103+
104+
1. Compare the number with the following table to determine whether your plan supports zone redundancy:
105+
106+
| Maximum Number of Zones | Zone redundancy support |
107+
| ------------------------ | ----------------------- |
108+
| Greater than 1 | Supported |
109+
| Equal to 1 | Not supported* |
110+
111+
\* If you're on a plan or a stamp that doesn't support availability zones, you must create a new App Service Environment in a new resource group so that you land on the App Service footprint that supports zones.
112+
68113
## Configure Isolated v2 App Service plans with zone redundancy
69114
70115
All App Service plans created in an App Service Environment must be in an Isolated v2 pricing tier.

articles/reliability/reliability-app-service-environment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ To enable zone redundancy for your App Service Environment you must:
7171

7272
- Configure your App Service Environment *and* your plans to support zone redundancy. You can enable zone redundancy during the creation of the App Service Environment or by updating an existing environment.
7373

74+
To learn whether or not the App Service Environment is configured for zone redundancy, see [Check for zone redundancy support for an App Service Environment](../app-service/environment/configure-zone-redundancy-ase.md#check-for-zone-redundancy-support-for-an-app-service-environment).
75+
7476
### Instance distribution across zones
7577

7678
[!INCLUDE [Instance distribution across zones description](includes/app-service/reliability-instance-distribution-across-zones-include.md)]

0 commit comments

Comments
 (0)