In the demo you will build Python app to generate CPU load. You set up CPU autoscale rules and monitor scaling up and down.
- 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
- Visit web site page and click "start work" to start generation CPU activity
- When you start and stop generation you might get following graph of scalding per instance based on CPU load