Setting up automatic scaling
The ability to scale applications is an important capability when you're fully leveraging the power of cloud technologies.
As a fully managed service, Web Apps are easy to scale – either manually or automatically. Auto-scaling is only available on S1 price tiers and above, so we will keep the Web App we published in the previous section at the S1 tier.
When we changed the pricing tier from free to S1, we performed a scale-up process. Auto-scaling uses scaling out. Scaling up involves adding more RAM and CPU to the individual instance of our Web App. Scaling out creates more instances of our Web Apps, and in front of them, Azure uses a load balancer to split traffic between those instances.
We can scale our apps based on different rules. We can scale based on a metric, such as CPU or RAM usage, or we can scale on a schedule – for example, scale up during core hours and scale back when we know the app won't be used as much...