We have a public website hosted on two Azure IaaS VMs which are behind a Network Load Balancer. What are the available solutions to auto patch and reboot without impacting site availability?
I am looking for a solution like this
Suppress the IaaS VM in NLB to stop the traffic coming to the VM. (apply a network security group to stop the traffic)
Run the monthly patches/updates on the IaaS VM
- Restart the IaaS VM
- Enable the IaaS VM in NLB to allow the traffic.
- Move on to next server
Are there any solution available for this in Azure? or do we need to prepare our own PowerShell scripts to do this? if its a PowerShell script how to make it run monthly once?