Vagrant - newgeekorder/TechWiki GitHub Wiki

See also DevOps

Vagrant

Vagrant is a tool, lets you run each project in its own dedicated virtual environment.

Vagrant provides a command-line interface which allows you to define, control containers/virtual machines that represent a repeatable built and configured application

With Vagrant:

  • The development environment config can accurately mimic the production environment.
  • Integrated provisioning tools such as Puppet and Chef allow you to store conguration in a standard format, which can also be used to update production environments.
  • Each project is separate (isolated ) virtualized environment
  • New team members can be on-boarded to new projects with an automated script
git clone && vagrant up.
  • the reproducible environment can be shred with colleagues as a development environment.
  • the same binary moves to test and ideally finally production

Configuration

Vagrant-controlled virtual machine, include:

  • Base installations
  • Port forwarding
  • Folder mapping
  • Networking

Download and install a base configuration

vagrant init precise64 http://files.vagrantup.com/precise64.box

Links and Reference