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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Timo Derstappen
October 17, 2014
Technology
140
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Microservices Docker @Bonn Agile
Timo Derstappen
October 17, 2014
More Decks by Timo Derstappen
See All by Timo Derstappen
Automating Kubernetes Cluster Operations with Operators
teemow
0
120
Automating Kubernetes Cluster Operations with Operators
teemow
0
170
CoreOS @Codetalks
teemow
2
140
CoreOS @Railscamp
teemow
1
130
Other Decks in Technology
See All in Technology
AI for Science時代を切り開く、政府の次世代HPC戦略の展望
gpuunite_official
0
220
MulticaとPi Coding Agentで、小規模OSSを30本同時運用した流れ
eiei114
0
140
Kiro WebとCloud Sessions
nagisa53
2
160
2027年のMetricKit
kantacky
0
160
Kiro入門|仕様駆動開発で変わるAI時代の開発スタイル
cmkudo
0
340
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
12
85k
2026-08-15 JAWS-UG 茨城 #16 Secrets ManagerにおけるSecret値の管理(Terraformの場合) / Secrets Manager Secrets
masasuzu
0
560
小粒でもパワフルなJS Runtime Antjsについて
comamoca
0
120
医療の現場を変革に挑戦した半年間の軌跡 - PythonとAIで現場を変える / From Code to Care
soudai
PRO
1
580
RelayerというPHPのフレームワークを作った
polidog
PRO
0
130
属人化を叩き割れ!「制作加速」と「安定化」の矛盾を打破する:8年目プロダクトが辿り着いた「ミスが起こり得ない」アセット制作フローの全貌
gree_tech
PRO
0
360
なぜ Temporal の大小比較には compare しかないのか / Why Does Temporal Only Have compare() for Comparisons
kazukihayase
1
200
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
515
110k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Being A Developer After 40
akosma
91
590k
Mobile First: as difficult as doing things right
swwweet
225
10k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
210
We Have a Design System, Now What?
morganepeng
55
8.3k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Google's AI Overviews - The New Search
badams
0
1.1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
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