SlideShare a Scribd company logo
Docker’ized Microservices
18.12.2014
Hendrik Still
‣ Microservices
‣ What are Microservices?
‣ Why Microservices?
‣ Microservices, the Silver Bullet?
‣ Dockerizing Microservices
‣ @ Development
‣ @ Continuous Delivery
Agenda
Source: http://martinfowler.com/articles/microservices.
html#CharacteristicsOfAMicroserviceArchitecture
What are Microservices?
“In short, the microservice architectural style
is an approach to developing a single
application as a suite of small services,
each running in its own process and
communicating with lightweight mechanisms,
often an HTTP resource API.“
-James Lewis & Martin Fowler
BuyLike
The Monolith
0101
0101
1010
1110
1001
$
BuyLike
$
Splitting up the Monolith
Why Microservices?
Buy
$
Like
Buy Service
Like Service
Scalability!
Buy
$
Like
Fault-tolerance!
Buy
$
Like
Polyglot Development
Use the right tool for the job!
Are Microservices
the Silver Bullet?
Imagesource: http://thefilmstage.com/news/tommy-lee-jones-to-produce-write-direct-and-star-in-the-homesman/
Are you serious?
Microservices Architecture
=
Distributed System
Runtime
Overhead!
0101
0101
1010
1110
1001
$
Runtime
Runtime
Runtime
$
vs.
Microservices &
Docker
BuyLike
$
Docker
The Dockerfile
$ sudo docker build -t product-service .
$ sudo docker run -d --name=product-service -p 9001:9001 --link="
eureka-master:eureka-master" product-service
FROM dockerfile/java:oracle-java7
ADD build/libs/product-service.jar /service/product-service.jar
WORKDIR /service
EXPOSE 9001
EXPOSE 7979
CMD java -jar /service/product-service.jar
@ Development
Buy
$
Like
$ docker build -t product-service .
$ docker run … product-service
$ docker build -t like-service .
$ docker run … like-service
$ docker build -t pay-service .
$ docker run … pay-service
$ docker build -t sun-service .
$ docker run … sun-service
$ docker build -t arrow-service .
$ docker run … arrow-service
Orchestration tools
Vagrant
Vagrant.configure(“2”) do |config|
config.vm.define "productservice" do |ms|
ms.vm.provider "docker" do |d|
d.build_dir = "./product-service/"
d.ports = ["9001:9001","7979:7979"]
d.link "eureka-master:eureka-master"
d.has_ssh = false
end
end
config.vm.define "productpriceservice" do |ms|
ms.vm.provider "docker" do |d|
d.build_dir = "./product-price-service/"
d.link "eureka-master:eureka-master"
d.has_ssh = false
end
end
# Other Microservices
end
@ Development
Buy
$
Like
$ vagrant up --provider=docker
@ Continuous Delivery
Commit
stage
Acceptance
test stageVCS ...
Release
stage
Acceptance
test stage ...
Release
stage
Commit
stageVCS
Artifact
Repository
Contact
Hendrik Still
hendrik.still@inovex.de
inovex GmbH
Office Karlsruhe
Ludwig-Erhard-Allee 6
76131 Karlsruhe
Thank you for listening!
Image Sources
● Spotify Logo https://developer.spotify.com/download/guidelines/ux-with-other-brands.pdf
Docker Logo http://commons.wikimedia.org/wiki/File:Docker_%28container_engine%
29_logo.png
● Java Logo https://en.wikipedia.org/wiki/Java_%28programming_language%
29#mediaviewer/File:Java_logo_and_wordmark.svg
● Ruby Logo https://commons.wikimedia.org/wiki/File:Ruby_logo.svg
● Mysql Logo https://en.wikipedia.org/wiki/MySQL#mediaviewer/File:MySQL.svg
● MongoDB https://en.wikipedia.org/wiki/MongoDB#mediaviewer/File:MongoDB_Logo.png
● Vagrant https://commons.wikimedia.org/wiki/File:Vagrant.png#mediaviewer/File:Vagrant.png
● Rambo Tux http://it-runde.de/838/kleine-tux-gallerie-avatare
Buch: http://shop.oreilly.com/product/0636920033158.do
Video: http://vimeo.com/74589816
Recommendations

More Related Content

What's hot (20)

PDF
APIs in a Microservice Architecture
WSO2
 
PPTX
Microservices
Nebiyou Tibebu
 
PDF
Microservice Architecture | Microservices Tutorial for Beginners | Microservi...
Edureka!
 
PDF
Introduction to microservices Jornada Microservices
Roan Brasil Monteiro
 
PPTX
Microservices architecture
Mohamad Farhani
 
PDF
Microservice architecture-api-gateway-considerations
Imam Uddin Ahamed - PRINCE2 ® , ITIL ®
 
PDF
Road to Microservices
Salvatore Cordiano
 
PPTX
Microservice architecture design principles
Sanjoy Kumar Roy
 
PDF
DEVNET-1184 Microservices Patterns
Cisco DevNet
 
PDF
Moved to https://slidr.io/azzazzel/liferay-7-microservices-for-the-enterprise
Milen Dyankov
 
PPTX
Kong
Noam Elfanbaum
 
PDF
Design patterns for microservice architecture
The Software House
 
PPTX
Introduction to microservices
Anil Allewar
 
PDF
Service mesh in Microservice World to Manage end to end service communications
Satya Syam
 
PPTX
Benefits of Containers, Microservices and Containerized Microservices
HTS Hosting
 
PDF
Microservices Architecture: Building 'SMART' & 'Agile' Software
SmartBear
 
PPTX
Microservices vs SOA
inovia
 
PDF
Microservices architecture
Abdelghani Azri
 
PPTX
Building Highly Scalable Apps On Bluemix
Ryan Baxter
 
PPTX
Introduction to Microservices
Roger van de Kimmenade
 
APIs in a Microservice Architecture
WSO2
 
Microservices
Nebiyou Tibebu
 
Microservice Architecture | Microservices Tutorial for Beginners | Microservi...
Edureka!
 
Introduction to microservices Jornada Microservices
Roan Brasil Monteiro
 
Microservices architecture
Mohamad Farhani
 
Microservice architecture-api-gateway-considerations
Imam Uddin Ahamed - PRINCE2 ® , ITIL ®
 
Road to Microservices
Salvatore Cordiano
 
Microservice architecture design principles
Sanjoy Kumar Roy
 
DEVNET-1184 Microservices Patterns
Cisco DevNet
 
Moved to https://slidr.io/azzazzel/liferay-7-microservices-for-the-enterprise
Milen Dyankov
 
Design patterns for microservice architecture
The Software House
 
Introduction to microservices
Anil Allewar
 
Service mesh in Microservice World to Manage end to end service communications
Satya Syam
 
Benefits of Containers, Microservices and Containerized Microservices
HTS Hosting
 
Microservices Architecture: Building 'SMART' & 'Agile' Software
SmartBear
 
Microservices vs SOA
inovia
 
Microservices architecture
Abdelghani Azri
 
Building Highly Scalable Apps On Bluemix
Ryan Baxter
 
Introduction to Microservices
Roger van de Kimmenade
 

Viewers also liked (15)

PDF
Die dunkle Seite der Microservices - und wie du sie besiegen kannst
inovex GmbH
 
PDF
Advanced Cojure Microservices
inovex GmbH
 
PDF
Continuous Integration for Fun and Profit
inovex GmbH
 
PDF
Erfolgsfaktoren von Datenprodukten
inovex GmbH
 
PDF
Cloud Wars – what‘s the smartest data platform? Vergleich Microsoft Azure, Am...
inovex GmbH
 
PDF
Gitlab meets Kubernetes
inovex GmbH
 
PDF
SysDig Metriken zentralisieren
inovex GmbH
 
PDF
Automated Application Management with SaltStack
inovex GmbH
 
PDF
Stackstorm – Event driven Automation
inovex GmbH
 
PDF
Prometheus Monitoring
inovex GmbH
 
PDF
Top Legacy Sins
Eberhard Wolff
 
PDF
Moderne App-Entwicklung am Beispiel waipu.tv
inovex GmbH
 
PDF
Datenprodukte für Deutschlands größten Fahrzeugmarkt
inovex GmbH
 
PDF
Monitoring with Graylog - a modern approach to monitoring?
inovex GmbH
 
PDF
REST vs. Messaging For Microservices
Eberhard Wolff
 
Die dunkle Seite der Microservices - und wie du sie besiegen kannst
inovex GmbH
 
Advanced Cojure Microservices
inovex GmbH
 
Continuous Integration for Fun and Profit
inovex GmbH
 
Erfolgsfaktoren von Datenprodukten
inovex GmbH
 
Cloud Wars – what‘s the smartest data platform? Vergleich Microsoft Azure, Am...
inovex GmbH
 
Gitlab meets Kubernetes
inovex GmbH
 
SysDig Metriken zentralisieren
inovex GmbH
 
Automated Application Management with SaltStack
inovex GmbH
 
Stackstorm – Event driven Automation
inovex GmbH
 
Prometheus Monitoring
inovex GmbH
 
Top Legacy Sins
Eberhard Wolff
 
Moderne App-Entwicklung am Beispiel waipu.tv
inovex GmbH
 
Datenprodukte für Deutschlands größten Fahrzeugmarkt
inovex GmbH
 
Monitoring with Graylog - a modern approach to monitoring?
inovex GmbH
 
REST vs. Messaging For Microservices
Eberhard Wolff
 
Ad

Similar to Dockerized Microservices (20)

PDF
How to Choose the Right Technology, Framework or Tool to Build Microservices
Kai Wähner
 
PDF
Monoliths, Myths, and Microservices - CfgMgmtCamp
Michael Ducy
 
PDF
Monoliths, Myths, and Microservices
Michael Ducy
 
PDF
WILD microSERVICES v2 (JEEConf Edition)
Aleksandr Tarasov
 
PDF
20161220 - microservice
Jamie (Taka) Wang
 
PDF
The histories of microservices
Steve Upton
 
PDF
Welcome to the world of micro-apps
Sander Hoogendoorn
 
PDF
Say microservices again! (Clermont'ech 01/03/2016)
Daniel Petisme
 
PPTX
Microservices - Peixe Urbano Tech Talks
Pedro Mendes
 
PDF
Microservices - an architecture that enables DevOps (T Systems DevOps day)
Chris Richardson
 
PDF
Cloud Native Middleware Microservices - Lessons Learned with Docker, Kubernet...
Kai Wähner
 
PDF
Dominik Boszko - Krocząc doliną ciemności mikroserwisów się nie ulęknę
SegFaultConf
 
PDF
Decompose your monolith: strategies for migrating to microservices (Tide)
Chris Richardson
 
PPTX
Fun Times With Microservices
Christo Crampton
 
PPTX
Fun Times with Microservices
Christo Crampton
 
PDF
[WSO2 Integration Summit Bern 2019] Composable Enterprise
WSO2
 
PDF
[WSO2 Integration Summit Paris 2019] Emerging Architecture Patterns API-centr...
WSO2
 
PDF
[WSO2 Integration Summit Madrid 2019] Emerging Architecture Patterns: API-cen...
WSO2
 
PDF
[WSO2 Integration Summit Nairobi 2019] Emerging Architecture Patterns: API-ce...
WSO2
 
PDF
[WSO2 Integration Summit Stuttgart 2019] Emerging Architecture Patterns: API-...
WSO2
 
How to Choose the Right Technology, Framework or Tool to Build Microservices
Kai Wähner
 
Monoliths, Myths, and Microservices - CfgMgmtCamp
Michael Ducy
 
Monoliths, Myths, and Microservices
Michael Ducy
 
WILD microSERVICES v2 (JEEConf Edition)
Aleksandr Tarasov
 
20161220 - microservice
Jamie (Taka) Wang
 
The histories of microservices
Steve Upton
 
Welcome to the world of micro-apps
Sander Hoogendoorn
 
Say microservices again! (Clermont'ech 01/03/2016)
Daniel Petisme
 
Microservices - Peixe Urbano Tech Talks
Pedro Mendes
 
Microservices - an architecture that enables DevOps (T Systems DevOps day)
Chris Richardson
 
Cloud Native Middleware Microservices - Lessons Learned with Docker, Kubernet...
Kai Wähner
 
Dominik Boszko - Krocząc doliną ciemności mikroserwisów się nie ulęknę
SegFaultConf
 
Decompose your monolith: strategies for migrating to microservices (Tide)
Chris Richardson
 
Fun Times With Microservices
Christo Crampton
 
Fun Times with Microservices
Christo Crampton
 
[WSO2 Integration Summit Bern 2019] Composable Enterprise
WSO2
 
[WSO2 Integration Summit Paris 2019] Emerging Architecture Patterns API-centr...
WSO2
 
[WSO2 Integration Summit Madrid 2019] Emerging Architecture Patterns: API-cen...
WSO2
 
[WSO2 Integration Summit Nairobi 2019] Emerging Architecture Patterns: API-ce...
WSO2
 
[WSO2 Integration Summit Stuttgart 2019] Emerging Architecture Patterns: API-...
WSO2
 
Ad

More from inovex GmbH (20)

PDF
lldb – Debugger auf Abwegen
inovex GmbH
 
PDF
Are you sure about that?! Uncertainty Quantification in AI
inovex GmbH
 
PDF
Why natural language is next step in the AI evolution
inovex GmbH
 
PDF
WWDC 2019 Recap
inovex GmbH
 
PDF
Network Policies
inovex GmbH
 
PDF
Interpretable Machine Learning
inovex GmbH
 
PDF
Jenkins X – CI/CD in wolkigen Umgebungen
inovex GmbH
 
PDF
AI auf Edge-Geraeten
inovex GmbH
 
PDF
Prometheus on Kubernetes
inovex GmbH
 
PDF
Deep Learning for Recommender Systems
inovex GmbH
 
PDF
Azure IoT Edge
inovex GmbH
 
PDF
Representation Learning von Zeitreihen
inovex GmbH
 
PDF
Talk to me – Chatbots und digitale Assistenten
inovex GmbH
 
PDF
Künstlich intelligent?
inovex GmbH
 
PDF
Dev + Ops = Go
inovex GmbH
 
PDF
Das Android Open Source Project
inovex GmbH
 
PDF
Machine Learning Interpretability
inovex GmbH
 
PDF
Performance evaluation of GANs in a semisupervised OCR use case
inovex GmbH
 
PDF
People & Products – Lessons learned from the daily IT madness
inovex GmbH
 
PDF
Infrastructure as (real) Code – Manage your K8s resources with Pulumi
inovex GmbH
 
lldb – Debugger auf Abwegen
inovex GmbH
 
Are you sure about that?! Uncertainty Quantification in AI
inovex GmbH
 
Why natural language is next step in the AI evolution
inovex GmbH
 
WWDC 2019 Recap
inovex GmbH
 
Network Policies
inovex GmbH
 
Interpretable Machine Learning
inovex GmbH
 
Jenkins X – CI/CD in wolkigen Umgebungen
inovex GmbH
 
AI auf Edge-Geraeten
inovex GmbH
 
Prometheus on Kubernetes
inovex GmbH
 
Deep Learning for Recommender Systems
inovex GmbH
 
Azure IoT Edge
inovex GmbH
 
Representation Learning von Zeitreihen
inovex GmbH
 
Talk to me – Chatbots und digitale Assistenten
inovex GmbH
 
Künstlich intelligent?
inovex GmbH
 
Dev + Ops = Go
inovex GmbH
 
Das Android Open Source Project
inovex GmbH
 
Machine Learning Interpretability
inovex GmbH
 
Performance evaluation of GANs in a semisupervised OCR use case
inovex GmbH
 
People & Products – Lessons learned from the daily IT madness
inovex GmbH
 
Infrastructure as (real) Code – Manage your K8s resources with Pulumi
inovex GmbH
 

Recently uploaded (20)

PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Market Insight : ETH Dominance Returns
CIFDAQ
 

Dockerized Microservices