🚀Day 19 - Vagrant Basics for DevOps Beginners

Installing and Running Your First VM

  • Installed Vagrant and VirtualBox on Windows.

  • Used the command line to:

    • Initialize a new Vagrant project:

        vagrant init
      
    • Start a virtual machine:

        vagrant up
      
    • SSH into it:

        vagrant ssh
      
    • Halt or destroy the VM:

        vagrant halt
        vagrant destroy
      
  • Learned how vagrant status shows VM states.

Takeaway: I understood how Vagrant makes managing disposable VMs super easy!

0
Subscribe to my newsletter

Read articles from Shaharyar Shakir directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Shaharyar Shakir
Shaharyar Shakir