Fundamentals of Azure

Page 140

number in it or dragging the slider over to the right. Figure 2-33 shows an example requesting that the App Service plan should be scaled out to six instances. This means all apps running in app services that are assigned to that plan will now have six instances.

Figure 2-33

Manually scaling out to six instances.

Scaling manually isn’t practical unless you’re sure your apps will run consistently all of the time. What if you have an application used by a small company, and usage is only high from 8 AM to 5 PM? Do you set it to handle the usage during the day and let it run at that size through the night? It would make more sense to scale down the apps in the evening when there’s less usage. What if you just want to use a simple plan of increasing the instance size when your CPU percentage reaches a specific value, and decrease when the CPU percentage goes back down? You can monitor the app service for these conditions and scale it manually, but wouldn’t it be better if you could set it to scale up and down 110 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.