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
A One stop solution for Puppet and Openstack -...
Search
Daniel Lobato García
August 23, 2013
Programming
2
180
A One stop solution for Puppet and Openstack - PuppetConf 13'
Daniel Lobato García
August 23, 2013
Tweet
Share
More Decks by Daniel Lobato García
See All by Daniel Lobato García
Computational Photography portfolio
elobato
1
3.3k
Intro to Foreman 2017 (cfgmgmtcamp Gent)
elobato
0
140
20 tips to secure your Rails application
elobato
0
110
20 actionable tips to secure your Rails application - Rails Israel '15
elobato
3
350
Foreman in the last year - Puppet NYC at Spotify
elobato
0
130
Foreman - from git init to official plugin
elobato
0
200
Provision and manage Docker containers with Foreman
elobato
0
670
Contributing to Foreman: where and how
elobato
0
83
Provision and manage Docker containers with Foreman
elobato
3
3.9k
Other Decks in Programming
See All in Programming
Terraform やるなら公式スタイルガイドを読もう 〜重要項目 10選〜
hiyanger
13
3.1k
WebAssemblyインタプリタを書く ~Component Modelを添えて~
ruccho
1
850
ゲームの物理
fadis
5
1.2k
ワープロって実は計算機で
pepepper
2
1.4k
バイブコーディング × 設計思考
nogu66
0
120
Google I/O recap web編 大分Web祭り2025
kponda
0
2.9k
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
500
#QiitaBash TDDで(自分の)開発がどう変わったか
ryosukedtomita
1
370
What's new in Adaptive Android development
fornewid
0
140
A Gopher's Guide to Vibe Coding
danicat
0
150
TROCCO×dbtで実現する人にもAIにもやさしいデータ基盤
nealle
0
240
CEDEC2025 長期運営ゲームをあと10年続けるための0から始める自動テスト ~4000項目を50%自動化し、月1→毎日実行にした3年間~
akatsukigames_tech
0
140
Featured
See All Featured
Done Done
chrislema
185
16k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
183
54k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Adopting Sorbet at Scale
ufuk
77
9.5k
Git: the NoSQL Database
bkeepers
PRO
431
65k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Transcript
A one stop solution for Puppet and Openstack Daniel Lobato
Garcia daniel.lobato.garcia@cern,ch @eLobatoss
None
What is CERN Between Geneva and the Jura mountains, straddling
the Swiss- French border Mission: learn what is the universe made of and how does it work? 3
Fundamental questions in physics Why do particles have mass? What
is 96% of the universe made of? Why isn’t there anti-matter in the universe? What was the state of matter after the Big Bang? 4
8/12/2013 Document reference 5
8/12/2013 Document reference 6
8/12/2013 Document reference 7
8/12/2013 Document reference 8
Current status • 270 Openstack hypervisors • 2900 virtual machines
• 300 users • 14 Puppet masters • 6 Foreman backend nodes • Some production services migrating to our cloud – early birds 9
Goals • Ramp up to 15K hypervisors – 150-200K vms
in 2015 • Multi-site (Hungary) 10
8/12/2013 Document reference 11
8/12/2013 Document reference 12
Why? • Unnecessary homebrew stack of tools • Shift to
cloud standards with minimal customizations • High turnover – can’t teach new tools 13
Why? • Symbiotic relationship with the community 14
Openstack? • Modular IaaS free open source project • APIs
~compatible with those of Amazon 15
Openstack Nova (compute) Cloud fabric controller 16
Openstack Keystone (Identity) RBAC Integrated with LDAP Multiple auth* methods
17
Openstack Glance (Images) Discovery, registration, delivery of images 18
Openstack Horizon (Dashboard) 19
Modules • Puppet definitions for every use case you can
imagine. • Dynamic environments • Hadoop node • Openstack hypervisor • … you name it 20
21 Workflow..?
Modules and Git • Manifests and hieradata are version controlled
22
23 Git workflow Puppet masters
24 Easy cherry pick
25 Git workflow
26 Git workflow Jens ‘Puppetfiles’ Separate repositories Makes environments from
YAML config files Puppet master rsync
27 upstream.yaml --- default: production notifications:
[email protected]
overrides: modules: foreman:
upstream puppet: upstream ‘Puppetfiles’
Foreman • Lifecycle management tool for VMs and physical servers
• External Node Classifier – tells the puppet master what a node should look like 28
29
30
Power operations & Foreman 8/12/2013 Document reference 31 Foreman Proxy
Physical box IPMI Physical box IPMI Physical box IPMI VM VM VM Openstack Nova API
Openstack VM creation 8/12/2013 Document reference 32
Openstack VM creation 8/12/2013 Document reference 33
Openstack VM creation 8/12/2013 Document reference 34
Scalability experiences • Split up services • Puppet – critical
vs non critical 35 12 backend nodes Batch 4 backend nodes Interactive
Scalability experiences • Foreman – split into different services 36
ENC Reports processing UI/API Load balancer 9443 – UI/API 9444 – Reports 9445 – ENC …
Scalability experiences • Autoscale via alarms (Heat) • Define situations
(i.e: load threshold..) • Spin up VMs as needed 37
Scalability guidelines 38
github.com / cernops 39
40
None