4. Why Vagrant?
● Consistent environment(prod & dev)
● Don’t sacrifice tools you are used to working
with(browser, editors, IDE)
● put configuration in version control
● other team members will have the same
environment though they are on mac, linux
or windows
● Keeps host environment clean
5. What is Vagrant?
● Vagrant is a tool for building and distributing
virtualized development environments.
● A tool that manages VM for you
6. How do I Install Vagrant?
● Virtual Box
● Vagrant
● Vagrant Box
7. What is Vagrant Box?
● It is a base image(JeOS)
● JeOS(Just enough operating system)
● naked OS + configurations
● Most of images are already there on
vagrantcloud.com
● You can create your own box also.
● ~/.vagrant.d/boxes
8. Let’s play with vagrant
Inside project directory
● $ vagrant init hashicorp/precise32
● $ vagrant up
● $ vagrant ssh
● $ vagrant reload
● $ vagrant halt
● $ vagrant destroy
● $ vagrant box add
12. Vagrant share
● Share your Vagrant environment to anyone around the
world
● $ vagrant login
● $ vagrant share
e.g. http://marvelous-cheetah-4666.vagrantshare.com