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
Einführung in Chef
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
190
Run, Content, Run
muhh
1
170
Automatisiere deine WordPress Entwicklungsumgebung
muhh
0
670
Automate your Drupal development environment
muhh
0
110
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
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
160
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
4
630
Genieを崇めよ
kameitomohiro
0
160
Goodbye ShellScript, Hello File-based App
shunsock
0
130
新機種発売前に見直そう!端末移行で再ログインが要るアプリ・要らないアプリは何が違うのか 〜シームレスに再開できる設計と実装〜
zozotech
PRO
0
200
LLMに渡さなかった仕事
nanaism
0
440
AI時代、データエンジニアが一番おもろい
genshun9
0
640
幾何アルゴリズムで なめらかなピン操作を / iOSDC Japan 2026 / smoothpin
kazumanagano
0
350
AI に書かせたその API、 “信頼” できますか?
nagix
0
120
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.8k
なぜ「決定性」が 決定的に重要なのか? Durable Execution 基盤の数理的理解 #serverlessjp / ServerlessDays Tokyo 2026
ytaka23
0
290
Snowflakeのコスト最適化を支えるアーキテクチャ設計
ktatsuya
1
1.6k
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Un-Boring Meetings
codingconduct
0
420
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
Visualization
eitanlees
152
17k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
410
Producing Creativity
orderedlist
PRO
348
41k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
430
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Being A Developer After 40
akosma
91
590k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
700
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
410
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