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
Chefについて数週間勉強してみた
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
akira345
July 14, 2013
Technology
0
100
Chefについて数週間勉強してみた
広島Ruby勉強会#33で喋ったスライドです。
akira345
July 14, 2013
Tweet
Share
More Decks by akira345
See All by akira345
えれくら!〜電気電子工作系制作・交流会〜#29
akira345
0
19
脱・同期処理!マイクロサービスにおける負荷分散の勘所
akira345
0
100
AWSデプロイツール紹介
akira345
0
58
40歳でやったこと
akira345
0
38
回路を読むために必要なこと
akira345
0
27
おれのAWSがこんなに辛い訳がない!!
akira345
0
33
Dockerを触ってみよう
akira345
0
95
アラフォー世代が基板を作ってみた(公開用)
akira345
0
150
ESP-WROOM-02でプチIoT
akira345
0
120
Other Decks in Technology
See All in Technology
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
520
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
440
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
350
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
1
170
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
620
OpenShiftでllm-dを動かそう!
jpishikawa
0
140
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
2.1k
Why Organizations Fail: ノーベル経済学賞「国家はなぜ衰退するのか」から考えるアジャイル組織論
kawaguti
PRO
1
210
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.6k
Tebiki Engineering Team Deck
tebiki
0
24k
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
210
AIエージェントに必要なのはデータではなく文脈だった/ai-agent-context-graph-mybest
jonnojun
1
250
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
96
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
Git: the NoSQL Database
bkeepers
PRO
432
66k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
The SEO Collaboration Effect
kristinabergwall1
0
360
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Fireside Chat
paigeccino
41
3.8k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
340
Transcript
Chefについて数週間勉強してみた Chefについて数週間勉強してみた @akira345 Hiroshima.rb Powered by Rabbit 2.0.6 and COZMIXNG
自己紹介 本業:クラウド屋さん(暫定) 所属: Hiroshima.rb 広島サーバユーザ友の会(仮) 広島電子工作娯楽部(仮称) WindowsPhoneハンズオンin広島 オープンセミナー2014@広島 実行メンバー OSC広島実行メンバー WTM時々インフラ担当
転職しました! 某社にご縁があって転職しました どちらかというと異業種。毎日サバイバル。 上司のイライラの種 朝つらいっす・・・
Chefを使うことを強いられてい るんだ!! 職場ではChefを使っていました。 コードが欠片もわかりませんでしたOrz ヤバイ。死んでしまう
Chefってなに? シェフと呼びます。(SEO的にかなり辛い) opscode社が提供しているサーバ自動デ プロイツール。 サーバの設定をRubyのDSLで記述する(サ ーバ構成が書かれた設定スクリプトイメー ジ) サーバを大量生産するときに役立つ サーバにどのような設定をしたのか把握で きる
chefの構成
Chef Server Nodeの管理 Cookbook、Recipeの管理 WEB上から操作できます。
Workstation Chef Serverを操作し、Cookbookや Recipeの作成や構成管理
Node Chef Serverが管理するマシンたち。 Chef Serverで管理されているCookbook やRecipe情報を取得し、タスクを実行しま す。
用語について 用語が独創的ある意味一般的で検索が非 常に困難 Cookbook Recipe、Template、Attribute などをひ とまとめにしたディレクトリ。 ソフトの種類毎に作るのがお約束ぽい。 環境に依存するものはroleやnodeに設 定する。(PWとか)
用語について Recipe 設定を記述したrubyスクリプト。1つの Coolbookに複数存在する。 Template 設定ファイルを生成するためのテンプレ ート
用語について Attribute 環境依存の処理を吸収するための変 数。 role サーバ枚にどのRecipeを使うのかを書 く。各サーバはroleに記載されたrecipe に従う。
やってみる。 Powered by Rabbit 2.0.6 and COZMIXNG