Skip to content

Commit 4107fab

Browse files
committed
Update for new AZ features
1 parent d35f7d4 commit 4107fab

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

articles/reliability/reliability-app-service.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ When you deploy Azure App Service, you can create multiple instances of an *App
2323

2424
::: zone pivot="free-shared-basic"
2525

26-
[Enable zone redundancy](#availability-zone-support), which requires that you use Premium v3 or Isolated v2 App Service plans and that you have at minimum three instances of the plan. To view more information, make sure that you select the appropriate tier at the top of this page.
26+
[Enable zone redundancy](#availability-zone-support), which requires that you use Premium v3 or Isolated v2 App Service plans and that you have at minimum two instances of the plan. To view more information, make sure that you select the appropriate tier at the top of this page.
2727

2828
::: zone-end
2929

3030
::: zone pivot="premium,isolated"
3131

32-
[Enable zone redundancy](#availability-zone-support), which requires your App Service plan to use a minimum of three instances.
32+
[Enable zone redundancy](#availability-zone-support), which requires your App Service plan to use a minimum of two instances.
3333

3434
::: zone-end
3535

@@ -53,16 +53,20 @@ Azure App Service can be configured as *zone redundant*, which means that your r
5353

5454
Instance spreading with a zone-redundant deployment is determined using the following rules. These rules apply even as the app scales in and out:
5555

56-
- The minimum App Service plan instance count is three.
56+
- The minimum App Service plan instance count is two.
5757
- Instances are spread across multiple availability zones automatically. The number of availability zones used for your plan is determined by Azure.
58-
- The instances spread evenly if you specify a capacity larger than three, and the number of instances is divisible by three.
59-
- Any instance counts beyond 3*N are spread across the remaining one or two zones.
58+
- The instances spread evenly if you specify a capacity larger than two, and the number of instances is divisible by two.
59+
- Any instance counts beyond 2*N are spread across the remaining one or two zones.
60+
61+
62+
To view the physical zone placement of your App Service plan instances, go to the instance blade in Azure portal or use the Azure CLI command `az appservice plan show` with the `--query zones` parameter. The output shows the availability zone placement of your App Service plan instances.
6063

6164
> [!NOTE]
6265
> In some cases, your workload is hosted on a scale unit (also known as a stamp, or a compute cluster) that's deployed across two availability zones rather than three zones. For these cases, the instances are evenly spread across the two zones if the number of instances is divisible by two. Any instance count beyond 2*n is placed in one of the zones.
6366
6467
When the App Service platform allocates instances for a zone-redundant App Service plan, it uses best effort zone balancing offered by the underlying Azure virtual machine scale sets. An App Service plan is *balanced* if each zone has either the same number of virtual machines, or plus or minus one, in all of the other zones. For more information, see [Zone balancing](/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-use-availability-zones#zone-balancing).
6568

69+
6670
For App Service plans that aren't configured as zone redundant, virtual machine instances aren't resilient to availability zone failures. They can experience downtime during an outage in any zone in that region.
6771

6872
### Regions supported
@@ -101,7 +105,9 @@ You must use the [Premium v2, Premium v3, or Isolated v2 plan types](/azure/app-
101105

102106
The scale units you're assigned to is based on the resource group you deploy an App Service plan to. To ensure that your workloads land on a scale unit that supports availability zones, you might need to create a new resource group and then create a new App Service plan and App Service app within the new resource group.
103107

104-
- You must deploy a minimum of three instances of your plan.
108+
- You must deploy a minimum of two instances of your plan.
109+
110+
To see if your App Service plan is on a stamp that supports availability zones, go to the **Properties** blade of your App Service plan in the Azure portal and check the `MaximumNumberOfZones` setting. If the value is greater than 1, your stamp supports zones and you can be zone-redundant.
105111

106112
::: zone-end
107113

@@ -117,9 +123,9 @@ During an availability zone outage, some aspects of Azure App Service might be i
117123

118124
::: zone pivot="premium"
119125

120-
When you're using App Service Premium v2 or Premium v3 plans, there's no extra cost associated with enabling availability zones as long as you have three or more instances in your App Service plan. You're charged based on your App Service plan SKU, the capacity you specify, and any instances you scale to based on your autoscale criteria.
126+
When you're using App Service Premium v2 or Premium v3 plans, there's no extra cost associated with enabling availability zones as long as you have two or more instances in your App Service plan. You're charged based on your App Service plan SKU, the capacity you specify, and any instances you scale to based on your autoscale criteria.
121127

122-
If you enable availability zones but specify a capacity less than three, the platform enforces a minimum instance count of three. The platform charges you for those three instances.
128+
If you enable availability zones but specify a capacity less than two, the platform enforces a minimum instance count of two. The platform charges you for those two instances.
123129

124130
::: zone-end
125131

@@ -149,9 +155,11 @@ App Service Environment v3 has a specific pricing model for zone redundancy. For
149155

150156
::: zone-end
151157

152-
- **Migration.** Zone redundancy can only be configured when you create a new App Service plan. If you have an existing App Service plan that isn't zone-redundant, replace it with a new zone-redundant plan. You can't convert an existing App Service plan to use availability zones.
158+
- **Migration.** If you have an existing App Service plan that supports zone-redundancy, and you are on a stamp that supports availability zones, you can enable zone redundancy by setting `-zoneRedundant` to `true`. However, if you are on a plan or a stamp that doesn't support availability zones, you must create a new App Service plan on a new stamp, accordingly.
159+
160+
To learn how to migrate your App Service plan, see [Migrate an App Service plan to another region](../app-service/manage-move.md).
153161

154-
- **Disable zone redundancy.** You can't disable zone redundancy after you create an App Service plan. Instead, you need to create a new plan with zone redundancy disabled and delete the old one.
162+
- **Disable zone redundancy.** To disable zone redundancy, you can set the `zoneRedundant` property to `false`. To learn how to do this, see [Create an App Service plan with zone redundancy](../app-service/manage-availability-zones.md#enable-zone-redundancy).
155163

156164
::: zone pivot="premium,isolated"
157165

0 commit comments

Comments
 (0)