On Azure, if we have a Windows VM and want to upgrade it to the latest version; e.g. Windows server 2019, there is no direct way or available template on Azure to do it smoothly. Though there are a couple of alternatives to achieve this.
All these processes are a time-consuming activity that requires more effort from operations as well as from a testing point of view.
What if we upgrade on Azure windows VM itself (in-place upgrade) with more confidence? Yes, we can and it can be done in 4-6 hours. Keep in mind before upgrading that you need to take the backup of VHDs (OS & data disks), make note of extensions, NIC.
Here is the step by step process to update the IaaS VM Windows server:
Remove the disk encryption
Wait for a few minutes until all disks are fully decrypted. Wait time all depends on disk size. Depending on your disk size it may vary. For TBs of data disk, it will take a few hours to fully decrypt the disks.
Steps to verify:
Open PowerShell in admin mode
Command: Get-BitLockerVolume
If we see VolumeStatus (FullyDecrypted) or EncryptionPercentage (0)
We are good to proceed with the next step of removing the disk encryption.
#windows server #azure vm #windows server 2019