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
This article describes how to set up Autoscale settings for your applications using the Microsoft Azure portal or the Azure CLI.
19
19
20
20
Autoscale is a built-in feature of Azure Spring Cloud that helps applications perform their best when demand changes. Azure Spring Cloud supports scale-out and scale-in, which includes modifying the number of app instances and load balancing.
21
-
21
+
22
22
## Prerequisites
23
23
24
24
To follow these procedures, you need:
@@ -35,9 +35,9 @@ To follow these procedures, you need:
35
35
4. Select the **Apps** tab under **Settings** in the menu on the left navigation pane.
36
36
5. Select the application for which you want to set up Autoscale. In this example, select the application named **demo**. You should then see the application's **Overview** page.
37
37
6. Go to the **Scale out** tab under **Settings** in the menu on the left navigation pane.
38
-
7. Select the deployment you want to set up Autoscale. You should see options for Autoscale shown in the following section.
38
+
7. Select the deployment you want to set up Autoscale. The options for Autoscale are described in the following section.

41
41
42
42
## Set up Autoscale settings for your application in the Azure portal
43
43
@@ -46,29 +46,42 @@ There are two options for Autoscale demand management:
46
46
* Manual scale: Maintains a fixed instance count. In the Standard tier, you can scale out to a maximum of 500 instances. This value changes the number of separate running instances of the application.
47
47
* Custom autoscale: Scales on any schedule, based on any metrics.
48
48
49
-
In the Azure portal, choose how you want to scale. The following figure shows the **Custom autoscale** option and mode settings.
49
+
In the Azure portal, choose how you want to scale. The following figure shows the **Custom autoscale** option and mode settings.
az monitor autoscale rule create -g demo-rg --autoscale-name demo-setting --scale out 1 --cooldown 1 --condition "tomcat.global.request.total.count > 100 avg 1m where AppName == demo and Deployment == default"
72
+
az monitor autoscale rule create \
73
+
--resource-group demo-rg \
74
+
--autoscale-name demo-setting \
75
+
--scale out 1 \
76
+
--cooldown 1 \
77
+
--condition "tomcat.global.request.total.count > 100 avg 1m where AppName == demo and Deployment == default"
67
78
```
68
79
80
+
For information on the available metrics, see the [User metrics options](/azure/spring-cloud/concept-metrics#user-metrics-options) section of [Metrics for Azure Spring Cloud](/azure/spring-cloud/concept-metrics).
81
+
69
82
## Upgrade to the Standard tier
70
83
71
-
If you are on the Basic tier and constrained by one or more of these limits, you can upgrade to the Standard tier. To do this, go to the **Pricing** tier menu by first selecting the **Standard tier** column and then selecting the **Upgrade** button.
84
+
If you're on the Basic tier and constrained by one or more of these limits, you can upgrade to the Standard tier. To upgrade, go to the **Pricing** tier menu by first selecting the **Standard tier** column and then selecting the **Upgrade** button.
0 commit comments