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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Markus Heurung
March 29, 2014
Technology
180
0
Share
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
190
Best Practices - WordPress unter Hochlast
muhh
0
180
Run, Content, Run
muhh
1
160
Automatisiere deine WordPress Entwicklungsumgebung
muhh
0
660
Automate your Drupal development environment
muhh
0
100
Building high traffic websites with Drupal
muhh
1
410
Drupal staging with git and drush
muhh
0
160
Other Decks in Technology
See All in Technology
AIが盛んな時代に 技術記事を書き始めて起きた私の中での小さな変化
peintangos
0
350
CyberAgent YJC Connect
shimaf4979
1
160
ブラウザの投機的読み込みと投機ルールAPIを理解し、Webサービスのパフォーマンスを最適化する
shuta13
3
280
MySQL 9.7がやってきた ~これまでのあらすじと基本情報~ @ 日本MySQLユーザ会会2026年04月 / mysql97-yattekita
sakaik
0
170
Building Production-Ready Agents Microsoft Agent Framework
_mertmetin
0
160
国内外の生成AIセキュリティの最新動向 & AIガードレール製品「chakoshi」のご紹介 / Latest Trends in Generative AI Security (Domestic & International) & Introduction to AI Guardrail Product "chakoshi"
nttcom
4
1.7k
フロントエンドの相手が変わった - AIが加わったWebの新しいインターフェース設計
azukiazusa1
33
10k
雑談は、センサーだった
bitkey
PRO
2
200
データ定義の混乱と戦う 〜 管理会計と財務会計 〜
wonohe
0
260
Angular Architecture Revisited Modernizing Angular Architectural Patterns
rainerhahnekamp
0
130
Modernizing Your HCL Connections Experience: Visual Report to chain, Profile Enhancements, and AI Integration
wannesrams
0
280
Sociotechnical Architecture Reviews: Understanding Teams, not just Artefacts
ewolff
1
120
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Evolving SEO for Evolving Search Engines
ryanjones
0
190
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
190
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
350
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
350
A Modern Web Designer's Workflow
chriscoyier
698
190k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Building an army of robots
kneath
306
46k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
820
Building Applications with DynamoDB
mza
96
7k
HDC tutorial
michielstock
2
650
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