Hi Kishore Loaknath,
Thank you for your question about migrating workloads from a deprecated image for virtual machines (VMs) or virtual machine scale sets (VMSS). Below is detailed guidance to help you upgrade your image or migrate to a new VM without losing data, along with best practices and additional resources.
NOTE:
- After the scheduled deprecation date, you cannot deploy new VMs or VMSS instances using the deprecated image.
- Existing VMs will continue to run without interruption.
- Existing VMSS deployments will remain operational but cannot be scaled out (i.e., you cannot add new instances) after deprecation.
Reference: https://free.blessedness.top/en-us/azure/virtual-machines/deprecated-images
Recommendation:
- The recommended approach to upgrade your VM or VMSS is to create new VMs or scale sets with the supported OS/image version you intend to use and then migrate your workloads.
- For minimal disruption, separate your data from the OS disk by using additional data disks. This enables you to move or reattach data disks independent of the OS during migration.
- For VMSS, Enable Automatic OS Image Upgrades to apply the latest supported image automatically.
Please find below documentations for more details:
How do I migrate my workloads to another image?
Hope this helps! please let me know if you have any queries.