Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Cloudstack design decisions
Pierre-Yves Ritschard
June 10, 2014
Technology
0
66
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
190
The (long) road to Kubernetes
pyr
0
240
From vertical to horizontal: The challenges of scalability in the cloud
pyr
0
46
Change Management at Scale
pyr
0
72
5 years of Clojure
pyr
2
930
Taming Jenkins
pyr
0
19
Init: then and now
pyr
1
150
Billing the Cloud
pyr
0
260
From Vertical to Horizontal
pyr
2
120
Other Decks in Technology
See All in Technology
エアドロップ for オープンソースプロジェクト
epicsdao
0
120
Kubernetes Pod Probes
thockin
5
2.2k
RDS/Aurora バージョンアップのポイント
hmatsu47
PRO
8
1.6k
UNIX は知らない。でも AWS は知ってる。 そんな僕が『 UNIX という考え方』を 読んでみた件
kentosuzuki
1
280
デイリースクラムの”守破離”(日々をより楽しく有意義にするヒント)
m3hiro3
3
4.3k
Virtual Thread - 導入の背景と、効果的な使い方 -
skrb
3
240
ROS_Japan_UG_#49_LT
maeharakeisuke
0
190
グローバルチームことはじめ / Bootstrapping a global team
tasshi
1
530
UIFlowの2.0がやってきた! / ビジュアルプログラミングIoTLT vol.13
you
0
210
データベースの発表には RDBMS 以外もありますよ
maroon1st
0
220
TypeScriptは10年でこんなに進化しました / TechFeed Experts Night 11
okunokentaro
5
1.1k
Pentesting Password Reset Functionality
anugrahsr
0
180
Featured
See All Featured
Web Components: a chance to create the future
zenorocha
304
40k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
101
6.1k
Scaling GitHub
holman
453
140k
StorybookのUI Testing Handbookを読んだ
zakiyama
8
3.2k
The Invisible Side of Design
smashingmag
292
48k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
152
13k
Rebuilding a faster, lazier Slack
samanthasiow
69
7.5k
Writing Fast Ruby
sferik
613
58k
Intergalactic Javascript Robots from Outer Space
tanoku
261
26k
Building Flexible Design Systems
yeseniaperezcruz
314
35k
Become a Pro
speakerdeck
PRO
6
3.2k
Why Our Code Smells
bkeepers
PRO
326
55k
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 ?