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
Einführung in Chef
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Markus Heurung
March 29, 2014
Technology
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Einführung in Chef
my session slides for the introductory session at DevOpsCamp Nürnberg.
Markus Heurung
March 29, 2014
More Decks by Markus Heurung
See All by Markus Heurung
Test driven infrastructure with chef
muhh
0
200
Best Practices - WordPress unter Hochlast
muhh
0
180
Run, Content, Run
muhh
1
170
Automatisiere deine WordPress Entwicklungsumgebung
muhh
0
660
Automate your Drupal development environment
muhh
0
100
Building high traffic websites with Drupal
muhh
1
420
Drupal staging with git and drush
muhh
0
170
Other Decks in Technology
See All in Technology
プロダクトだけじゃない、社内プロセスにおける自動化・省力化ノススメ
kakehashi
PRO
1
3.6k
AI時代の開発生産性は、個人技からチーム設計へ
moongift
PRO
2
110
ローカルLLMとLINE Botの組み合わせ その3 / LINE DC Generative AI Meetup #8
you
PRO
0
130
CIで使うClaude
iwatatomoya
0
230
10年目を迎えた「ABEMA」がどのように AI 活用を推進して、AI 駆動開発にシフトしているのか / How ABEMA, entering its 10th year, is promoting the use of AI and shifting toward AI-driven development
miyukki
0
110
タスクの複雑さでモデルを選ぶ ── Thompson Samplingで動かす“トークン/コスト最適化
satohy0323
0
180
ruby.wasmとPicoRuby.wasmに対応した仮想DOMライブラリを作ってる話 #kaigieffect_kaigi
sue445
PRO
0
140
貴方はどのエンジニアリングを磨くのか
hatyibei
0
120
世界、断片、モデル。そして理解
ardbeg1958
1
100
非定型なドキュメントを効率よくリファクタする 〜えぇ!?仕様書27本の移行が1日で終わったって!?〜
subroh0508
1
190
[2026-07-15] AI Ready なはずだったアーキテクチャと、見えてきた課題・次に目指す状態
wxyzzz
4
2.6k
事業価値を⽣み出すSREへ SREが担うべき意思決定の5層
kenta_hi
2
3.5k
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Side Projects
sachag
455
43k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
We Are The Robots
honzajavorek
0
270
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
340
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Music & Morning Musume
bryan
47
7.3k
Optimising Largest Contentful Paint
csswizardry
37
3.8k
Code Reviewing Like a Champion
maltzj
528
40k
Abbi's Birthday
coloredviolet
3
8.6k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.3k
Transcript
freistil IT Einführung in Chef Markus Heurung
Markus Heurung @muhh Drupal Developer Linux Sysadmin Trainer IT Manager
Co-Founder of freistil IT
freistil IT http://freistil.it @freistil “Ops for Devs” freistilbox: Cluster basiertes
PaaS für Drupal und WordPress
None
Configuration Management mit Chef Ruby DSL zur Systemadministation Idempotenz nur
nötige Änderungen werden durchgeführt
Infrastruktur als Code
None
Infrastruktur als Code Cookbook Recipe Resource Attribute Node Role Run
List Search
None
Nodes chef-client läuft auf jeder Node. Nodes haben eine runlist.
Nodes haben Attribute.
Cookbooks Bündelt alle Anweisungen für einen Dienst oder eine Systemkomponente
→ Apache Cookbook
Recipe Definiert welche Ressourcen Chef nutzen muss um das System
in den definierten Zustand zu bringen.
Resource Package Service File, Directory Template Command, Script Cron Git
…
Package, Service package “apache2” do action :install end ! service
“apache2” do action [:enable, :start] end
Template template ”/etc/apache2/apache2.conf” do source ”apache2.conf.erb” owner ”root” group ”root”
mode 00644 notifies ”reload”, ”service[apache2] end
Attribute Von Node zu Node unterschiedlicher Wert →PHP memory limit
→Anzahl CPUs
Role Bestehen aus gesetzten Attributen und Run Lists. Eine
Sammlung, um Nodes zu gruppieren. →Webserver →Datenbankserver
Run List Eine Liste auszuführender Rollen oder Recipes.
None
Vorbereitungen Install VirtualBox Install Vagrant $ vagrant plugin install vagrant-cachier
$ vagrant plugin install vagrant-omnibus $ git clone https://github.com/muhh/vagrant- chef-devopscamp.git $ cd vagrant-chef-devopscamp $ gem install librarian-chef $ librarian-chef install
$ vagrant up
Links http://getchef.com https://learnchef.opscode.com http://community.opscode.com http://github.com/opscode-cookbooks https://www.virtualbox.org/ http://vagrantup.com https://github.com/schisamo/vagrant-omnibus https://github.com/fgrehm/vagrant-cachier https://github.com/applicationsonline/librarian-chef
https://github.com/muhh/vagrant-chef-devopscamp
Thanks! Questions? !
[email protected]
@muhh