Azure Virtual Machine Scale sets
- Orchestration Modes in Azure VMSS
- Uniform:
- All the vms will have same sizes
- Supports zero down time deployments
- Flexible
- The sizes can be customized per vm
- Still upgrade support is not added.
- Uniform:
-
Deployment options: (Upgrade Policy)
- Manual
- Automatic Upgrade
-
Scaling Policies
- Manual scaling
- Metric Based Scaling: we define some metric and control scaling
- Predictive Scaling: Maching learning algorithm does the scaling based on historical utilzation. This requires atleast 7 days of scaling information to be effective.
Lets create an Autoscaling group with auto upgrade policy
- Create a vmss
- Ensure Upgrade policy is automatic or rolling updates
- Now lets create a public load balancer
- For load balancer vmss is a backend pool
- Now we can access the application using load balancer ip address
- Now lets create a new image version in compute gallery
- Wait till new version is generated completely
