Skip to content

Commit f8e4a6b

Browse files
author
gitName
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into http2
2 parents 50a1459 + 83f3ffb commit f8e4a6b

File tree

546 files changed

+6778
-2539
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

546 files changed

+6778
-2539
lines changed

.openpublishing.redirection.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6894,6 +6894,11 @@
68946894
"redirect_url": "/azure/governance/policy/samples/hipaa-hitrust",
68956895
"redirect_document_id": false
68966896
},
6897+
{
6898+
"source_path": "articles/reliability/migrate-workload-aks-mysql.md",
6899+
"redirect_url": "/azure/reliability/availability-zones-migration-overview",
6900+
"redirect_document_id": true
6901+
},
68976902
{
68986903
"source_path": "articles/private-5g-core/disconnected-mode.md",
68996904
"redirect_url": "/azure/private-5g-core/azure-stack-edge-disconnects",
@@ -6904,6 +6909,7 @@
69046909
"redirect_url": "/azure/signups/overview",
69056910
"redirect_document_id": false
69066911
}
6912+
69076913
]
69086914
}
69096915

articles/app-service/app-service-web-configure-tls-mutual-auth.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ ms.custom: devx-track-csharp, devx-track-extended-java, devx-track-js, devx-trac
1515

1616
# Configure TLS mutual authentication in Azure App Service
1717

18+
[!INCLUDE [app-service-managed-certificate](./includes/managed-certs/managed-certs-note.md)]
19+
1820
You can restrict access to your Azure App Service app by enabling various types of authentication for the app. One way to set up authentication is to request a client certificate when the client request is sent by using Transport Layer Security (TLS) / Secure Sockets Layer (SSL) and to validate the certificate. This mechanism is called *mutual authentication* or *client certificate authentication*. This article shows how to set up your app to use client certificate authentication.
1921

2022
> [!NOTE]

articles/app-service/app-service-web-tutorial-custom-domain.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ author: msangapu-msft
1313

1414
# Set up an existing custom domain in Azure App Service
1515

16+
[!INCLUDE [app-service-managed-certificate](./includes/managed-certs/managed-certs-note.md)]
17+
1618
[Azure App Service](overview.md) provides a highly scalable, self-patching web hosting service. This guide shows you how to map an existing custom Domain Name System (DNS) name to App Service. To migrate a live site and its DNS domain name to App Service with no downtime, see [Migrate an active DNS name to Azure App Service](manage-custom-dns-migrate-domain.md).
1719

1820
The DNS record type you need to add with your domain provider depends on the domain you want to add to App Service.

articles/app-service/configure-domain-traffic-manager.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ ms.author: msangapu
1212

1313
[!INCLUDE [web-selector](../../includes/websites-custom-domain-selector.md)]
1414

15-
> [!NOTE]
16-
> For Cloud Services, see
17-
[Configuring a custom domain name for an Azure cloud service](../cloud-services/cloud-services-custom-domain-name-portal.md).
15+
[!INCLUDE [app-service-managed-certificate](./includes/managed-certs/managed-certs-note.md)]
1816

1917
When you use [Azure Traffic Manager](../traffic-manager/index.yml) to load balance traffic to [Azure App Service](overview.md), the App Service app can be accessed using **\<traffic-manager-endpoint>.trafficmanager.net**. You can assign a custom domain name, such as www\.contoso.com, with your App Service app in order to provide a more recognizable domain name for your users.
2018

articles/app-service/configure-ssl-app-service-certificate.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ author: msangapu-msft
1313

1414
# Buy and manage App Service certificates
1515

16+
[!INCLUDE [app-service-managed-certificate](./includes/managed-certs/managed-certs-note.md)]
17+
1618
This article shows you how to create an Azure App Service certificate and perform management tasks like renewing, synchronizing, and deleting certificates. After you have an App Service certificate, you can then import it into an App Service app. An App Service certificate is a private certificate that Azure manages. It combines the simplicity of automated certificate management and the flexibility of renewal and export options.
1719

1820
If you purchase an App Service certificate from Azure, Azure manages the following tasks:

articles/app-service/configure-ssl-bindings.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ author: msangapu-msft
1313
---
1414
# Enable HTTPS for a custom domain in Azure App Service
1515

16+
[!INCLUDE [app-service-managed-certificate](./includes/managed-certs/managed-certs-note.md)]
17+
1618
This article shows you how to provide security for the [custom domain](app-service-web-tutorial-custom-domain.md) in your [Azure App Service app](./index.yml) or [function app](../azure-functions/index.yml) by creating a certificate binding. When you're finished, you can access your App Service app at the `https://` endpoint for your custom Domain Name System (DNS) name. An example is `https://www.contoso.com`.
1719

1820
![Screenshot that shows a web app with a custom TLS/SSL certificate.](./media/configure-ssl-bindings/app-with-custom-ssl.png)

articles/app-service/configure-ssl-certificate-in-code.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ author: msangapu-msft
1212

1313
# Use TLS/SSL certificates in your application code
1414

15+
[!INCLUDE [app-service-managed-certificate](./includes/managed-certs/managed-certs-note.md)]
16+
1517
In your application code, you can access the [public or private certificates that you add to Azure App Service](configure-ssl-certificate.md). Your app code might act as a client and access an external service that requires certificate authentication. It might also need to perform cryptographic tasks. This article shows how to use public or private certificates in your application code.
1618

1719
This approach to using certificates in your code makes use of the Transport Layer Security (TLS) functionality in App Service, which requires your app to be in the Basic tier or higher. If your app is in the Free or Shared tier, you can [include the certificate file in your app repository](#load-a-certificate-from-a-file).

articles/app-service/configure-ssl-certificate.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ author: msangapu-msft
1313

1414
# Add and manage TLS/SSL certificates in Azure App Service
1515

16+
[!INCLUDE [app-service-managed-certificate](./includes/managed-certs/managed-certs-note.md)]
17+
1618
You can add digital security certificates to [use in your application code](configure-ssl-certificate-in-code.md) or to [help secure custom Domain Name System (DNS) names](configure-ssl-bindings.md) in [Azure App Service](overview.md). App Service provides a highly scalable, self-patching web hosting service. The certificates are currently called Transport Layer Security (TLS) certificates. They were previously known as Secure Sockets Layer (SSL) certificates. These private or public certificates help you to secure internet connections. The certificates encrypt data sent between your browser, websites that you visit, and the website server.
1719

1820
The following table lists the options for you to add certificates in App Service.
Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
---
2+
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.
4+
ms.topic: conceptual
5+
ms.service: azure-app-service
6+
ms.date: 07/15/2025
7+
author: anaharris
8+
ms.author: anaharris
9+
10+
---
11+
# Configure App Service plans for zone redundancy
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).
14+
15+
## Create a new App Service plan with zone redundancy
16+
17+
To create a new App Service plan with zone redundancy:
18+
19+
# [Azure portal](#tab/portal)
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**.
22+
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+
25+
# [Azure CLI](#tab/azurecli)
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.
28+
29+
```azurecli
30+
az appservice plan create \
31+
-n <app-service-plan-name> \
32+
-g <resource-group-name> \
33+
--zone-redundant \
34+
--number-of-workers 2 \
35+
--sku P1V3
36+
```
37+
38+
# [Bicep](#tab/bicep)
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.
41+
42+
```bicep
43+
resource appServicePlan 'Microsoft.Web/serverfarms@2024-11-01' = {
44+
name: appServicePlanName
45+
location: location
46+
sku: {
47+
name: sku
48+
capacity: 2
49+
}
50+
kind: 'linux'
51+
properties: {
52+
reserved: true
53+
zoneRedundant: true
54+
}
55+
}
56+
```
57+
58+
---
59+
60+
## Set zone redundancy for an existing App Service plan
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.
64+
65+
# [Azure portal](#tab/portal)
66+
67+
1. In the [Azure portal](https://portal.azure.com), navigate to your App Service plan.
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.
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.
72+
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+
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.
77+
78+
# [Azure CLI](#tab/azurecli)
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.
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+
```
88+
89+
- To *disable zone redundancy*, set the `zoneRedundant` property to `false`.
90+
91+
```azurecli
92+
az appservice plan update \
93+
-n <app-service-plan-name> \
94+
-g <resource-group-name> \
95+
--set zoneRedundant=false
96+
```
97+
98+
# [Bicep](#tab/bicep)
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.
101+
102+
```bicep
103+
resource appServicePlan 'Microsoft.Web/serverfarms@2024-11-01' = {
104+
name: appServicePlanName
105+
location: location
106+
sku: {
107+
name: sku
108+
capacity: 2
109+
}
110+
kind: 'linux'
111+
properties: {
112+
reserved: true
113+
zoneRedundant: true
114+
}
115+
}
116+
```
117+
118+
- To *disable zone redundancy*, set the `zoneRedundant` property to `false`.
119+
120+
---
121+
122+
## Check for zone redundancy support on an App Service plan
123+
124+
To see whether an existing App Service plan supports zone redundancy:
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:
127+
128+
# [Azure portal](#tab/portal)
129+
130+
1. In the [Azure portal](https://portal.azure.com), navigate to your App Service plan.
131+
132+
1. Select **Scale out (App Service plan)**.
133+
134+
The maximum number of zones that your App Service plan can use is shown in **Maximum available zones**.
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.":::
137+
138+
# [Azure CLI](#tab/azurecli)
139+
140+
Query the plan's `maximumNumberOfZones` property:
141+
142+
```azurecli
143+
az appservice plan show \
144+
-n <app-service-plan-name> \
145+
-g <resource-group-name> \
146+
--query properties.maximumNumberOfZones
147+
```
148+
149+
# [Bicep](#tab/bicep)
150+
151+
Query the plan's `maximumNumberOfZones` property:
152+
153+
```bicep
154+
resource appServicePlan 'Microsoft.Web/serverfarms@2024-11-01' existing = {
155+
name: '<app-service-plan-name>'
156+
}
157+
158+
#disable-next-line BCP083
159+
output maximumNumberOfZones int = appServicePlan.properties.maximumNumberOfZones
160+
```
161+
162+
---
163+
164+
1. Compare the number with the following table to determine whether your plan supports zone redundancy:
165+
166+
| Maximum Number of Zones | Zone redundancy support |
167+
| ------------------------ | ----------------------- |
168+
| Greater than 1 | Supported |
169+
| Equal to 1 | Not supported* |
170+
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 so that you land on the App Service footprint that supports zones.
172+
173+
## View physical zones for an App Service plan
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:
176+
177+
# [Azure portal](#tab/portal)
178+
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+
181+
1. Select the **Health check** blade.
182+
183+
1. Select the **Instances** tab to view the physical zone placement for each of your instances.
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.":::
186+
187+
# [Azure CLI](#tab/azurecli)
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:
190+
191+
```azurecli
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+
```
194+
195+
# [Bicep](#tab/bicep)
196+
197+
This operation is not supported in Bicep. Use the Azure CLI or Azure portal instead.
198+
199+
---
200+
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)

0 commit comments

Comments
 (0)