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
Cook like a Chef
Search
bdcravens
October 21, 2013
Programming
0
72
Cook like a Chef
Presented at the October Houston Ruby (Ruby Brigade) meetup. Covers Vagrant and Chef.
bdcravens
October 21, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
Code Reviews
bkuhlmann
4
890
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
Fragment Composition of GraphQL
quramy
6
950
Ruby GitHub Packages
bkuhlmann
0
630
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
650
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
560
Snowflakeで眠ったデータを起こそう!
estie
0
120
Git Lint
bkuhlmann
4
750
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
2 週間で Twitter Bot を作ってみた
contour_gara
0
380
What We Can Learn From OSS
inouehi
0
420
Goのmultiple errorsについて (2024年4月版)
syumai
3
710
Featured
See All Featured
Building Applications with DynamoDB
mza
88
5.6k
A designer walks into a library…
pauljervisheath
200
23k
Clear Off the Table
cherdarchuk
84
310k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Building a Scalable Design System with Sketch
lauravandoore
456
32k
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.6k
Scaling GitHub
holman
457
140k
Building Flexible Design Systems
yeseniaperezcruz
319
37k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
Practical Orchestrator
shlominoach
182
9.7k
Transcript
Cook like a Chef Billy Cravens @bdcravens Monday, October 21,
13
Who Am I? • Billy Cravens • Director of Technology,
Refund Retriever • Polyglot and general nerd • Manager, Houston ColdFusion Users Group • @bdcravens • www.billycravens.com www.billy.io Monday, October 21, 13
Shameless Plug! • Audit late packages and incorrect charges •
No risk refunds • Build e-commerce sites? Let’s talk! • www.RefundRetriever.com • www.Refund-Retriever.com Monday, October 21, 13
What is Dev-Ops? Monday, October 21, 13
What is Chef? Monday, October 21, 13
Why Chef? Monday, October 21, 13
Word of the day: “idempotency” Monday, October 21, 13
What is Vagrant? Monday, October 21, 13
Why Vagrant? Monday, October 21, 13
Installing Vagrant • www.vagrantup.com • gem install vagrant ???? Monday,
October 21, 13
vagrant init Monday, October 21, 13
Adding a vagrant box • Command line • vagrant box
add name-of-box url-of-box • by URL of box • http://vagrantbox.es • http://cloud-images.ubuntu.com/vagrant/ Monday, October 21, 13
Box commands • vagrant box list • vagrant box remove
name [provider] Monday, October 21, 13
Creating your own box • VeeWee • gem install veewee
• github.com/jedi4ever/veewee • Packer.io • also by Mitchell • creates VM images • Vagrant post-processor Monday, October 21, 13
Provisioners • Shell • Chef • Puppet • Ansible Monday,
October 21, 13
Vagrantfile • VM options • Networking • shared folders Monday,
October 21, 13
Multiple Servers Monday, October 21, 13
vagrant ssh Monday, October 21, 13
vagrant ssh • little caveat about Windows Monday, October 21,
13
vagrant Commands Monday, October 21, 13
vagrant Plugins • install, uninstall, list • berkshelf • librarian-chef
• vbguest • many more: https://github.com/mitchellh/ vagrant/wiki/Available-Vagrant-Plugins Monday, October 21, 13
Vagrant providers Monday, October 21, 13
What about ...? • Docker • Linux containers Monday, October
21, 13
Basic Chef Monday, October 21, 13
Installing chef • gem install chef • Windows installer Monday,
October 21, 13
The Great Debate • Community Cookbooks • Custom Recipes Monday,
October 21, 13
Dependency Management • Git submodules • librarian-chef • Berkshelf Monday,
October 21, 13
Berkshelf • gem install berkshelf • Berksfile • berks install
Monday, October 21, 13
Tour of Chef • Packages Monday, October 21, 13
Tour of Chef • Commands Monday, October 21, 13
Tour of Chef • Files and Directories Monday, October 21,
13
Tour of Chef • Notes about permissions Monday, October 21,
13
Chef attributes Monday, October 21, 13
Secure data Monday, October 21, 13
Anatomy of a Chef recipe Monday, October 21, 13
Monday, October 21, 13
Chef Resources • learnchef.opscode.com • docs.opscode.com Monday, October 21, 13
Now let’s talk production ... Monday, October 21, 13
chef-solo Monday, October 21, 13
Hosted chef • by OpsCode • self-hosted • written in
Erlang (Erchef) Monday, October 21, 13
AWS OpsWorks Monday, October 21, 13