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
Cloudstack design decisions
Search
Pierre-Yves Ritschard
June 10, 2014
Technology
0
87
Cloudstack design decisions
Cloud operations at scale
Pierre-Yves Ritschard
June 10, 2014
Tweet
Share
More Decks by Pierre-Yves Ritschard
See All by Pierre-Yves Ritschard
Meetup Camptocamp: Exoscale SKS
pyr
0
450
The (long) road to Kubernetes
pyr
0
310
From vertical to horizontal: The challenges of scalability in the cloud
pyr
0
70
Change Management at Scale
pyr
0
110
5 years of Clojure
pyr
2
1k
Taming Jenkins
pyr
0
51
Init: then and now
pyr
1
200
Billing the Cloud
pyr
0
310
From Vertical to Horizontal
pyr
2
140
Other Decks in Technology
See All in Technology
オブザーバビリティが広げる AIOps の世界 / The World of AIOps Expanded by Observability
aoto
PRO
0
220
Browser
recruitengineers
PRO
7
2.1k
実践アプリケーション設計 ③ドメイン駆動設計
recruitengineers
PRO
13
4k
おやつは300円まで!の最適化を模索してみた
techtekt
PRO
0
250
見てわかるテスト駆動開発
recruitengineers
PRO
6
2.3k
kubellが考える戦略と実行を繋ぐ活用ファーストのデータ分析基盤
kubell_hr
0
120
Vault meets Kubernetes
mochizuki875
0
150
「魔法少女まどか☆マギカ Magia Exedra」のグローバル展開を支える、開発チームと翻訳チームの「意識しない協創」を実現するローカライズシステム
gree_tech
PRO
0
420
ヘブンバーンズレッドのレンダリングパイプライン刷新
gree_tech
PRO
0
420
AIエージェントの活用に重要な「MCP (Model Context Protocol)」とは何か
masayamoriofficial
0
240
DuckDB-Wasmを使って ブラウザ上でRDBMSを動かす
hacusk
1
140
退屈なことはDevinにやらせよう〜〜Devin APIを使ったVisual Regression Testの自動追加〜
kawamataryo
4
990
Featured
See All Featured
Code Review Best Practice
trishagee
70
19k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Site-Speed That Sticks
csswizardry
10
800
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
A designer walks into a library…
pauljervisheath
207
24k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Art, The Web, and Tiny UX
lynnandtonic
302
21k
Producing Creativity
orderedlist
PRO
347
40k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Transcript
CLOUDSTACK DESIGN DECISIONS CLOUD OPERATIONS AT SCALE
SHORT BIO Pierre-Yves Ritschard CTO @ exoscale - The safe
home for your cloud applications Open Source Developer - pithos, cyanite, riemann, collectd, openbsd Architect of several cloud platforms - paper.li Recovering Operations Engineer
Simple and efficient cloud hosting platform Full compatibility with automation
tools Hosted in a safe jurisdiction
CLOUD BUILDING BLOCKS service infrastructure software people
SERVICE SIMPLICITY AND SCALABILITY Cloudstack based Basic networking Local storage
KVM hypervisor: SmartOS inspired
CLOUDSTACK Great extensibility, easy to plug into.
BASIC NETWORKING One IP per VM. Security groups are hypervisor
controlled layer 2 firewall rules. Provides all the flexibility of a traditionnal firewall, completely API controlled.
LOCAL STORAGE Fast I/O, persistent disks.
KVM HYPERVISOR Best in class hypervisor. Diskless and netboot approach.
Avoids resource waste, facilitates upgrades.
INFRASTRUCTURE THE GOOD CITIZEN CONTRACT Configuration management Visibility Build factory
Remote execution
THE GOOD CITIZEN CONTRACT new machines have roles role defines
converged configuration as sum of components each component has an expected normal state and reports it no local intervention needed
CONFIGURATION MANAGEMENT code is a great way to define infrastructure
ensures homogeneity ability to iterate fast great source of change tracking avoids fear of change
OVER 3000 COMMITS
CONFIGURATION MANAGEMENT: PUPPET battle tested tool simple declarative DSL to
express configuration fits our component approach well
VISIBILITY FROM THE MAP TO THE TERRITORY logs metrics alerts
WHY FOCUS ON VISIBILITY distributed systems with lots of moving
parts, high node volatility
LOGS all application and system logs sent over the wire
logstash disects and extracts metadata elasticsearch indexes for easy retrieval simple correlation
None
METRICS all application and system metrics sent over the wire
by collectd graphite's carbon aggregates and produces appropriate roll- ups if it moves, graph it. if it doesn't, graph it if it starts moving.
None
ALERTS unbounded stream of log and metric data passive approach
bodes well with node volatility riemann takes decisions based on stream content ability to extract meaningful information
BUILD FACTORY continuous integration package repositories
CONTINUOUS INTEGRATION over 60 build jobs ties into our code
hosting platform handled by jenkins
PACKAGE REPOSITORIES generates valid and signed Debian repositories ensures fast
upgrades simplifies configuration management
REMOTE EXECUTION a simple pubsub system recurrent commands stored as
scenarios command line, HTTP and IRC interaction
A SIMPLE PUBSUB SYSTEM each node runs an agent responsible
for carrying out commands. commands are sent to groups of nodes (by predicates such as role).
RECURRENT COMMANDS STORED AS SCENARIOS intricate workflows can be expressed
through a simple DSL
COMMAND LINE, HTTP AND IRC INTERACTION most of our production
environment can be controlled through our chatroom
SOFTWARE FILLING IN THE GAPS Customer management Real-time metering and
billing Integrated console A few other things
CUSTOMER MANAGEMENT Keeping track of our users Support services (ticket
management, coupons, emails)
REAL-TIME METERING AND BILLING can't be tied to a cloudstack
only solution cloudstack emits useful data ties into our customer management
INTEGRATED CONSOLE integrated experience across our services hides complexity and
cloudstack specifics exposes exoscale specific features
None
A FEW OTHER THINGS pithos cyanite fleet collectd add-ons
PEOPLE EFFICIENT WORK. QUIET NIGHTS Small SRE team Avoiding deploy
anxiety
SMALL SRE TEAM Our platform must be simple to operate,
additional moving parts must provide business value or help operations
AVOIDING DEPLOY ANXIETY Our software and infrastructure helps ensure we
have good tools to ensure quiet nights and easily caught errors
LOOKING BACK Cloudstack is a solid foundation for a IAAS
platform There's a bit more to it than just installing cloudstack Building a sustainable and scalable platform on top of cloudstack is possible
QUESTIONS ?