Fundamentals of Azure

Page 147

a hacker. Set this to autoscale based on CPU Percentage. In this case, when the average CPU Percentage is over 80 percent for more than 17 minutes, it will scale up by one instance. The Cool Down (Minutes) is the amount of time before another scaling action will take place. So after 5 minutes, if the average CPU Percentage is still over 80 percent, it will add another instance. It will continue to do this until it reaches the maximum number of instances you set on the profile, which was eight. Fill in the fields and click OK to save the rule. Now we need a rule that says if the average CPU Percentage is less than 50 percent for more than 12 minutes, decrease the instance count. It will keep decreasing the instance count until it reaches the minimum number of instances, which is two in our case. Figure 2-39 shows how to set up this rule.

117 of 540

C H A P T E R 2 | Azure App Service . . .


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.