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
Markus Heurung
March 29, 2014
Technology
0
140
Einführung in Chef
my session slides for the introductory session at DevOpsCamp Nürnberg.
Markus Heurung
March 29, 2014
Tweet
Share
More Decks by Markus Heurung
See All by Markus Heurung
Test driven infrastructure with chef
muhh
0
160
Best Practices - WordPress unter Hochlast
muhh
0
150
Run, Content, Run
muhh
1
140
Automatisiere deine WordPress Entwicklungsumgebung
muhh
0
620
Automate your Drupal development environment
muhh
0
87
Building high traffic websites with Drupal
muhh
1
380
Drupal staging with git and drush
muhh
0
150
Other Decks in Technology
See All in Technology
Clineを含めたAIエージェントを 大規模組織に導入し、投資対効果を考える / Introducing AI agents into your organization
i35_267
4
1.6k
Wasm元年
askua
0
140
より良いプロダクトの開発を目指して - 情報を中心としたプロダクト開発 #phpcon #phpcon2025
bengo4com
1
3.1k
【TiDB GAME DAY 2025】Shadowverse: Worlds Beyond にみる TiDB 活用術
cygames
0
1.1k
あなたの声を届けよう! 女性エンジニア登壇の意義とアウトプット実践ガイド #wttjp / Call for Your Voice
kondoyuko
4
440
Amazon Bedrockで実現する 新たな学習体験
kzkmaeda
1
530
プロダクトエンジニアリング組織への歩み、その現在地 / Our journey to becoming a product engineering organization
hiro_torii
0
130
Welcome to the LLM Club
koic
0
170
5min GuardDuty Extended Threat Detection EKS
takakuni
0
140
急成長を支える基盤作り〜地道な改善からコツコツと〜 #cre_meetup
stefafafan
0
120
UIテスト自動化サポート- Testbed for XCUIAutomation practice
notoroid
0
130
BrainPadプログラミングコンテスト記念LT会2025_社内イベント&問題解説
brainpadpr
1
160
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
48
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
670
Raft: Consensus for Rubyists
vanstee
140
7k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
For a Future-Friendly Web
brad_frost
179
9.8k
The World Runs on Bad Software
bkeepers
PRO
69
11k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Speed Design
sergeychernyshev
32
1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
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