From the course: Microsoft Azure Developer Associate (AZ-204) Cert Prep by Microsoft Press

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Implement autoscaling

Implement autoscaling

And let's talk a little bit about web app scaling. So in the Azure App Service, we support both horizontal or vertical scaling. So let's just start with vertical scaling. So vertical scaling means I can just change the SKU. So the size of the compute that is providing resources to the web app. So if I'm in a, let's just say P1V3, and I get more and more and more demand, I look at it and I say, well, I need more capacity on this. So let me get a bigger compute. So I'll go for, let's imagine a P2V3. There you go. You just got a bigger virtual machine. Usually, every change that you do for a bigger tier, it's usually like the double of the compute. So you get more compute now to support this extra load that you're getting. If you're getting more load, more requests, there's a better way to do this. And that's using horizontal scaling. Horizontal scaling is adding more instances of the same size. So instead of just one instance, now you get two, three, four, five, 10. There are limits, by…

Contents