问题
Is there a way to do in-place update the OS of an Azure VM, from within the Azure Portal?
i.e. from Windows Server 2012 R2 to Windows Server 2016
回答1:
Nope. As per official article:
Microsoft does not support an upgrade of the operating system of a Microsoft Azure virtual machine. Instead, you should create a new Azure virtual machine that is running the supported version of the operating system that is required and then migrate the workload.
https://support.microsoft.com/en-us/help/2721672/microsoft-server-software-support-for-microsoft-azure-virtual-machines
Instead, use the Windows Server Migration Tools to assist you in roles and features migration:
Install, use, and remove Windows Server migration tools
回答2:
No, there is no such ability to upgrade an OS on the Azure VM (and not that I heard about it in future, who knows thou).
回答3:
It can be done by downloading the VHD and doing the upgrade locally with Hyper-V and then reupload it.
More detailed description: https://support.microsoft.com/en-us/help/4014997/an-in-place-system-upgrade-is-not-supported-on-windows-based-azure-vms
来源:https://stackoverflow.com/questions/41923827/can-you-do-in-place-updating-upgrading-of-azure-vm-operating-system