Practical Vagrant



Matt Urbanksi  &  Thibaut Zafack T.

Why Should I care?


Development environment

deployment environment

Environment setup


test infrastructure locally


Solution

Virtualization 

Provisioning 

Virtualization



Provisioning


Virtualization






WMWare


VIRTUALBOX


XEN


Provisioning


Chef
Puppet
CF Engine
Ansible
Shell


What is vagrant actually?


  • Ruby
  • Virtualization Technology
  • Provisioning Tool 

how does vagrant make my life better?


how does it work?



What is a vagrantfile?


Vagrant provides a domain specific language for describing virtual machines.
 Vagrant.configure("2") do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.network :private_network, ip: "10.10.10.10"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "512", "--cpus", "1"]
end
config.vm.provision "shell", path: "script.sh"
end

How do I use it?


$ vagrant box add precise32 http://files.vagrantup.com/precise32.box
$ vagrant init
$ vagrant up

Vagrant commands


 $ vagrant up $ vagrant provision $ vagrant init $ vagrant destroy $ vagrant reload $ vagrant ssh

Questions?




lets get practical.

Scrum-gathering-vagrant

By Matt Urbanski

Scrum-gathering-vagrant

Scrum Gathering 2013 vagrant deck

  • 1,960
Loading comments...

More from Matt Urbanski