Azure Classroom Series – 27/Jan/2020

Environment for Migration

  • Create a Resoruce Group
  • Create a Hyper-V Based Windows Machine on Azure based on documentation from here
  • For Screenshots Refer Here. Note for hyper v host the size of the machine has to be V3 Series
  • Connect to the VM using RDP and Perform the following steps
    • Install Chocolatey
# Open Powershell as Admin and execute
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
* Restart VM
* Connect to RDP again and install chrome
```
choco install googlechrome -y
```
* Enable Hyper-V
```
Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
# Machine will be restarted.
```
* Create a NAT virtual network switch
```
New-VMSwitch -Name "InternalNAT" -SwitchType Internal
# Make a note of iflindex
Get-NetAdapter
New-NetIPAddress -IPAddress 192.168.0.1 -PrefixLength 24 -InterfaceIndex <noted iflindex value>

New-NetNat -Name "InternalNat" -InternalIPInterfaceAddressPrefix 192.168.0.0/24
```

* Download ubuntu 18 iso [from here](http://releases.ubuntu.com/18.04/)
* Download Centos 7 iso [from here](http://isoredirect.centos.org/altarch/7/isos/aarch64/CentOS-7-aarch64-Minimal-1908.iso)
* Download Windows 2016 from Windows Evaluation Center.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin