Azure Migrate offer Tools for migrate on-premises infrastructure, applications or data to Microsoft Azure. The Following features are present on Azure Migrate :
- Unified migration platform : A portal for run and track the migration to Azure.
- Tools : A Tools for assessment and migrate on-premises ressources.
- Assessment and migration – Servers : For assess and migrate on-premises servers to Azure VMs.
- Assessment and migration – Databases: For assess and migrate on-premises database servers to Azure SQL DB or Azure SQL Managed Instance.
- Assessment and migration – Web applications : For assess and migrate on-premises web applications to Azure App Service.
- Assessment and migration – Data : For assess and migrate data with Azure Data Box products.
Server Assessment tool
The Server Assessment tool permit to discover and assesses on-premise VM (VMware, Hyper-V or physical servers). This Tools facilitates migration by identifying on-premises machine that are ready to migrate to Azure with Azure readiness. You can estimate the size of Azure VMs with this Tools with Azure sizing and the cost
An Appliance is deployed on on-premises infrastructure. He can run on a physical server or VM. He permit to detect on-premises machines and send machines metadata to Azure Migrate. This applicance is agentless so you need install any agent on machine discovered.
Server Migration tool
This Tools permit to migrate on-premises machines (VMware, Hyper-V or physical servers) to azure. The migration step can be started with or without assessment. Different Tools can be use on this step.
Migrate VMware vm to Azure
Before prepare migrating, it’s important to verify the prerequisites. It’s possible to use this link Verify prerequisites.
Create Azure Migrate project
From the Azure portal, click on All Services then search Azure Migrate. Click on Azure Migrate.
On Overview tab click on Assess and migrate servers.
Click on Add Tools.
Select the desired Resource group or create a new one. Enter the name of the project and select region. Click Next to validate modification.
Select the desired assessment tool and click on Next. I choose Azure Migrate : Server Assessment.
Select the migration tool and click on Next. I choose Azure Migrate : Server Migration.
Click on Add Tools for launch operation.
Click on Add Tools for launch operation. After few minutes, the Tools has been created. Refresh web page if necessary.
Set up the appliance VM
Before add Appliance on on-premise infrastructure, you need download it. From the Azure portal, click on Servers then on Discover.
Select the type of machine and click on Download
From the vSphere portal, click on Virtual Machines then on Create / Register VM.
Select Deploy a virtual machine from an OVF or OVA file and click on Next.
Enter the desired name for the VM and click on the link Click to select files or drag/drop. Click on Next for validate selection.
Select the desired storage and click on Next.
Configure Deployment options and click on Next.
Click on Finish. VM has been imported.
The VM is imported and started. Launch console and configure password. Click on Finish.
Select the VM for view IP address assigned at the appliance.
Open a browser on any machine (connected at the same network to the VM) and open the Following URL
- https://appliance name or IP address:44368
Enter the username administrator and the password previously configured. The web app appear. Accept terms of licence.
Internet connection has verify and next hour of the applicance vm is synchronisez with NTP server. The wizard install the latest update.
Click on Verify and Install then on Continue.
Click on Connect and enter credential of Azure admin. Select Subscription, Migration project and enter the name of the Appliance. Click on Register then on Continue.
You can specify vcenter information (ip address, username, …) for discover VM automatically and click on Validate connection.
Click on Add credentials for enter the credential for the VM.
Enter Username, password and click on Add.
When is finished, click on Save and start discovery.
The Discovery has been started.
After few minutes/hour, the VM list appeat on Azure. From the Azure portal, open Azure Migrate project and click on Discovered items.
Select the project, VM present on the ESXi appear. Two of my VM has shutdown and he have Not available status (Application discovered).
Set up an assessment
It’s possible to create two different assessment.
- Performance-based : This assessment is based on the collected performance data. The VM Size is based on CPU and memory used.
- On-premises : This assessment is based on on-premise size.
From the Azure portal, click on Discovered items and click on Create assessment.
Enter the assessment name and the desired name for the group. Select the VM and click on Create assessment.
The assessment group appear on Azure portal. Click on Assessments.
The assessment appear, click on the previous created assessment.
It’s possible to see the different cost for server present on the assessment group.
Migrate VM to Azure
Migration can be operated with or without agent. You can select without agent scenario if you need install anything on Azure VM. I choose to use migration with agent.
From the Azure portal, click on Servers then on Groups.
Click on the Groups. The machine present on the groups appear. Click on Requires agent installation.
Click on Configure OMS Workspace. Enter the name of the OMS Workspace and select the location. Click on Configure.
When the OMS Workspace is created, download Microsoft Monitoring Agent.
Copy and install agent on the server that you want replicate. A wizard appear, click on Next.
Accept the terms of licence by clicking on Accept.
Validate the destination folder and check Connect agent to Azure Log Analytics (OMS).
From the Azure portal, copy Workspace ID and Workspace key. Paste this ID on install Windows.
Configure Windows Update option and click on Install.
Restart server and repeat the same operation with Step 2.
From the Azure portal, click on Discovered items then on Replicate.
Specify in the drop-down list whether the machine is virtualized or not and then the Appliance to use. Click on Next Virtual Machines.
From the drop-down list, select Yes, Apply migration settings from an Azure Migrate assessment. Select Group and Assessment. Select the desired virtual machine and click on Next Target Settings.
Select the desired Region and the Resource group. You need to select Virtual Network and subnet. Click on Next:Compute.
Select the Azure VM Size and click on Next: Disk.
Configure disk and start replication.
Deployment is in progress.
From the Azure Migrate portal, click on Overview.
Click on Replicating machines for view the state of replication to Azure. In production, it’s possible to see the migration state