Skip to content

Commit c785572

Browse files
authored
Merge pull request #187299 from dlepow/azscale
[APIM] Autoscaling and AZ
2 parents 1801285 + 799af76 commit c785572

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

articles/api-management/api-management-howto-autoscale.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
---
22
# Mandatory fields. See more on aka.ms/skyeye/meta.
33
title: Configure autoscale of an Azure API Management instance | Microsoft Docs
4-
description: This topic describes how to set up autoscale behavior for an Azure API Management instance.
4+
description: This article describes how to set up autoscale behavior for an Azure API Management instance.
55
services: api-management
66
documentationcenter: ''
77
author: dlepow
8-
manager: anneta
9-
editor: ''
108

119
ms.service: api-management
12-
ms.workload: integration
13-
ms.topic: article
14-
ms.date: 06/20/2018
10+
ms.topic: how-to
11+
ms.date: 02/02/2022
1512
ms.author: danlep
1613
---
1714

1815
# Automatically scale an Azure API Management instance
1916

20-
Azure API Management service instance can scale automatically based on a set of rules. This behavior can be enabled and configured through Azure Monitor and is supported only in **Standard** and **Premium** tiers of the Azure API Management service.
17+
Azure API Management service instance can scale automatically based on a set of rules. This behavior can be enabled and configured through [Azure Monitor autoscale](../azure-monitor/autoscale/autoscale-overview.md#supported-services-for-autoscale) and is supported only in **Standard** and **Premium** tiers of the Azure API Management service.
2118

2219
The article walks through the process of configuring autoscale and suggests optimal configuration of autoscale rules.
2320

@@ -39,11 +36,11 @@ To follow the steps from this article, you must:
3936

4037
Certain limitations and consequences of scaling decisions need to be considered before configuring autoscale behavior.
4138

42-
+ Autoscale can be enabled only for **Standard** and **Premium** tiers of Azure API Management service.
43-
+ Pricing tiers also specify the maximum number of units for a service instance.
44-
+ Scaling process will take at least 20 minutes.
45-
+ If the service is locked by another operation, scaling request will fail and retry automatically.
46-
+ In case of a service with multi-regional deployments, only units in the **Primary location** can be scaled. Units in other locations can't be scaled.
39+
+ The pricing tier of your API Management instance determines the [maximum number of units](upgrade-and-scale.md#upgrade-and-scale) you may scale to. The **Standard tier** can be scaled to 4 units. You can add any number of units to the **Premium** tier.
40+
+ The scaling process will take at least 20 minutes.
41+
+ If the service is locked by another operation, the scaling request will fail and retry automatically.
42+
+ If your service instance is deployed in multiple regions (locations), only units in the **Primary location** can be autoscaled with Azure Monitor autoscale. Units in other locations can only be scaled manually.
43+
+ If your service instance is configured with [availability zones](zone-redundancy.md) in the **Primary location**, be aware of the number of zones when configuring autoscaling. The number of API Management units in autoscale rules and limits must be a multiple of the number of zones.
4744

4845
## Enable and configure autoscale for Azure API Management service
4946

articles/api-management/zone-redundancy.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: dlepow
55

66
ms.service: api-management
77
ms.topic: how-to
8-
ms.date: 01/24/2022
8+
ms.date: 02/02/2022
99
ms.author: danlep
1010
ms.custom: references_regions
1111

@@ -50,9 +50,12 @@ Configuring API Management for zone redundancy is currently supported in the fol
5050
5151
## Prerequisites
5252

53-
* If you have not yet created an API Management service instance, see [Create an API Management service instance](get-started-create-service-instance.md). Select the Premium service tier.
53+
* If you haven't yet created an API Management service instance, see [Create an API Management service instance](get-started-create-service-instance.md). Select the Premium service tier.
5454
* If your API Management instance is deployed in a [virtual network](api-management-using-with-vnet.md), ensure that you set up a virtual network, subnet, and public IP address in any new location where you plan to enable zone redundancy.
5555

56+
> [!NOTE]
57+
> If you've configured [autoscaling](api-management-howto-autoscale.md) for your API Management instance in the primary location, you might need to adjust your autoscale settings after enabling zone redundancy. The number of API Management units in autoscale rules and limits must be a multiple of the number of zones.
58+
5659
## Enable zone redundancy - portal
5760

5861
In the portal, optionally enable zone redundancy when you add a location to your API Management service, or update the configuration of an existing location.
@@ -61,7 +64,7 @@ In the portal, optionally enable zone redundancy when you add a location to your
6164
1. Select an existing location, or select **+ Add** in the top bar. The location must [support availability zones](#supported-regions).
6265
1. Select the number of scale **[Units](upgrade-and-scale.md)** in the location.
6366
1. In **Availability zones**, select one or more zones. The number of units selected must distribute evenly across the availability zones. For example, if you selected 3 units, select 3 zones so that each zone hosts one unit.
64-
1. If the API Management instance is deployed in a [virtual network](api-management-using-with-vnet.md), configure virtual network settings in the location by select an existing virtual network, subnet, and public IP address that are available in the location. For an existing location, the virtual network and subnet must be configured from the Virtual Network blade.
67+
1. If the API Management instance is deployed in a [virtual network](api-management-using-with-vnet.md), select an existing virtual network, subnet, and public IP address that are available in the location. For an existing location, the virtual network and subnet must be configured from the Virtual Network blade.
6568
1. Select **Apply** and then select **Save**.
6669

6770
:::image type="content" source="media/zone-redundancy/add-location-zones.png" alt-text="Enable zone redundancy":::

0 commit comments

Comments
 (0)