Page 1
September 23, 2014
@timothybroder
Saving Time and Money With Vagrant
Page 2
Who am I?
Tim Broder Technical Director
Alexander Interactive
@timothybroder
http://timbroder.com
Page 3
AgendaWhat is Vagrant?
Vagrant init
Key Takeaways
Page 5
“I can’t reproduce it locally” “Oh, that’s not the right version”
“Ok, so leave a day or so to setup the project”
Sound Familiar?
Page 6
Remove frustration. Technology can help.
Page 7
What is Vagrant?
An Open Source tool for building and distributing development environments
Page 8
WTF Does That Mean?
Vagrant gives you unified development environments that are easily distributable
Page 9
Why do you care?
• Match the production stack
• Test a server config
• Test a deploy script
• SETUP. THE. PROJECT.
Page 10
Who benefits?• Solo Developers
• Startups
• Agencies
• Large Scale Businesses
Page 13
Library conflicts
Page 14
Multiple projects.
Page 16
Starting Out• Vagrant
• VirtualBox
• VMWare
Page 18
Statement here, use sentences don’t forget the period.
Page 19
Dev Locally. Run on “Prodish”1. Project files
mapped to /vagrant
2. Port Forwarding: guest, local
3. Profit
Page 20
Basic Commands
• vagrant up
• vagrant halt
• vagrant reload
• vagrant ssh
Page 21
Provisioning• Chef
• Puppet
• Docker
• Ansible
• Salt
Page 22
Box Distribution• VagrantFile in source control
• Vagrant package
• Box on server
Page 23
Remote Access• vagrant share
• http://scorching-moose-9862.vagrantshare.com
• http or ssh access
Page 24
Key TakeawaysRECAP
Page 25
Test and deployat scale.
Page 26
Infrastructure as Code.
Page 27
Setup the environment anywhere.
Page 28
Thank you!• http://by.ai/vagranttalk • @timothybroder • http://timbroder.com