After you enable the autoscaling of your service, you can add a scaling condition to define how and when your service will be scaled out or in, as shown here:
The scale condition can scale out or in based on a metric, or you can specify a specific amount of instances. For a metric-based scale condition, you define rules that will determine how to scale by clicking on the Add a rule link. This will open the Scale rule blade, in which you need to set the following:
- Criteria: The metric (CPU Percentage, Memory Percentage, and so on) and the aggregation method that will apply to the metric (Total, Average, Minimum, and so forth), ...