Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Vagrant: It's Awesome and So Can You!
Search
Will Farrington
July 13, 2011
Technology
5
940
Vagrant: It's Awesome and So Can You!
An introductory talk on Vagrant given at ATLRUG on July 13, 2011.
Will Farrington
July 13, 2011
Tweet
Share
More Decks by Will Farrington
See All by Will Farrington
test-queue makes your tests run fast
wfarr
0
460
Incident Response Done Right: From First Page to Postmortem
wfarr
0
580
Boxen: PuppetConf 2013
wfarr
6
890
Puppet at GitHub: PuppetConf 2013
wfarr
21
2.2k
Puppet at GitHub (PuppetCamp Raleigh 2013)
wfarr
1
480
Boxen: PuppetCamp SF 2013
wfarr
5
1k
Boxen: MWRC
wfarr
5
250
Boxen: PuppetCamp ATL
wfarr
0
290
BOXEN
wfarr
43
5.5k
Other Decks in Technology
See All in Technology
AWS監視を「もっと楽する」ために
uechishingo
0
440
Agentic Coding 実践ワークショップ
watany
41
27k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
41k
【インシデント入門】サイバー攻撃を受けた現場って何してるの?
shumei_ito
0
600
Riverpod3.xで実現する実践的UI実装
fumiyasac0921
2
340
AI開発をスケールさせるデータ中心の仕組みづくり
kzykmyzw
0
170
持続可能な開発のためのミニマリズム
sansantech
PRO
4
590
Lambda Durable FunctionsでStep Functionsの代わりはできるのかを試してみた
smt7174
2
150
Vivre en Bitcoin : le tutoriel que votre banquier ne veut pas que vous voyiez
rlifchitz
0
370
Hardware/Software Co-design: Motivations and reflections with respect to security
bcantrill
1
260
Tebiki Engineering Team Deck
tebiki
0
23k
The Engineer with a Three-Year Cycle - 2
e99h2121
0
190
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Automating Front-end Workflow
addyosmani
1371
200k
Writing Fast Ruby
sferik
630
62k
Building AI with AI
inesmontani
PRO
1
660
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
270
How STYLIGHT went responsive
nonsquared
100
6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.8k
Darren the Foodie - Storyboard
khoart
PRO
2
2.3k
Transcript
Vagrant It’s Awesome and So Can You Wednesday, July 13,
2011
Will Farrington Wednesday, July 13, 2011
Wednesday, July 13, 2011
Scaling Rails Here comes the clue train! Wednesday, July 13,
2011
Tools Wednesday, July 13, 2011
BAD TOOLS Wednesday, July 13, 2011
Good Tools Wednesday, July 13, 2011
Vagrant Wednesday, July 13, 2011
“Vagrant is a tool for building and distributing virtualized development
environments.” Wednesday, July 13, 2011
Vagrant VirtualBox Wednesday, July 13, 2011
Why? Wednesday, July 13, 2011
Wednesday, July 13, 2011
Wednesday, July 13, 2011
Installing • Install VirtualBox (website) • Install vagrant (rubygems) •
WIN MOAR Wednesday, July 13, 2011
Using Vagrant Wednesday, July 13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Used to manage VirtualBox boxes. vagrant box Wednesday, July 13,
2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Destroy and delete current environment vagrant destroy Wednesday, July 13,
2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Stop the current environment vagrant halt Wednesday, July 13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Setup a new vagrant environment vagrant init Wednesday, July 13,
2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Box up an environment for distribution vagrant package Wednesday, July
13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Rerun the provisioning scripts on the environment vagrant provision Wednesday,
July 13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Reload the environment (halt + start) vagrant reload Wednesday, July
13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Resume a suspended VM vagrant resume Wednesday, July 13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
SSH to the currently running VM vagrant ssh Wednesday, July
13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Prints out a valid .ssh/config for connecting to the VM
vagrant ssh_config Wednesday, July 13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Show the status of the current environment vagrant status Wednesday,
July 13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Save VM state to disk and suspend execution vagrant suspend
Wednesday, July 13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
Create (if DNE) a new VM and start it vagrant
up Wednesday, July 13, 2011
box destroy halt init package provision reload resume ssh ssh_config
status suspend up version Wednesday, July 13, 2011
GUESS WHAT THIS DOES vagrant version Wednesday, July 13, 2011
The Future Wednesday, July 13, 2011
Not this future... Wednesday, July 13, 2011
This future would be okay Wednesday, July 13, 2011
This is the future I really want Wednesday, July 13,
2011
Our CM systems are code, so why don’t we test
them? Wednesday, July 13, 2011
Deploying to staging is a good start... Wednesday, July 13,
2011
... but you’re not testing things fully. Wednesday, July 13,
2011
What if... Wednesday, July 13, 2011
Wednesday, July 13, 2011
Can you tell me with absolute certainty you can cold
deploy your whole architecture and it’ll work perfectly? Wednesday, July 13, 2011
Wednesday, July 13, 2011
Will Farrington @wfarr Slides at speakerdeck.com/u/wfarr Wednesday, July 13, 2011