Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
openstack-chef-repo
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Tomokazu HIRAI
February 12, 2013
Technology
120
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
openstack-chef-repo
Tomokazu HIRAI
February 12, 2013
More Decks by Tomokazu HIRAI
See All by Tomokazu HIRAI
Using Ceph-Deploy
jedipunkz
1
4.5k
rcbops/chef-cookbooks
jedipunkz
1
3.1k
Elasticsearch, Fluentd, Kibana 概要とデプロイ方法
jedipunkz
0
270
15分で解る Chef
jedipunkz
0
230
Other Decks in Technology
See All in Technology
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
安心して変更できるWebフロントエンドの作り方
pirosikick
5
2.7k
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
0
160
AI 時代のスタートアップエコシステ厶から考究する技術的負債との向き合い方
m3m0r7
PRO
3
2.2k
山手線を徒歩で一周してわかった、 位置情報アプリは「足」が最強のデバッガー
hinakko
0
160
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.8k
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
9
3.9k
EventBridge に「合流」はない ― サーバーレスのワークフローを育てるということ / No Join in EventBridge
yusukeshimizu
2
110
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
510
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
170
リアーキテクチャ後の障害ゼロを目指したShadow Testingの取り組み
nihonbuson
PRO
1
140
2026-09-11 【Snowflake World Tour Tokyo 2026】Snowflakeを起点に、AI Agentが自律稼働し続ける未来へ / Driving AI Agents with Snowflake
civitaspo
0
680
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
How to Think Like a Performance Engineer
csswizardry
28
2.8k
Claude Code のすすめ
schroneko
67
230k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Building an army of robots
kneath
307
46k
Music & Morning Musume
bryan
48
7.4k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
430
My Coaching Mixtape
mlcsv
0
320
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
Automating Front-end Workflow
addyosmani
1369
210k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
500
Transcript
openstack-chef-repo Tomokazu HIRAI @jedipunkz KDDI Web Communications inc. 132݄9༵
What is Chef ? #1 Chef is an open-source systems
integration framework built specifically for automating the cloud. * Chef-Server * Node * WorkStation 132݄9༵
What is Chef ? #2 Chef-Server WorkStation Node ʢ̍ʣ ʢ̎ʣ
ʢ̏ʣ (1) : cookbooks, roles, data_bag, environments ΛΞοϓϩʔυ (2) : node ʹରͯ͠ ‘bootstrap’ ߦ͍σϓϩΠ։࢝ (3) : cookbooks, roles Λμϯϩʔυ͠ chef-client ࣮ߦ, ͦͷޙఆظతʹ࣮ߦ openstack-chef-repo 132݄9༵
Why Chef ? * ܁Γฦ࣮͠ߦՄೳ -> ܧଓతσϓϩΠ * ίʔυʹ൚༻ੑΛ࣋ͨͤΔͷ͕༰қ ->
ࢿ࢈ͷ׆༻ package ‘nginx’ * API -> ΞϓϦ։ൃ͕༰қ 132݄9༵
Chef for OpenStack We are also working with community partners
such as Rackspace, Dell, DreamHost and HP to help provide a solid basis for deploying and managing OpenStack. http://www.opscode.com/blog/2012/06/27/chef-for- openstack/ ڈ6݄ͷ͜ͱ... 132݄9༵
ࠓिྲྀΕ͖ͯͨεϥΠυ http://www.slideshare.net/mattray/chef-11-previewchef- for-openstack 132݄9༵
Facebook has adopted Opscode’s Private Chef http://www.datacenterknowledge.com/archives/ 2013/02/04/facebook-uses-retooled-chef-to-manage- infrastructure/ 132݄9༵
openstack-chef-repo * chef-repo ͱ chef ͷ࡞ۀσΟϨΫτϦ * WorkStation ্ʹஔ *
librarian-chef ʹͯ cookbooks (keystone,glance, nova ...) Λऔಘ * environments(ྫ͑ production) Ͱ֤ cookbook attribute Λ্ॻ͖͠ શମͷ߹ੑΛऔΔ * spiceweasel ʹΑΓ knife ίϚϯυΛग़ྗɾ࣮ߦ 132݄9༵
σΟϨΫτϦߏ openstack-chef-repo ᵓᴷᴷ cookbooks ᴹ ᵓᴷᴷ apache2 ᴹ ᵓᴷᴷ keystone
ᴹ ᵓᴷᴷ glance ᴹ ᵓᴷᴷ .. ུ ᵓᴷᴷ environments ᴹ ᵋᴷᴷ production.rb ᵓᴷᴷ infrastructure.yml ᵓᴷᴷ roles ᴹ ᵓᴷᴷ allinone.rb ᴹ ᵓᴷᴷ base.rb ᴹ ᵓᴷᴷ glance.rb ᴹ ᵓᴷᴷ horizon-server.rb ᴹ ᵓᴷᴷ .. ུ * ڥʹ߹Θͤͯमਖ਼ɾه 132݄9༵
࣮ߦ४උ #1 % gem install librarian chef spiceweasel % git
clone git://github.com/opscode/openstack-chef-repo.git % cd openstack-chef-repo % librarian-chef update # cookbooks औಘ % vim environments/production.rb ... ུ "osops_networks" => { "public" => "10.200.8.0/24", "management" => "10.200.8.0/24", "nova" => "10.200.8.0/24" }, ... ུ * هमਖ਼ 132݄9༵
࣮ߦ४උ #2 % vim infrastructure.yml cookbooks: - keystone: #used by
keystone role version: 2012.1.1 ... ུ roles: - base: - rabbitmq-server: - keystone: ... ུ environments: - production: nodes: - 10.200.8.19: run_list: role[allinone] options: -i ~/.ssh/id_rsa -x root -E production * هमਖ਼ 132݄9༵
࣮ߦ % spiceweasel infrastructure.yml # ίϚϯυϥΠϯग़ྗ knife cookbook upload apache2
knife cookbook upload apt ... ུ knife environment from file production.rb knife role from file base.rb knife role from file rabbitmq-server.rb ... ུ knife bootstrap 10.200.8.19 -i ~/.ssh/id_rsa -x root -E production -r 'role[allinone]' % spiceweasel -e infrastructure.yml # ࣮ߦ ... 10ఔػ ! :D 132݄9༵
·ͱΊ • spiceweasel ͕ΠϯςάϨʔγϣϯͯ͘͠ΕΔ • librarian Ͱ cookbooks Λऔಘ #
berkshelf ʹஔ͖͑ͯ΄͍͠ • environments ʹͯෳڥΛཧग़དྷΔ (staging, testing ..) • ‘all in one’ ߏෳߏՄೳ #ෳະ֬ೝ • folsom ϕʔεͪʹ։ൃ͕࢝·Δͦ͏, ݱࡏ essex ϕʔε • chef ΠϯετʔϧπʔϧͰͳ͘ ‘ܧଓతʹσϓϩΠ(ӡ༻)͢ ΔͨΊͷϑϨʔϜϫʔΫ’ Ͱ͋Δ 132݄9༵