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
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
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
4
1.3k
How to install a gem
indirect
0
1.9k
20260323_データ分析基盤でGeminiを使う話
1210yuichi0
0
190
出版記念イベントin大阪「書籍紹介&私がよく使うMCPサーバー3選と社内で安全に活用する方法」
kintotechdev
0
110
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
AIエージェント時代に必要な オペレーションマネージャーのロールとは
kentarofujii
0
210
私がよく使うMCPサーバー3選と社内で安全に活用する方法
kintotechdev
0
140
FlutterでPiP再生を実装した話
s9a17
0
230
Embeddings : Symfony AI en pratique
lyrixx
0
410
タスク管理も1on1も、もう「管理」じゃない - KiroとBedrock AgentCoreで変わった“判断の仕事”
yusukeshimizu
0
140
「通るまでRe-run」から卒業!落ちないテストを書く勘所
asumikam
3
850
Microsoft Fabricで考える非構造データのAI活用
ryomaru0825
0
440
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
160
Evolving SEO for Evolving Search Engines
ryanjones
0
170
AI: The stuff that nobody shows you
jnunemaker
PRO
4
500
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Practical Orchestrator
shlominoach
191
11k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
250
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
90
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
150
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
The Cost Of JavaScript in 2023
addyosmani
55
9.8k
Speed Design
sergeychernyshev
33
1.6k
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