Skip to content

Commit 9843baa

Browse files
authored
Merge pull request #285484 from EdB-MSFT/refresh-autoscale-get-started
refresh
2 parents 4a8d6ea + 247c3a6 commit 9843baa

File tree

9 files changed

+34
-13
lines changed

9 files changed

+34
-13
lines changed

articles/azure-monitor/autoscale/autoscale-get-started.md

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Get started with autoscale in Azure
33
description: "Learn how to scale your resource web app, cloud service, virtual machine, or Virtual Machine Scale Set in Azure."
44
ms.author: edbaynash
55
ms.topic: conceptual
6-
ms.date: 11/29/2023
6+
ms.date: 08/26/2024
77
---
88
# Get started with autoscale in Azure
99

@@ -21,7 +21,7 @@ To discover the resources that you can autoscale, follow these steps.
2121

2222
1. Open the [Azure portal.](https://portal.azure.com)
2323

24-
1. Using the search bar at the top of the page, search for and select *Azure Monitor*
24+
1. Search for and select *Azure Monitor* using the search bar at the top of the page.
2525

2626
1. Select **Autoscale** to view all the resources for which autoscale is applicable, along with their current autoscale status.
2727

@@ -30,9 +30,9 @@ To discover the resources that you can autoscale, follow these steps.
3030
:::image type="content" source="./media/autoscale-get-started/view-resources.png" lightbox="./media/autoscale-get-started/view-resources.png" alt-text="A screenshot showing resources that can use autoscale and their statuses.":::
3131

3232
The page shows the instance count and the autoscale status for each resource. Autoscale statuses are:
33-
- **Not configured**: You haven't enabled autoscale yet for this resource.
34-
- **Enabled**: You've enabled autoscale for this resource.
35-
- **Disabled**: You've disabled autoscale for this resource.
33+
- **Not configured**: Autoscale isn't set up yet for this resource.
34+
- **Enabled**: Autoscale is enabled for this resource.
35+
- **Disabled**: Autoscale is disabled for this resource.
3636

3737
You can also reach the scaling page by selecting **Scaling** from the **Settings** menu for each resource.
3838

@@ -56,9 +56,11 @@ Follow the steps below to create your first autoscale setting.
5656

5757
:::image type="content" source="./media/autoscale-get-started/custom-scale.png" lightbox="./media/autoscale-get-started/custom-scale.png" alt-text="A screenshot showing the Configure tab of the Autoscale Settings page.":::
5858

59-
1. The default rule scales your resource by one instance if the CPU percentage is greater than 70 percent. Keep the default values and select **Add**.
59+
1. The default rule scales your resource by one instance if the `Percentage CPU` metric is greater than 70 percent.
6060

61-
1. You've now created your first scale-out rule. Best practice is to have at least one scale in rule. To add another rule, select **Add a rule**.
61+
Keep the default values and select **Add**.
62+
63+
1. You've created your first scale-out rule. Best practice is to have at least one scale-in rule. To add another rule, select **Add a rule**.
6264

6365
1. Set **Operator** to *Less than*.
6466
1. Set **Metric threshold to trigger scale action** to *20*.
@@ -67,7 +69,7 @@ Follow the steps below to create your first autoscale setting.
6769

6870
:::image type="content" source="./media/autoscale-get-started/scale-rule.png" lightbox="./media/autoscale-get-started/scale-rule.png" alt-text="A screenshot showing a scale rule.":::
6971

70-
You now have a scale setting that scales out and scales in based on CPU usage, but you're still limited to a maximum of one instance.
72+
You have configured a scale setting that scales out and scales in based on CPU usage, but you're still limited to a maximum of one instance. Change the instance limits to allow for more instances.
7173

7274
1. Under **Instance limits** set **Maximum** to *3*
7375

@@ -91,7 +93,7 @@ Set your resource to scale to a single instance on a Sunday.
9193

9294
1. Select **Scale to a specific instance count**. You can also scale based on metrics and thresholds that are specific to this scale condition.
9395
1. Enter *1* in the **Instance count** field.
94-
96+
1. Select **Repeat specific days**.
9597
1. Select **Sunday**
9698
1. Set the **Start time** and **End time** for when the scale condition should be applied. Outside of this time range, the default scale condition applies.
9799
1. Select **Save**
@@ -110,12 +112,13 @@ Set Autoscale to scale differently for specific dates, when you know that there
110112
1. Select **Add a rule** to define your scale-out and scale-in rules. Set the rules to be same as the default condition.
111113
1. Set the **Maximum** instance limit to *10*
112114
1. Set the **Default** instance limit to *3*
115+
1. Select **Specify start/end dates**
113116
1. Enter the **Start date** and **End date** for when the scale condition should be applied.
114117
1. Select **Save**
115118

116-
:::image type="content" source="./media/autoscale-get-started/specific-date-schedule.png" alt-text="A screenshot showing an scale condition for a specific date.":::
119+
:::image type="content" source="./media/autoscale-get-started/specific-date-schedule.png" alt-text="A screenshot showing a scale condition for a specific date.":::
117120

118-
You have now defined a scale condition for a specific day. When CPU usage is greater than 70%, an additional instance is added, up to a maximum of 10 instances to handle anticipated load. When CPU usage is below 20%, an instance is removed up to a minimum of 1 instance. By default, autoscale will scale to 3 instances when this scale condition becomes active.
121+
You have now defined a scale condition for a specific day. When CPU usage is greater than 70%, an additional instance is added, up to a maximum of 10 instances to handle anticipated load. When CPU usage is below 20%, an instance is removed up to a minimum of 1 instance. By default, autoscale scales to 3 instances when this scale condition becomes active.
119122

120123
## Additional settings
121124

@@ -133,13 +136,30 @@ Autoscale is an Azure Resource Manager resource. Like other resources, you can s
133136

134137
You can make changes in JSON directly, if necessary. These changes will be reflected after you save them.
135138

139+
### Predictive autoscale
140+
141+
Predictive autoscale uses machine learning to help manage and scale Azure Virtual Machine Scale Sets with cyclical workload patterns. It forecasts the overall CPU load to your virtual machine scale set, based on your historical CPU usage patterns. It predicts the overall CPU load by observing and learning from historical usage. This process ensures that scale-out occurs in time to meet the demand. For more information, see [Predictive autoscale](autoscale-predictive.md).
142+
143+
144+
### Scale-in policy
145+
146+
When scaling a Virtual machine Scale Set, the scale-in policy determines which virtual machines are selected for removal when a scale-in event occurs. The scale-in policy can be set to either **Default**, **NewestVM**, or **OldestVM**. For more information, see [Use custom scale-in policies with Azure Virtual Machine Scale Sets](/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-scale-in-policy?WT.mc_id=Portal-Microsoft_Azure_Monitoring).
147+
148+
:::image type="content" source="./media/autoscale-get-started/scale-in-policy.png" lightbox="./media/autoscale-get-started/scale-in-policy.png" alt-text="A screenshot showing the scale-in policy setting.":::
149+
150+
151+
### Notify
152+
153+
You can configure notifications to be sent when a scale event occurs. Notifications can be sent to an email address or to a webhook. For more information, see [Autoscale notifications](autoscale-webhook-email.md).
154+
155+
136156
### Cool-down period effects
137157

138158
Autoscale uses a cool-down period. This period is the amount of time to wait after a scale operation before scaling again. The cool-down period allows the metrics to stabilize and avoids scaling more than once for the same condition. Cool-down applies to both scale-in and scale-out events. For example, if the cooldown is set to 10 minutes and Autoscale has just scaled-in, Autoscale won't attempt to scale again for another 10 minutes in either direction. For more information, see [Autoscale evaluation steps](autoscale-understanding-settings.md#autoscale-evaluation).
139159

140160
### Flapping
141161

142-
Flapping refers to a loop condition that causes a series of opposing scale events. Flapping happens when one scale event triggers an opposite scale event. For example, scaling in reduces the number of instances causing the CPU to rise in the remaining instances. This in turn triggers scale out event, which causes CPU usage to drop, repeating the process. For more information, see [Flapping in Autoscale](autoscale-flapping.md) and [Troubleshooting autoscale](autoscale-troubleshoot.md)
162+
Flapping refers to a loop condition that causes a series of opposing scale events. Flapping happens when one scale event triggers an opposite scale event. For example, scaling in reduces the number of instances causing the CPU to rise in the remaining instances. This in turn triggers a scale-out event, which causes CPU usage to drop, repeating the process. For more information, see [Flapping in Autoscale](autoscale-flapping.md) and [Troubleshooting autoscale](autoscale-troubleshoot.md)
143163

144164
## Move autoscale to a different region
145165

@@ -152,7 +172,7 @@ This section describes how to move Azure autoscale to another region under the s
152172

153173
### Move
154174

155-
Use [REST API](/rest/api/monitor/autoscalesettings/createorupdate) to create an autoscale setting in the new environment. The autoscale setting created in the destination region will be a copy of the autoscale setting in the source region.
175+
Use [REST API](/rest/api/monitor/autoscalesettings/createorupdate) to create an autoscale setting in the new environment. The autoscale setting created in the destination region is a copy of the autoscale setting in the source region.
156176

157177
[Diagnostic settings](../essentials/diagnostic-settings.md) that were created in association with the autoscale setting in the source region can't be moved. You'll need to re-create diagnostic settings in the destination region, after the creation of autoscale settings is completed.
158178

@@ -164,3 +184,4 @@ To learn more about moving resources between regions and disaster recovery in Az
164184

165185
- [Create an activity log alert to monitor all autoscale engine operations on your subscription](https://github.com/Azure/azure-quickstart-templates/tree/master/demos/monitor-autoscale-alert)
166186
- [Create an activity log alert to monitor all failed autoscale scale-in/scale-out operations on your subscription](https://github.com/Azure/azure-quickstart-templates/tree/master/demos/monitor-autoscale-failed-alert)
187+
- [Use autoscale actions to send email and webhook alert notifications in Azure Monitor ](autoscale-webhook-email.md)
-48.2 KB
Loading
-32 KB
Loading
-44.2 KB
Loading
49 Bytes
Loading
4.61 KB
Loading
31.3 KB
Loading
-12.2 KB
Loading
7.26 KB
Loading

0 commit comments

Comments
 (0)