Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 788 Bytes

File metadata and controls

23 lines (12 loc) · 788 Bytes

AZ-204 Demo: Autoscale by using performance metrics

In the demo you will build Python app to generate CPU load. You set up CPU autoscale rules and monitor scaling up and down.

Before delivery:

  • You need to provision Linux Web app Standard price tier for Python.
  • Deploy demo code located on pyWebApp folder by use VS Code "Web Application: Deploy..." command.
  • Setup autoscale rules CPU > 50% +1 and CPU < 10% -1. For simplicity and speedup demo chose the shortest intervals

Autoscale

In class:

  • Visit web site page and click "start work" to start generation CPU activity

start

  • When you start and stop generation you might get following graph of scalding per instance based on CPU load

Scale Result