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
170
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
190
Best Practices - WordPress unter Hochlast
muhh
0
170
Run, Content, Run
muhh
1
160
Automatisiere deine WordPress Entwicklungsumgebung
muhh
0
650
Automate your Drupal development environment
muhh
0
100
Building high traffic websites with Drupal
muhh
1
400
Drupal staging with git and drush
muhh
0
160
Other Decks in Technology
See All in Technology
最強のAIエージェントを諦めたら品質が上がった話 / how quality improved after giving up on the strongest AI agent
kt2mikan
0
140
Ultra Ethernet (UEC) v1.0 仕様概説
markunet
3
250
AIエージェント時代に備える AWS Organizations とアカウント設計
kossykinto
3
700
「ストレッチゾーンに挑戦し続ける」ことって難しくないですか? メンバーの持続的成長を支えるEMの環境設計
sansantech
PRO
3
610
Claude Code のコード品質がばらつくので AI に品質保証させる仕組みを作った話 / A story about building a mechanism to have AI ensure quality, because the code quality from Claude Code was inconsistent
nrslib
12
4.5k
JAWS FESTA 2025でリリースしたほぼリアルタイム文字起こし/翻訳機能の構成について
naoki8408
1
260
20260311 ビジネスSWG活動報告(デジタルアイデンティティ人材育成推進WG Ph2 活動報告会)
oidfj
0
250
マネージャー版 "提案のレベル" を上げる
konifar
22
15k
クラウド × シリコンの Mashup - AWS チップ開発で広がる AI 基盤の選択肢
htokoyo
2
180
製造業ドメインにおける LLMプロダクト構築: 複雑な文脈へのアプローチ
caddi_eng
1
550
僕、S3 シンプルって名前だけど全然シンプルじゃありません よろしくお願いします
yama3133
1
190
決済サービスを支えるElastic Cloud - Elastic Cloudの導入と推進、決済サービスのObservability
suzukij
2
590
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
67
Building AI with AI
inesmontani
PRO
1
780
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
140
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
99
Skip the Path - Find Your Career Trail
mkilby
1
75
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Utilizing Notion as your number one productivity tool
mfonobong
4
250
A Modern Web Designer's Workflow
chriscoyier
698
190k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
69
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