Skip to main content

Learning Vagrant

Course

Intro Video

Photo of Terrence Cox

Terrence Cox

Senior Vice President of Content

A veteran of twenty years in Information Technology in a variety of roles. He has worked in development, security and infrastructure well before they merged into what we now call DevOps. He provides training in Linux, VMWare, DevOps (Ansible, Jenkins, etc) as well as containers and AWS topics. He now leads the Training Architects to produce the courses and content we all know and love!

Length

02:00:00

Difficulty

Intermediate

Videos

30

Course Details

Vagrant allows you to create portable work environments which can be easily reproduced on any system. It's useful for developers and system administrators who want to mimic a server's configuration on their local machine. It's useful for teams who want to quickly get designers and project managers up and running with a local installation. In this introductory course in to vagrant we learn the basic concepts of what vagrant is, how to install it, and how to get started with our own Vagrantfile configs to get up and running.

Syllabus

Vagrant Intro

What is Vagrant?

00:05:03

Lesson Description:

In this lesson we get an intro and overview of Vagrant.

Virtualization Overview

00:02:54

Lesson Description:

In this lesson we get a brief Virtualization overview.

Setting Up Vagrant

VirtualBox Installation on OSX

00:02:01

Lesson Description:

In this brief lesson we walk through acquiring VIrtualBox and then installing in on Mac OSX.

VirtualBox Installation on Windows

00:01:39

Lesson Description:

In this lesson we download and then install VirtualBox on a windows box.

VirtualBox Installation on Linux

00:06:53

Lesson Description:

In this lesson we discuss how to install VirtualBox in linux. We then walk through installing VirtualBox from the Oracle VIrtualBox repo and install it along with the extensions needed for using USB devices etc on our Ubuntu 14.04 desktop.

Vagrant Install With OSX

00:01:29

Lesson Description:

In this lesson we download and install Vagrant on a Mac OSX workstation.

Vagrant Install With Windows

00:01:24

Lesson Description:

In this lesson we will download and then install Vagrant on our Windows workstation.

Vagrant Install With Linux

00:01:50

Lesson Description:

In this lesson we learn how to install Vagrant on a Linux workstation.

Vagrant Without VirtualBox?

00:01:06

Lesson Description:

Using Vagrant without VirtualBox? You sure can!

Using Vagrant

Our First Vagrant Machine

00:02:57

Lesson Description:

In this lesson we do our first Vagrant Up to see how quick and easy it is to deploy machines. If you're are having trouble with the url to download the box (vagrant init precise64 http://files.vagrantup.com/precise64.box), then you can alternatively run 'vagrant init hashicorp/precise64' to get the same box.

Vagrantfiles

00:05:06

Lesson Description:

In this lesson we learn about the Vagrantfile and what its purpose is.

Boxes

00:04:12

Lesson Description:

In this lesson we learn what boxes are in Vagrant how how to use them.

(Vagrant Up) Running Vagrant Machines

00:05:08

Lesson Description:

In this lesson we "vagrant up" or start up our vagrant machines.

SSH to Vagrant Machines

00:02:32

Lesson Description:

In this lesson we learn how to remote in to our vagrant machines with 'vagrant up'.

Synced Folders

00:03:26

Lesson Description:

In this lesson we learn how to use folders that are synced between our Host Machine and our guest virtual machines.

Networking Basics

00:03:44

Lesson Description:

In this lesson we learn the basics such as port forwarding with vagrant machines.

Environment Management

00:06:06

Lesson Description:

In this lesson we learn how to manage our virtual machine's state with suspending, halting, and vagrant destroys.

Automated Provisioning

Provisioners

00:01:53

Lesson Description:

In this lesson we learn what provisioning is and what some of the provisioners available are.

Installing Apache Manually

00:05:25

Lesson Description:

In this lesson we install apache and then setup it up manually. This is a pre lesson to understanding what is involved in apache setup before we start with using provisioners and scripts.

Installing Apache / Shell Script

00:06:09

Lesson Description:

In this lesson we learn that we can use Bash shell scripts to automate the provision of our vagrant environment to already install Apache and have it configured for us without the need to manually do this after a 'vagrant up'.

Installing Apache / Chef

00:07:10

Lesson Description:

In this lesson we automate an apache install using Chef as our configuration management of our vagrant virtual machine.

Installing Apache / Puppet

00:15:23

Lesson Description:

In this lesson we automate an apache install using Puppet as our configuration management of our vagrant virtual machine.

Networking

Private Networking

00:03:36

Lesson Description:

In this lesson we learn about Private Networks within our vagrant managed machine environment.

Public Networking

00:02:05

Lesson Description:

In this lesson we learn how to setup public networks and manage them with vagrant.

Multiple Machines With Vagrant

Managing Your Multiple Machines

00:03:34

Lesson Description:

In this lesson we learn how we can setup multi-machine vagrant environments with just a single Vagrantfile.

Hands On With Multiple Machines

00:09:50

Lesson Description:

In this lesson we walk through actually setting up our first multi-node vagrant deployment.

Boxes

Vagrant Boxes

00:03:47

Lesson Description:

In this lesson we talk about what Vagrant Boxes are.

Basic Box Management

00:05:40

Lesson Description:

In lesson we learn about basic Box Management within our Vagrant Environements.

How To Create Boxes From An Existing Environment

00:05:13

Lesson Description:

In this lesson we learn how to create Vagrant boxes from existing vagrant box environments.

Creating Your Own Boxes

00:10:26

Lesson Description:

In this lesson we learn what is involved in setting up a Vagrant Box image from scratch.

Take this course and learn a new skill today.

Transform your learning with our all access plan.

Start 7-Day Free Trial