hello friends and welcome back to my
channel in today's video we will migrate our on-premise VMware virtual machine to the azure cloud using azure migrate let's get started this is my main system on which I have
installed the VMware workstation and on the VMware workstation I have created the
vSphere 7 cluster or vSphere 7 home lab you can click on i button on
the top and go to the video which explains in detail how to create the
vSphere 7 home lab on the VMware workstation I will open the browser and I will
type the IP address of my vCenter here I will give the username and password so I have logged into my a vCenter 7 which is having the one cluster, this
is my cluster and this cluster is having two hosts and this is the Windows 10 virtual machine which is residing on the host 192.168.0.131 I will open the console of this virtual
machine this is the Windows 10 virtual machine and this is the IP address of the virtual machine and this is the hostname today we will be migrating this
Windows 10 virtual machine to the azure cloud using the azure migration I have logged into azure portal and you can see here I am using
the free trial subscription I will go to resource groups create subscription I will keep free trial, resource group name I will give virtualtechbox-rg region I will select east US next create so resource group has been created I will now go to virtual networks create virtual network subscription I will keep free trial, resource group I will select virtual textbox rg which
we have just created, name I will give virtualtechbox-vnet,
region I will select east us next IP address space I will give
10.0.0.0/16 and I will delete this default
subnet, I will add the new subnet I'll give the name to the subnet virtualtechbox-subnet I will give
this subnet as 10.0.2.0/24 add next I will not change anything here, next, next create okay virtual network has been created here we will have to now create the migration
project, so I will go to azure migrate I will click here discover access and migrate I will select here create project subscription I will keep free trial,
resource group I will create new so this is the name I have given to
the resource group, new resource group for the migration project vSphere7homelab migration-rg project name I will give here vSphere 7 home lab migration geography I will keep as it is, United States I will click on create okay so here migration project has
been created and you can see here on this page our project name is highlighted
means this project has been selected vSphere7 home lab migration which
is our today's project name I will now go ahead and click here on discover on this
page, discover using appliance here in the drop down I will select
yes with VMware vSphere hypervisor so these are the steps which we need to
follow to register the migration appliance so we'll have to download the
ova file which is about 12 GB of the migrate appliance, you can
click here and download the appliance I have already downloaded this appliance
in my local system which is present in the download folder I will now go to my vCenter on my v center
on the left side I will select my cluster in the actions I will select the deploy ovf template local file, upload files, I will select the
appliance which we have downloaded, open, next I will give the name to the appliance azure
migration appliance, I will select the folder, next I will select the second host to deploy this appliance, next next here in the disk format in the drop
down I will select the thin provision and I will select the data store
one which is mapped to my second ESXI host and it is the local data store, next VM network, next finish which will start importing the ovf template of the appliance this ovf template deployment will take some time here migration appliance has
been imported and deployed and it is present in my inventory
in the powered off state I will right click on the
appliance and go to edit setting I will make the vcpu as 2 as you know this is
my lab setup and I am having less resources available so I am reducing the resources of the
appliance, I will make the RAM as 10 GB okay I will now go ahead and power ON the appliance I will launch the web console of the appliance this is how it looks like in the console accept I will set the password for
the migration appliance here finish I will click on ctrl alt delete, I
will provide the password for the administrator which we have just set it has taken the IP address from the dhcp if I go to command prompt and give the command ipconfig this is the IP address of our migration appliance migration appliance has automatically opened this URL on the edge browser agree I will close the browser console of the appliance
and I will take the rdp of the appliance here we have to provide the key, for that I will
go to azure portal and I will give here the appliance name I will click on generate key key has been generated, I will copy the key I will go to appliance rdp and
I will paste the copied key here I will click on verify so key has been verified it will now start the appliance update here appliance auto update has been completed I will now click on login I will copy the code which will open the
new tab, I will paste the code here, next I will provide the username
of the azure portal here next I will provide the password
for the azure portal here sign in continue message is coming login to azure PowerShell
is successful, I will close this tab so appliance has been registered successfully now we have to install the VMware virtual
disk development kit in the appliance, for that I will right click on the download I will copy the link and I will open the
new tab and I will paste the copied key here I'll click on download now I will provide here my VMware portal credentials sign in I agree, accept, download now download completed, I will go to download folder extract all, extract and I will select the complete
content of this folder we will have to paste the copied content on
this path, I will go to C drive of the appliance program files VMware, VMware virtual disk development folder and I will paste the copied content
here, I will close this folder I will sign out of VMware portal and I will close this tab I will click on verify so verification successful I will now click on add credentials source type vCenter server, I
will give the friendly name here vSphere 7 home lab I will provide the username of my vCenter here I will provide the password of my vcenter here save I will now click on add discovery source discovery source vCenter server I will provide
the IP address of the vCenter server here save credentials has been validated successfully here on the step 3 I will disable this slider and I will click on start discovery I will minimize the rdp of the appliance and on the portal I will close the discovery tab I will go to home, I will again click
on azure migrate servers and databases you can see here it is showing
as discovery is in progress note one thing here discovered servers count is showing as zero once discovery is completed it should show the count of discovered servers appliance count is showing as one
which is the number of appliance which we have registered
with the migration project if I go to rdp of the appliance
and if I click on start discovery message is coming "no new discovery source have been added" which means on the appliance side discovery has been completed, if I go to portal
still it is showing as discovery is in progress on the top side of this
page I will click on refresh now you can see discovered servers count
is showing as 4, I will click on 4 these two are the cluster VM's which get
created by default by the vSphere 7 cluster these two virtual machines which we don't
need to migrate, we will ignore these two VM's and this is the Windows 10 virtual
machine which we will actually migrate this is the appliance VM and this
is the windows 10 virtual machine which we will be migrating today, it is showing
the IP address also of the virtual machine it is also showing the IP address of the appliance I will now go to rdp and I will
close the rdp of the appliance as our discovery process has
been completed I will go back here you can see the count of windows is
showing as 2 and count of Linux is showing as 2 so that's great here our discovery
process has been completed note one thing here assessment count is showing as 0 because we have not created any assessment yet I will click here on assess, in the
drop down I will select Azure VM assessment type: Azure VM, discovery source :
servers discovered from Azure migrate appliance I will go to edit target location I will select as east US and I will select here no reserved instances VM size I will keep as it is I will click here on VM series,
I will do the select all already have windows server license? yes,
remaining things I will keep as it is I will click on save next I will give here the assessment name vsphere 7 home lab hyphen assess and I will create here new group and the group name I will give here
vSphere 7 home lab hyphen group and appliance name I will select our appliance
name which we had given in the previous step in the selection list of the virtual machine these two cluster VMs are not
required, we will ignore them I will select my Windows 10 virtual machine this is the IP address of my virtual machine and
source is showing as vCenter, I will click next creat assessment so assessment has been created but you can
see here the count is still showing as zero I will click here on refresh and now you can see the group count is
showing one an assessment count is showing one I will click on one below the group I will click on group this is the virtual machine
present in our assessment group this is the operating system and source details I will go back and below the assessment I will
click on one in front of Azure VM so this is the our assessment
name and our assessment group name and the status is showing as ready I will go back so that's great here our
assessment has been completed and we are ready to move forward for
the next step which is replication on this page under the migration tools I will click on replicate what do you want to migrate: servers or virtual machines where do you want to migrate to: Azure VM continue are your machines virtualized?
yes with VMware vSphere here on the drop down I will select the our
appliance name which we had given next in the drop down I will select yes, apply
migration setting from azure migration assessment here in the drop down I will
select the group name here in the drop down I will select the assessment name and I will select our Windows 10 virtual machine source is our vCenter I will click on next under target setting, region I will
select east US, subscription: free trial resource group I will select virtual
techbox-rg which we had created during the landing zone step,
virtual network I will select virtualtechbox-vnet and subnet I will select
virtualtechbox-subnet no redundancy required remaining things I will keep as it is under test migration I will not select anything,
we do not want to do the test migration already have an eligible
windows server license, yes I will tick on I confirm next automatically select matching configuration next disk type I will select premium next next these are the settings which we
have selected under the replication I will click on replicate task under notification is showing completed I will go to home azure migrate servers and under migration tools I will go to overview I will go to jobs so all the tasks showing completed which means
we have successfully initiated the replication replication will take some time to happen on the azure portal I will
go to azure migrate, servers and under the migration tools you can see below the replication, Azure VM
count is showing as one I will click on one so you can see here vm health is showing healthy and migration phase is showing initial
replication 35% completed so I will refresh here so you can see here migration phase is
showing test migration pending, which means we have successfully completed the
replication step and we are ready to move to the next step which is migrate I will go to azure migrate servers and under migration tools I will click on migrate shutdown machine before migration: yes I will select our Windows 10 virtual machine and I will click on migrate starting migration of VM task
showing completed in the notification if I go to overview you can see here migrated machines
count is showing one which means our virtual machine has been migrated if I go to jobs you can see here all the jobs
related to migration are showing completed here I will go to home and if I go to vCenter you can see here our windows 10 virtual
machine machine has been shut down on the Azure portal if I go to virtual machines you can see our virtual machine is present and it is running and this is the private
IP of the virtual machine 10.0.2.4 as of now this virtual machine
is not having any public IP I will go to portal, I will go to virtual machines,
I will select our windows 10 virtual machine I will do the refresh here and
you can see this is the private ip of our virtual machine, I will go
to networking on the left side I will select the nic on the left side I will go to IP configuration I will select the nic and below the public IP address
setting I will select the associate as of now we don't have any public IP in our
resource group, I will click on create new I will give the name PublicIP-1 okay assignment dynamic save okay task completed which means public IP has
been assigned to nick of our virtual machine I will go to virtual machines I will select our
virtual machine and if I do the refresh here you can see public IP has been
associated with our virtual machine I will copy the public IP and I will go to
run, mstsc, I will paste the public IP, connect I will provide the username and password
of my windows 10 virtual machine here ok yes and here we have successfully logged-in to our newly migrated virtual machine if I go to run cmd ipconfig this is the local IP address of
my windows 10 virtual machine 10.0.2.4 and this is the hostname of my Windows 10 virtual
machine if I do the ping to the google, I am able to ping which means our virtual machine has been
successfully migrated and it is ready for the use by this way you can migrate your all
on-premise vmware virtual machine to azure cloud using azure magrade I hope you
find this video helpful a lot of effort went behind this video so do subscribe my
channel to encourage my work share the video with the friends and spread the knowledge I will see you in the next video Thank You