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
98
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
新規事業におけるGORM+SQLx併用アーキテクチャ
hacomono
PRO
0
330
大規模サーバーレスAPIの堅牢性・信頼性設計 〜AWSのベストプラクティスから始まる現実的制約との向き合い方〜
maimyyym
10
5k
能登半島地震で見えた災害対応の課題と組織変革の重要性
ditccsugii
0
1k
ガバメントクラウド(AWS)へのデータ移行戦略の立て方【虎の巻】 / 20251011 Mitsutosi Matsuo
shift_evolve
PRO
2
200
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
310
CoRL 2025 Survey
harukiabe
1
210
サイバーエージェント流クラウドコスト削減施策「みんなで金塊堀太郎」
kurochan
4
2.1k
WEBサービスを成り立たせるAWSサービス
takano0131
1
180
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
カンファレンスに託児サポートがあるということ / Having Childcare Support at Conferences
nobu09
1
610
このままAIが発展するだけでAGI達成可能な理由
frievea
0
120
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
Featured
See All Featured
Balancing Empowerment & Direction
lara
5
690
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
Facilitating Awesome Meetings
lara
56
6.6k
Being A Developer After 40
akosma
91
590k
Designing for Performance
lara
610
69k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
We Have a Design System, Now What?
morganepeng
53
7.8k
Statistics for Hackers
jakevdp
799
220k
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