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.2k
Puppet at GitHub (PuppetCamp Raleigh 2013)
wfarr
1
430
Boxen: PuppetCamp SF 2013
wfarr
5
750
Boxen: MWRC
wfarr
5
210
Boxen: PuppetCamp ATL
wfarr
0
260
BOXEN
wfarr
43
5.4k
Other Decks in Technology
See All in Technology
EDRの検知の仕組みと検知回避について
chayakonanaika
11
4.7k
【内製開発Summit 2025】イオンスマートテクノロジーの内製化組織の作り方/In-house-development-summit-AST
aeonpeople
2
600
LINE NEWSにおけるバックエンド開発
lycorptech_jp
PRO
0
210
"TEAM"を導入したら最高のエンジニア"Team"を実現できた / Deploying "TEAM" and Building the Best Engineering "Team"
yuj1osm
1
120
ウォンテッドリーのデータパイプラインを支える ETL のための analytics, rds-exporter / analytics, rds-exporter for ETL to support Wantedly's data pipeline
unblee
0
120
MIMEと文字コードの闇
hirachan
2
1.4k
What's new in Go 1.24?
ciarana
1
110
組織におけるCCoEの役割とAWS活用事例
nrinetcom
PRO
4
120
Pwned Labsのすゝめ
ken5scal
1
350
4th place solution Eedi - Mining Misconceptions in Mathematics
rist
0
140
アジャイルな開発チームでテスト戦略の話は誰がする? / Who Talks About Test Strategy?
ak1210
1
480
エンジニアが加速させるプロダクトディスカバリー 〜最速で価値ある機能を見つける方法〜 / product discovery accelerated by engineers
rince
4
560
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
Music & Morning Musume
bryan
46
6.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Producing Creativity
orderedlist
PRO
344
40k
Git: the NoSQL Database
bkeepers
PRO
427
65k
Raft: Consensus for Rubyists
vanstee
137
6.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
4
370
A better future with KSS
kneath
238
17k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.3k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
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