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
Working with Vagrant
Search
Jan Schulte
May 19, 2015
Technology
67
0
Share
Working with Vagrant
Slides from my talk I gave at the OTS leaners group on 19.05.2015
Jan Schulte
May 19, 2015
More Decks by Jan Schulte
See All by Jan Schulte
eurucamp special ticket offer for Rails Girls study groups
janschulte
0
93
Reproducible work environments
janschulte
1
81
Working in a different country
janschulte
0
61
Lightning talk about working with vagrant
janschulte
1
54
Other Decks in Technology
See All in Technology
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.2k
JOAI2026講評会資料(近藤佐介)
element138
1
130
🀄️ on swiftc
giginet
PRO
0
380
暗黙知について一歩踏み込んで考える - 暗黙知の4タイプと暗黙考・暗黙動へ
masayamoriofficial
0
1.8k
実践ハーネスエンジニアリング:TAKTで実現するAIエージェント制御 / Practical Harness Engineering: AI Agent Control Enabled by TAKT
nrslib
2
810
システムは「動く」だけでは 足りない - 非機能要件・分散システム・トレードオフの基礎
nwiizo
29
9.1k
新メンバーのために、シニアエンジニアが環境を作る時代
puku0x
0
980
生成AI時代のエンジニア育成 変わる時代と変わらないコト
starfish719
0
6.8k
DevOpsDays2026 Tokyo Cross-border practices to connect "safety" and "DX" in healthcare
hokkai7go
0
160
JEDAI in Osaka 2026イントロ
taka_aki
0
220
AWS DevOps Agentはチームメイトになれるのか?/ Can AWS DevOps Agent become a teammate
kinunori
2
440
2026年に相応しい 最先端プラグインホストの設計<del>と実装</del>
atsushieno
0
120
Featured
See All Featured
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
180
Producing Creativity
orderedlist
PRO
348
40k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Navigating Team Friction
lara
192
16k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
190
How to build a perfect <img>
jonoalderson
1
5.4k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Prompt Engineering for Job Search
mfonobong
0
260
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Everyday Curiosity
cassininazir
0
190
Color Theory Basics | Prateek | Gurzu
gurzu
0
290
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
Transcript
Working(with(Vagrant
$whoami $ Jan Schulte $ Software developer $ Berlin $
Asquera GmbH $ Rails Girls Coach $ Learning groups (Rubyseeds & Codingcats) $ Twitter: @neinasaservice
Why$do$I$care$about$Vagrant?
Back%then • Have&everything&installed&on&your&local&machine • Ruby • Rails • Node.js •
Databases&{Postgresql,&CouchDB,&Redis,&...}
Yeah,&If&you&just&could& go&ahead&and&make& this&change&to&this& project,&that&would&be& great —"The"client"from"two"months"ago
None
So#what#then? • Do$you$s(ll$have$the$old$setup? • Does$it$work$together$with$your$current$one?
Your%machine%is%different%from%produc3on • Opera'ng*system • File*system • Users • Permissions •
...
"Works'on'my' machine"
"Then&we&ship&your& machine"
Solving(this • Working)in)a)virtual)machine • A)new)virtual)machine)for)every)project/client
What%about%having%some%text%files%describing%how%the%VM%should% look%like? • Vagrantfile+,+Describes+the+VM+(Image,+Network,+...) • Shell+scripts+,+Describes+what+should+be+installed
Benefits • They're(under(version(control • Changes(to(infrastructure(are(documented • Avoid(snowflake(servers1 1"h$p:/ /mar+nfowler.com/bliki/SnowflakeServer.html
Bring&DEV&closer&to&Produc3on
It's%that%simple
Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64" config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provision "shell", inline <<-SHELL sudo apt-get install git SHELL end more%informa*on%at%vagrantup.com
(jan@barad-dur)$ vagrant up ... (jan@barad-dur)$ vagrant ssh vagrant@trusty64$: git --version
git version 2.3.3 vagrant@trusty64$: exit (jan@barad-dur)$ vagrant destroy -f
It's%effort%for%one%person%and%the% whole%team%benefits —"#"From"Ruby"Rogues"192"2 2"h$p:/ /devchat.tv/ruby3rogues/1923rr3vagrant3with3mitchell3hashimoto
Where%does%this%come%in%handy?
When%new%people%join%the%team
It's%disposable
Set$up$produc+on$servers
Ques%ons?
Source • h#p:/ /devchat.tv/ruby2rogues/1132rr2devops2with2nathen2 harvey • h#ps:/ /www.youtube.com/watch?v=qKb0_132E9w