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
Timo Derstappen
October 17, 2014
Technology
2
130
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
97
Automating Kubernetes Cluster Operations with Operators
teemow
0
140
CoreOS @Codetalks
teemow
2
120
CoreOS @Railscamp
teemow
1
120
Other Decks in Technology
See All in Technology
20250818_KGX・One Hokkaidoコラボイベント
tohgeyukihiro
0
130
そのコンポーネント、サーバー?クライアント?App Router開発のモヤモヤを可視化する補助輪
makotot
3
260
AWSの最新サービスでAIエージェント構築に楽しく入門しよう
minorun365
PRO
10
610
R-SCoRe: Revisiting Scene Coordinate Regression for Robust Large-Scale Visual Localization
takmin
0
400
株式会社ARAV 採用案内
maqui
0
290
OpenAPIから画面生成に挑戦した話
koinunopochi
0
150
キャリアを支え組織力を高める「多層型ふりかえり」 / 20250821 Kazuki Mori
shift_evolve
PRO
2
290
知られざるprops命名の慣習 アクション編
uhyo
10
2.1k
ECS モニタリング手法大整理
yendoooo
1
120
JOAI発表資料 @ 関東kaggler会
joai_committee
1
210
AIが住民向けコンシェルジュに?Amazon Connectと生成AIで実現する自治体AIエージェント!
yuyeah
0
260
Rethinking Incident Response: Context-Aware AI in Practice - Incident Buddy Edition -
rrreeeyyy
0
130
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Typedesign – Prime Four
hannesfritz
42
2.8k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
YesSQL, Process and Tooling at Scale
rocio
173
14k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Faster Mobile Websites
deanohume
309
31k
RailsConf 2023
tenderlove
30
1.2k
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