
Explore how Vagrant centralizes virtualized development environments using a simple text-based Vagrantfile. Connect with providers like VirtualBox, AWS, and Hyper-V to run and share configurations in plain text.
Learn how to install virtual box and vagrant on Linux, Windows, and Mac, using an embedded ruby interpreter, and verify installations with vagrant --version.
Learn the basics of using vagrant to manage boxes and projects, control the virtual machine, and configure port forwarding, folder mapping, and networking.
Initialize a vagrant project by selecting a base box, downloading it from vagrant cloud, and generating a vagrant file with the required configuration.
Learn to manage vagrant boxes with commands like list, remove, and up. The lecture covers downloading base boxes, configuring port forwarding, shared folders, and Puppet provisioning.
Learn how to manage Vagrant boxes by destroying and recreating environments, configuring base boxes, and provisioning with shell, Puppet, or Chef to set up VMs and networks.
Learn to manage vagrant boxes using add, list, outdated, update, status, and destroy commands, including naming boxes, choosing providers, and checking project and global statuses.
Learn to run multiple virtual machines in a single Vagrant project with distinct configurations (names, IPs, boxes, provisioning, shared folders) and connect to each VM via SSH without remembering IPs.
Define and connect to multiple virtual machines in a single vagrant project by naming each vm with config.vm.define and specifying its box, while vagrant maps host ports to the guests.
Configure and test direct VM-to-VM communication by assigning private network IPs (192.168.1.x) for two Vagrant machines and testing connectivity. Forward non-conflicting ports to the host to prevent IP conflicts.
Set up and start Ubuntu virtual machines with Vagrant and VirtualBox, verify connectivity, and provision them using an Ansible playbook in a working directory.
Rebuilding a test lab by hand can take an afternoon. With Vagrant it takes one command. In this one-hour course you install Vagrant, learn how base boxes work and then build single and multi-machine labs, so you can throw a lab away and get it back in minutes.
What the lectures cover
Besides the main topics, you also work through: Install on Red Hat 9.
How the course works
Each lecture builds on the one before. You start with the installation, then work with one virtual machine, then with several, and you finish with complete lab environments. Everything is shown on screen, so you can pause and copy each step, and a lab you break can be rebuilt with a single command.
Inside the course
The course is organised into these sections: MySQL; Introduction; Working with s single VM; Working with multiple VMs; Building Labs. Lectures you will find include: Using Workbench and Command Line; Importing and using base boxes; Managing Vagrant boxes; Defining and connecting to multiple virtual machines; Networking the multiple virtual machines; Working with Ubuntu Lab Environment; Install on Red Hat 9.
The course runs about 58 minutes in 12 lectures. It is a quick start on Vagrant only, and it does not cover other virtualisation tools or provisioning with configuration management software. It is a useful first step if you build labs often. You will leave with a working method: write down the lab in a file, create it on demand, and remove it when you have finished, without touching your main computer's setup.