Exercise - Azure Availability Sets
- You have to make sure that VM is part of availability set which automatically ensures it is located in right fault or update domain.
- Your availability set is automatically managing the spreading of the machines across the fault and the update to domains.
Create New VM 1
- Go to portal
- Create VM
- Enter name: demo-vm1
- Choose region
- Availability options: Availability set
- Create new availability
- Name:
demo-availset
- Fault domains: 2
- Update domains: 2
- Ok
- Name:
- Image: Windows server 2019 datacenter
- Username:
demouser
- Review and create
Create New VM 2
- Enter name: demovm-2
- Availability options: Availability set
- Choose availability set:
demo-availset
- Review and create
View Resource
- Go to All Resource
- Select availability set:
demo-availset
Important Points
- You can specify only at the time of creating VM.
- You can't add an existing VM to an availability set.
- Availability set provides fault tolerance at server level not at app level. Syncing at app level should be done by yourself. Provides high availability at infrastructure level
- You can't choose the fault or update domain. Max Fault domain - 3, Max Update domain - 20
- Different VM size and VM type (Linux/Windows) can be added to Availability Set