Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Working with Vagrant
Search
Jan Schulte
May 19, 2015
Technology
74
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
100
Reproducible work environments
janschulte
1
85
Working in a different country
janschulte
0
66
Lightning talk about working with vagrant
janschulte
1
60
Other Decks in Technology
See All in Technology
OSC2026on_the-world-is-waiting-for-your-voice.pdf
naruoga
0
370
ビジネスを止めない技術的負債の返済のための戦略とその手法 - 技術的負債と向き合う / Complexity and Simplicity
soudai
PRO
3
700
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.5k
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
0
230
転んだ話が背中を預ける理由になる / A_story_about_falling_down_gives_you_a_reason_to_watch_each_other_s_backs.pdf
pauli
3
360
DGX Spark でどこまでハッキングができるのか?
kash1064
0
940
おそらく日本で唯一のDevRelインターン生として
husengs7
0
180
夫婦で子育てするための育児標準化
codmoninc
PRO
0
200
USB PDを使ってスマホを労わりたい
raspython3
0
160
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
120
FOSS4Gを活用した自治体業務DXの試み
470715
0
150
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The agentic SEO stack - context over prompts
schlessera
0
970
Building Applications with DynamoDB
mza
96
7.2k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Documentation Writing (for coders)
carmenintech
77
5.6k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
GraphQLとの向き合い方2022年版
quramy
50
15k
The SEO Collaboration Effect
kristinabergwall1
1
590
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
430
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Thoughts on Productivity
jonyablonski
76
5.4k
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