ruby cooking
DESCRIPTION
Chef is an open source systems integration framework built to bring the benefits of configuration management to your entire infrastructure.TRANSCRIPT
CookingwithRuby
by Stoyan Zhekov
1
自己紹介
•名前: ストヤン ジェコフ
•ブルガリア人
•3人の男の子のパパ
•システムアドミニストレータ
2
System Administrator3
4
買います
5
買います
インストル
6
買います
インストル
設定
7
Doesit
Scale?
8
9
10
Outsourcing
11
S aaS
P aaS
I aaS
12
... aaS = Outsourcing
13
14
S aaS
P aaS
I aaS
15
16
17
18
Infrastructure(or Hardware)
as a
Code19
IaaC20
IaaC
21
22
Chef23
Config: JSON
Code: Ruby
24
Resources
•Files
•OS packages
•Ruby Gems
•Templates
25
26
Recipe
27
Cookbook
28
29
Node
attributes
30
Roles
Describe the node purpose
31
RunList( order matters! )
32
gem install ohai
gem install chef
33
ohai
34
Chef-solo35
Web Service (IaaS)
36
Chef-client
• Authentication
• Send local info(ohai)
• Receive & run recipes
• Can run as a daemon
37
38
http://auser.github.com/poolparty/
Vagrant
40
41