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
Microservices Docker @Bonn Agile
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Timo Derstappen
October 17, 2014
Technology
2
140
Microservices Docker @Bonn Agile
Timo Derstappen
October 17, 2014
Tweet
Share
More Decks by Timo Derstappen
See All by Timo Derstappen
Automating Kubernetes Cluster Operations with Operators
teemow
0
110
Automating Kubernetes Cluster Operations with Operators
teemow
0
140
CoreOS @Codetalks
teemow
2
130
CoreOS @Railscamp
teemow
1
120
Other Decks in Technology
See All in Technology
全員が「作り手」になる。職能の壁を溶かすプロトタイプ開発。
hokuo
1
660
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
180
JuliaTokaiとしてはこれが最後かもしれない(仮) for NGK2026S
antimon2
0
130
AIとともに歩む情報セキュリティ / Information Security with AI
kanny
4
3k
月間数億レコードのアクセスログ基盤を無停止・低コストでAWS移行せよ!アプリケーションエンジニアのSREチャレンジ💪
miyamu
0
600
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
120
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
2
140
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
290
Azure SRE Agent x PagerDutyによる近未来インシデント対応への期待 / The Future of Incident Response: Azure SRE Agent x PagerDuty
aeonpeople
0
260
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
4
1.5k
システムのアラート調査をサポートするAI Agentの紹介/Introduction to an AI Agent for System Alert Investigation
taddy_919
2
1.2k
GSIが複数キー対応したことで、俺達はいったい何が嬉しいのか?
smt7174
3
120
Featured
See All Featured
Building an army of robots
kneath
306
46k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
190
Prompt Engineering for Job Search
mfonobong
0
150
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
52
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
150
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
93
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
AI: The stuff that nobody shows you
jnunemaker
PRO
2
230
HDC tutorial
michielstock
1
340
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Transcript
Microservices with Docker Timo Derstappen @teemow
What are Microservices?
Example Application
• Small, focussed services • Independent Processes • Language agnostic
APIs • Highly decoupled Definition!?
Right tool for the job • Not bound to a
single Technology • No one-size-fits-all approach
Resilience • No monolith to fall over • Design to
fail • Circuit Breakers to avoid cascading failures
• Failures are going to happen • Reduce Mean Time
to Recover Distributed Systems
Scaling Only services that are constrained by performance need scaling.
Elastic (on-demand) scaling of smaller services leads to better cost control
Ease of Deployment Services can be deployed independently and faster.
Changing a monolith could have more impact and risk so deployments are slower.
“Organizations which design systems ... are constrained to produce designs
which are copies of the communication structures of these organizations.” — Melvin Conway
Composability • Re-use • Re-compose
Optimising for Replaceability Small services are rewritten or removed without
worrying too much
• Continuous delivery • Infrastructure Automation • Small autonomous teams
• Systems at scale • 12 Factor Apps Enabler
Where does Docker fit in?
• Lightweight • Fast • One process per container •
Composability Where does it match?
• Disposable components • Make your state explicit • Provision
at build-time • Configure at run-time Immutable Infrastructure
• Development • Unit/Integration Tests • Continuous delivery • Production
Docker Workflow
Development
• Vagrant • rbenv • nodeenv • virtualenv Your current
setup?
• Contains Build Tools • Each for every stack Dev
Container
# What about running oneshot containers with the build tool
inside. $ alias npm='docker run --rm -ti -v $(pwd):$(pwd) -w $(pwd) teemow/npm' $ npm install Aliases
web: build: . ports: - 8080:8080 volumes: - .:/app links:
- redis redis: image: dockerfile/redis Fig
Build Chain
Jenkins - Docker Hub Integration
Production
Install docker on a host and start your container. Use
fig to link your containers. Simple Container Hosting
• Scheduler • Service Discovery • Monitoring • Logging Container
Environment
but there are lots of options here. • Mesosphere •
Kubernetes • Consul • Project Atomic We ♥ CoreOS
Docker Cologne - CoreOS Meetup 19:00, 14th October Startplatz Brandon
Philips, CTO of CoreOS Luke Marsden, CTO of Flocker There is a Meetup in Cologne
Sign up for the Giant Swarm private Beta Request Invite
http://giantswarm.io/
Thanks for listening! Reach out: Timo Derstappen @teemow @giantswarm