Migrate on-premises VM to Azure Virtual Machine Scale set

KK1969 311 Reputation points
2023-03-07T12:39:11.4066667+00:00

Scenario: We have multiple similar VMs at On-premises and would like to migrate them to Azure VM Scale sets. What is the best way to perform the migration?

Here is what I can think of but I do not have much expertise in DevOps area.

  1. VM Replication from On-prem to Azure, Build custom VM image and use it for Azure VM Scale sets. With this, I see a problem that next time when there is a code change, it will be like deploying code on to each VM in the VMSS!!?!?
  2. Build a fresh VM, install software, deploy application code, Build Custom VM image and use it for Azure VM Scale sets- is it feasible to convert the all these steps/process into Azure DevOps? So that next time, if there is a code change, it should be seamless deployment to VMSS rather than breaking everything.

Kindly share your inputs and suggestions for the best way to migrate and continue with VMSS for the application.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,981 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
709 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
340 questions
{count} votes

Accepted answer
  1. Prrudram-MSFT 21,461 Reputation points
    2023-03-09T10:03:00.4233333+00:00

    Hello @KK1969

    Thank you for reaching out to the Microsoft Q&A platform.

    The best way to migrate your on-premises VMs to Azure VM Scale Sets would be to use the Azure Migrate tool. This tool helps you to replicate your VMs to Azure and then you can use the replicated VMs to create a custom image. This custom image can then be used to create the Azure VM Scale Sets.

    Regarding the deployment of code changes, you can use Azure DevOps to automate the deployment process. You can create a pipeline in Azure DevOps that will deploy the code changes to the Azure VM Scale Sets. This way, you can ensure that the deployment process is seamless, and you don't have to manually deploy the code changes to each VM in the VM Scale Sets.

    You can find more information on how to migrate your VMs to Azure VM Scale Sets in the following document: https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/flexible-virtual-machine-scale-sets-migration-resources

    If this does answer your question, please accept it as the answer as a token of appreciation.


0 additional answers

Sort by: Most helpful