VMSS
- Lets create an image in Azure Compute Gallery
Create a VMSS with fixed scaling
- VMSS can be used for fixed scaling where it tries to maintain the desired count
- The following image describes the activity which we are supposed to perform

- Fixed count = 3
- Health Probe
- GET /info.php should get 200
- Failed: when two consecutive health probes have gone bad
- Succed: When atleast 3 consecutive health probes have good status.
- Create a VMSS








- Now access
http://publicip/info.phphere public ip is ip address of load balancer



- Lets create a new http health probe

Experiment with metrics
- Create a VM with ubuntu
- Login into vm with two terminals
- Execute
htopin one terminal - Install stress in other terminal
sudo apt update and sudo apt install stress - execute the command
stress --cpu 8 --timeout 10m -v
