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
930
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
420
Incident Response Done Right: From First Page to Postmortem
wfarr
0
510
Boxen: PuppetConf 2013
wfarr
6
840
Puppet at GitHub: PuppetConf 2013
wfarr
21
2.1k
Puppet at GitHub (PuppetCamp Raleigh 2013)
wfarr
1
430
Boxen: PuppetCamp SF 2013
wfarr
5
740
Boxen: MWRC
wfarr
5
210
Boxen: PuppetCamp ATL
wfarr
0
260
BOXEN
wfarr
43
5.4k
Other Decks in Technology
See All in Technology
Swiftの “private” を テストする / Testing Swift "private"
yutailang0119
0
140
Culture Deck
optfit
0
480
地方拠点で エンジニアリングマネージャーってできるの? 〜地方という制約を楽しむオーナーシップとコミュニティ作り〜
1coin
1
250
php-conference-nagoya-2025
fuwasegu
0
110
生成 AI プロダクトを育てる技術 〜データ品質向上による継続的な価値創出の実践〜
icoxfog417
PRO
5
1.8k
エンジニアのためのドキュメント力基礎講座〜構造化思考から始めよう〜(2025/02/15jbug広島#15発表資料)
yasuoyasuo
18
7.1k
OpenID BizDay#17 KYC WG活動報告(法人) / 20250219-BizDay17-KYC-legalidentity
oidfj
0
340
室長と気ままに学ぶマイクロソフトのビジネスアプリケーションとビジネスプロセス
ryoheig0405
0
370
Apache Iceberg Case Study in LY Corporation
lycorptech_jp
PRO
0
110
AI エージェント開発を支える MaaS としての Azure AI Foundry
ryohtaka
6
630
人はなぜISUCONに夢中になるのか
kakehashi
PRO
6
1.7k
CDKのコードを書く環境を作りました with Amazon Q
nobuhitomorioka
1
110
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
GitHub's CSS Performance
jonrohan
1030
460k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Building an army of robots
kneath
303
45k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
RailsConf 2023
tenderlove
29
1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
9
500
The Pragmatic Product Professional
lauravandoore
32
6.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
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