In the demo you will build Python app to generate CPU load. Then you will set up CPU autoscale rules and monitor scaling in and out.
- Azure CLI
- VS code
-
Open
demo.azcli
and execute commands line by line and deploy website. Observe created rules from the Azure Portal -
Open deployed Web App and click "start work" to start workload.
-
Monitor autoscaling history and stop the workload when the wab app scaled for more then 1 instance.
-
When the workload finished the web app should scale in back to 1 instance.