Azure Classroomnotes 03/Jan/2023

Creating Virtual Machines using Vagrant

  • Vagrant is used to create virtual machines in various hypervisors
  • Refer Here for vagrant documentation.
  • Search vagrant boxes Refer Here
  • For the virtual machine for migration lets create an ubuntu 20.04 lets use the box generic/ubuntu1804
mkdir ubuntu
cd ubuntu
vagrant init generic/ubuntu1804
vagrant up --provider hyperv

* Note: If the vm creation fails, try starting from the hyperv manually
* Lets create one more virtual machine using box generic/centos8

mkdir centos
cd centos
vagrant init generic/centos8
vagrant up --provider hyperv
  • We will be migrating two vms with some pre-installed software to azure.

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner