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
Copy file name to clipboardExpand all lines: articles/reliability/reliability-app-service.md
+69-3Lines changed: 69 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: anaharris
6
6
ms.topic: overview
7
7
ms.custom: subject-reliability
8
8
ms.service: app-service
9
-
ms.date: 05/22/2023
9
+
ms.date: 07/26/2023
10
10
---
11
11
12
12
@@ -23,6 +23,68 @@ Azure App Service is an HTTP-based service for hosting web applications, REST AP
23
23
24
24
To explore how Azure App Service can bolster the resiliency of your application workload, see [Why use App Service?](../app-service/overview.md#why-use-app-service)
|[**High Availability**](#high-availability)|:::image type="icon" source="media/icon-recommendation-high.svg":::|[ASP-1 - Deploy zone-redundant App Service plans](#-asp-1---deploy-zone-redundant-app-service-plans)|
35
+
|[**Resiliency**](#resiliency)|:::image type="icon" source="media/icon-recommendation-high.svg"::: |[ASP-2 -Use an App Service plan that supports availability zones](#-asp-2--use-an-app-service-plan-that-supports-availability-zones)|
36
+
||:::image type="icon" source="media/icon-recommendation-high.svg"::: |[ASP-4 - Create separate App Service plans for production and test](#-asp-4---create-separate-app-service-plans-for-production-and-test)|
37
+
|[**Scalability**](#scalability)|:::image type="icon" source="media/icon-recommendation-medium.svg"::: |[ASP-3 - Avoid frequently scaling up or down](#-asp-3---avoid-frequently-scaling-up-or-down)|
38
+
||:::image type="icon" source="media/icon-recommendation-medium.svg"::: |[ASP-5 - Enable Autoscale/Automatic scaling to ensure adequate resources are available to service requests](#-asp-5---enable-autoscaleautomatic-scaling-to-ensure-that-adequate-resources-are-available-to-service-requests)|
as zone-redundant. Follow the steps to [redeploy to availability zone support](#create-a-resource-with-availability-zone-enabled), configure your pipelines to redeploy your WebApp on the new App Services Plan, and then use a [Blue-Green deployment](/azure/spring-apps/concepts-blue-green-deployment-strategies) approach to failover to the new site.
45
+
46
+
By distributing your applications across multiple availability zones, you can ensure their continued operation even in the event of a datacenter-level failure. For more information on availability zone support in Azure App Service, see [Availability zone support](#availability-zone-support).
47
+
48
+
# [Azure Resource Graph](#tab/graph)
49
+
50
+
:::code language="kusto" source="~/azure-proactive-resiliency-library/docs/content/services/web/app service plan/code/asp-1/asp-1.kql":::
51
+
52
+
----
53
+
54
+
### Resiliency
55
+
56
+
#### :::image type="icon" source="media/icon-recommendation-high.svg"::: **ASP-2 -Use an App Service plan that supports availability zones**
57
+
58
+
Availability zone support is only available on certain App Service plans. To see which plan you need in order to use availability zones, see [Availability zone prerequisites](#prerequisites).
59
+
60
+
# [Azure Resource Graph](#tab/graph)
61
+
62
+
:::code language="kusto" source="~/azure-proactive-resiliency-library/docs/content/services/web/app service plan/code/asp-2/asp-2.kql":::
63
+
64
+
----
65
+
66
+
#### :::image type="icon" source="media/icon-recommendation-high.svg"::: **ASP-4 - Create separate App Service plans for production and test**
67
+
68
+
To enhance the resiliency and reliability of your business-critical workloads, you should migrate your existing App Service plans and App Service Environments to availability zone support. By distributing your applications across multiple availability zones, you can ensure their continued operation even in the event of a datacenter-level failure. For more information on availability zone support in Azure App Service, see [Availability zone support](#availability-zone-support).
69
+
70
+
71
+
### Scalability
72
+
73
+
#### :::image type="icon" source="media/icon-recommendation-medium.svg"::: **ASP-3 - Avoid frequently scaling up or down**
74
+
75
+
It's recommended that you avoid frequently scaling up or down your Azure App Service instances. Instead, choose an appropriate tier and instance size that can handle your typical workload, and scale out the instances to accommodate changes in traffic volume. Scaling up or down can potentially trigger an application restart, which may result in service disruptions.
76
+
77
+
78
+
#### :::image type="icon" source="media/icon-recommendation-medium.svg"::: **ASP-5 - Enable Autoscale/Automatic scaling to ensure that adequate resources are available to service requests**
79
+
80
+
It's recommended that you enable autoscale/automatic scaling for your Azure App Service to ensure that sufficient resources are available to handle incoming requests. Autoscaling is rule based scaling, while automatic scaling performs automatic in and out scaling based on HTTP traffic. For more information see, [automatic scaling in Azure App Service](/azure/app-service/manage-automatic-scaling) or [get started with autoscale in Azure](/azure/azure-monitor/autoscale/autoscale-get-started).
81
+
82
+
# [Azure Resource Graph](#tab/graph)
83
+
84
+
:::code language="kusto" source="~/azure-proactive-resiliency-library/docs/content/services/web/app service plan/code/asp-5/asp-5.kql":::
85
+
86
+
----
87
+
26
88
## Availability zone support
27
89
28
90
[!INCLUDE [Availability zone description](includes/reliability-availability-zone-description-include.md)]
@@ -31,13 +93,15 @@ Azure App Service can be deployed across [availability zones (AZ)](../reliabilit
31
93
32
94
When you configure to be zone redundant, the platform automatically spreads the instances of the Azure App Service plan across three zones in the selected region. This means that the minimum App Service Plan instance count will always be three. If you specify a capacity larger than three, and the number of instances is divisible by three, the instances are spread evenly. Otherwise, instance counts beyond 3*N are spread across the remaining one or two zones.
33
95
34
-
Availability zone support is a property of the App Service plan. App Service plans can be created on managed multi-tenant environment or dedicated environment using App Service Environment. To Learn more regarding App Service Environment, see [App Service Environment overview](../app-service/environment/overview.md).
96
+
Availability zone support is a property of the App Service plan. App Service plans can be created on managed multi-tenant environment or dedicated environment using App Service Environment. To Learn more regarding App Service Environment, see [App Service Environment v3 overview](../app-service/environment/overview.md).
35
97
36
98
For App Services that aren't configured to be zone redundant, VM instances are not zone resilient and can experience downtime during an outage in any zone in that region.
37
99
100
+
For information on enterprise deployment architecture, see [High availability enterprise deployment using App Service Environment](/azure/architecture/web-apps/app-service-environment/architectures/ase-high-availability-deployment).
101
+
38
102
### Prerequisites
39
103
40
-
Availability zone support is a property of the App Service plan. The following are the current requirements/limitations for enabling availability zones:
104
+
The current requirements/limitations for enabling availability zones are:
41
105
42
106
- Both Windows and Linux are supported.
43
107
@@ -181,3 +245,5 @@ There's no additional cost associated with enabling availability zones. Pricing
181
245
182
246
> [!div class="nextstepaction"]
183
247
> [Reliability in Azure](/azure/availability-zones/overview)
0 commit comments