Microsoft has provided an early preview of Azure App Service Automatic Scaling – a handy tool provided Azure hasn’t reached capacity again.
The auto-scaling feature is designed to remove all the annoying rules and schedules of the existing Azure versions Auto scaling in favor of something managed by the platform itself.
When activated via the Azure CLI or ARM template, the feature automatically scales the number of running app instances when the number of requests increases and scales things back down when the demand decreases. Developers can set limits and minimums for the service; The latter is useful for dealing with bottlenecks while the former is essential to avoid a heartbreaking bill.
Once configured, auto-scaling takes precedence over existing auto-scaling rules and schedules. Microsoft also recommends turning off health checks for web apps that have the feature enabled.
“The health check requests can cause unnecessary fluctuations in HTTP traffic,” said the company. What a shame Health control is a useful way to see if your app is off schedule.
One cynic might suggest that Microsoft could use such a tool for its own notoriously shaky endeavors in the cloud.
The costs are billed to the second and the preview works with existing Premium Pv2 and Pv3 SKUs. It’s also only for the Azure App Service for Windows and Linux, and amazingly, Microsoft has so far resisted the urge to tinker with the Azure Portal user interface; The preview must be configured using the Azure CLI or the ARM template.
While Autoscale has been around for a long time in the Azure world, defining the metrics and load plans can be tedious, although complete control over how and when to scale will no doubt remain a preference of cautious administrators.
Microsoft’s cloud rival AWS also offers a variety of scaling options, including the vaguely scary sounding one Predictive scaling, which uses machine learning models to predict a customer’s traffic and resource needs. ®