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
410
Incident Response Done Right: From First Page to Postmortem
wfarr
0
480
Boxen: PuppetConf 2013
wfarr
6
830
Puppet at GitHub: PuppetConf 2013
wfarr
21
2.1k
Puppet at GitHub (PuppetCamp Raleigh 2013)
wfarr
1
420
Boxen: PuppetCamp SF 2013
wfarr
5
720
Boxen: MWRC
wfarr
5
200
Boxen: PuppetCamp ATL
wfarr
0
260
BOXEN
wfarr
43
5.4k
Other Decks in Technology
See All in Technology
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
複雑なState管理からの脱却
sansantech
PRO
1
160
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
130
SDNという名のデータプレーンプログラミングの歴史
ebiken
PRO
2
170
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
3
860
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
160
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.7k
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
200
あなたの知らない Function.prototype.toString() の世界
mizdra
PRO
3
620
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
720
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
200
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
50
7.2k
Writing Fast Ruby
sferik
627
61k
Side Projects
sachag
452
42k
A Tale of Four Properties
chriscoyier
156
23k
Code Reviewing Like a Champion
maltzj
520
39k
GraphQLとの向き合い方2022年版
quramy
43
13k
Faster Mobile Websites
deanohume
305
30k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Practical Orchestrator
shlominoach
186
10k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Gamification - CAS2011
davidbonilla
80
5k
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