I have hosted a website in azure virtual machine scale set by following the below steps
- Create a VM and do the necessary changes/installations in iis.
- Create a snapshot of the VM. This ensure that the above instance can be used for future changes.
- create a disk from the snapshot.
- create a vm from the disk.
- RDP to the instance and generalize the instance for deployment (sysprep)
Run %WINDIR%\system32\sysprep\sysprep.exe as admin. Enter System Out-of-Box Experience (OOBE), Generalize check box is selected Shutdown Option = Shutdown - Create Image (capture) from the above instance.
- Create VSS from the above image
Suppose their is a change in the web build , Is there a way to update the scale set without following these steps again ?