+5Ws Vagrant

1 Why

 Recovery Time Objective (RTO)

Pets vs Cattle

 Production != Development

2 What

It's free and open-source software for creating and configuring virtual development environments.

It can be considered a wrapper ​​​around virtualization software.

3 When

Disposable environments

Proof of concepts, development environments,

unit testing, isolated environments

DEV ~ PROD

They share dependencies, libraries, OS, versions, tools, etc.

 

But with reduced performance, capacity, resources, etc.

4 Who

Automate, automate, automate...

5 Where

  • http://www.vagrantup.com/
  • https://vagrantcloud.com
  • https://github.com/jedi4ever/veewee
  • http://www.packer.io/

+How

Vagrantfile

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  # config.vm.box = "base"
  # config.vm.box_check_update = false
  # config.vm.network "forwarded_port", guest: 80, host: 8080
  # config.vm.network "private_network", ip: "192.168.33.10"
  # config.vm.synced_folder "../data", "/vagrant_data"

  # config.vm.provider "virtualbox" do |vb|
  #   vb.gui = true
  #   vb.customize ["modifyvm", :id, "--memory", "1024"]
  # end

  # config.vm.provision "puppet" do |puppet|
  #   puppet.manifests_path = "manifests"
  #   puppet.manifest_file  = "site.pp"
  # end
end

Demo

$ vagrant up

+5Ws Vagrant

By Victor Joel Morales

+5Ws Vagrant

This presentation pretends to cover some basic concepts and reasons behind the Vagrant open source project

  • 613