AWS Classroomnotes 12/Jan/2022

Create a Nested Virtualization Supported Hyper V on Azure

  • Lets create a nested virtualization supported VM on Azure to simulate On-prem Hyperv
  • Create a Resource Group
    Preview
    Preview
  • Now create a Windows 2016 Datacenter Gen1 VM in the created Resource group
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • Create a NSG(like aws security and open all ports)
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • Once the VM is created, Configure DNS
    Preview
    Preview
  • Now login into Windows server with mstsc -v 20.124.19.245 and wait for the server manager to launch
    Preview
  • We can install hyperv using server manager or powershell, I will be using powershell. Launch Powershell as admin & Run the following command which will install hyperv and restart the machine
    Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
    Preview
  • Wait till the restart is completed and login in using mstsc again. Now you should see hyperv manager in server manager
    Preview
  • Now lets try to create an ubuntu 20.04 linux vm using hyper v.
  • Download and install google chrome on the windows server and download ubuntu 20.04 image Refer Here
  • Create a virtual Switch as discussed in class
  • Lets create a ubuntu vm
    Preview
    Preview
    Preview
    Preview
  • Double click on the created vm and start the vm
  • We would be creating two vms in an automated (manual) fashion inside hyperv and then migrate them to AWS.

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner