SlideShare a Scribd company logo
Adrien Blind
DevOps Coach & Docker captain
@adrienblind
Unleash software architecture
leveraging on Docker
Come back on
microservices
@adrienblind
Fine-grained, highly decoupled and
atomic purpose centric services
Designed
for failure
Multi-versioned
Scalable
Microservices characteristics
Stateless
Immutable
Continuously
delivered
@adrienblind
From Enterprise Services buses
to full-mesh topologies
ESB
Service Service Service
Service Service
>
ServiceService
Service
Service
Service
Interactions
App App
@adrienblind
Security paradigms shifts (1/2)
Your IT opens up
• Externalization (housing, hosting)
• Cloud (IaaS/PaaS/SaaS)
Open up your IS
• B2B, services exposition
• Multi tenancy
More & more breaches appears in your Great Wall of China!
@adrienblind
Security paradigms shifts (2/2)
The necessary porosity of your IS requires to stick
security closer to each application: sandbox your apps
and expose protected interfaces!
Network is part of application topology
Security is an app topic, not just infra. concern
Onboard security in feature teamSecDevOps
@adrienblind
 Apps designed for failure & scalability
 Data to be externalized
 Dumber infrastructure
Resilience & scalability: apps problem now!
 Structured: MongoDB, Hadoop, Cassandra, Elastic Search...
 Binaries: object storage with Ceph, OpenStack Swift...
 Helpful patterns: stateless, multi-versioning, loose coupling...
 Infrastructure rationalization
 Low-cost, poor-SLA commodity
Vertical > Horizontal
@adrienblind
Merge app & infra conf. lifecycles
System conf v.5.79
Middleware v.69.3
App code v1.2.3
 Product version = app version +
infra version
 Whenever you change a single
line of code or a system lib., you
build up a new artifact
More & more full stack & immutable
Is the PaaS a silver
bullet?
@adrienblind
 PaaS offers can offload several
topics
 …But it requires you to stick to their
paradigms which may creates locks
& limitations
 … and may delays adoption of new
practices/fmk/…
What about the PaaS ?
@adrienblind
IaaSCapacity (VM, Storage, Netwk…)
PaaSApp. (code)
CaaSContainer
What about the CaaS
Down to the CaaS
@adrienblind
Docker fits microservice paradigms
‘’A universal, self-sufficient and standard artifact embedding an app module,
and its subsequent infrastructure configuration’’
 Docker provides both the artifact and the ecosystem to handle it!
Immutable
Portable
Lightweight
Versionned/taggedContinuously
delivered
Full stack
@adrienblind
App
From containers to apps
An application is made of several components
interacting each together
@adrienblind
Distributed application
Compute (service/task)
Storage (volume) Transport (network)
Topology
(compose, bundle,
deploy, stack)
 Docker shifted from container infra. to object-oriented app. topologies
CaaS platform
Clustering (swarm)
Image mgmt
(registry)
Hosting (node)
Provisioning (machine)
... relying on an CaaS platform 
The rise of the orchestration
@adrienblind
Docker 1.12 swarm mode
 Directly over Internet ?
 Swarm mode secures interactions between its nodes (TLS mutual auth, authz, & encryption)
 Overlay network trafic may be encrypted across nodes too (use switch --opt encrypted to use IPSEC)
 Built in the engine
 Decentralized
 More secured
 More resilient
@adrienblind
$ docker-machine create -d virtualbox m1
$ docker swarm init --advertise-addr [m1_ip]
$ docker-machine create -d virtualbox m2
$ eval $(docker-machine env m2)
$ docker swarm join --token [mytoken] [m1_ip]:2377 
--advertise-addr [m2_ip]
$ docker swarm join-token worker
To add a worker to this swarm, run the following command:
docker swarm join 
--token [TOKEN] [m1_ip]:2377
… (joined a third manager, plus a worker)
$ docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
1o46ikaidagi91w940h81byd1 w1 Ready Active
3bboy53bjyeqd9ad0tsegju51 m2 Ready Active Reachable
48yqo4607pfzkpct4jz9t1t9y m3 Ready Active Reachable
6fyvwd6cc4nguth29ycexaxat * m1 Ready Active Leader
Cluster setup example
@adrienblind
Docker service
Depicts the desired runtime behavior of a given
image : networking, resiliency, quotas...  shift to
state-machine paradigms
$ docker service create --name front -–network app 
–-replicas 3 -p 80:80/tcp myapi:latest
Attach the containers to a given network
Define the desired amount of instances for this service (named « tasks »)
Attach each instance to a transversal L4 loadbalancer instance, reachable on
each node of the cluster
@adrienblind
Example
$ docker network create --driver overlay myappnet
$ docker service create --name mybackenddb --env 
MYSQL_ROOT_PASSWORD=plop --env MYSQL_DATABASE=plop 
--network myappnet mysql:latest
$ docker service create --name myapi --env DB_HOST=mybackenddb 
--env DB_PASSWORD=passwd env DB_NAME=plop --network myappnet 
--publish 80:80 --replicas 3 myapi:latest
$ docker service ls
ID NAME REPLICAS IMAGE COMMAND
14utiklw5g6s mybackenddb 1/1 mysql:latest
c9vnvebcylg5 myapi 3/3 myapi:latest
$ docker service update --replicas 7 myapi
@adrienblind
Example
LB LB LB LB
Network
Dynamic LB on each
manager + workers
hosting containers of
the app
All containers
belonging to a same
app are connected
through an overlay
network
App dedicated overlay network
myapi
myapi myapi myapimybackenddb
@adrienblind
Docker stack (experimental)
docker-compose enabled to depicts and
trigger a complete app topology from the client
side
docker stack enables to feed the server-
side orchestrator with a complete app topology
Conclusion
@adrienblind
 It’s all about a devops story: part of the infra
aspects are integrated in the app’s side, the
rest is commoditized
 CaaS approach offers a good balance between
the value of the PaaS and autonomy of IaaS
Conclusion
@adrienblind
 What
 Formerly about abstracting low layers (ie.
infra) : close to PaaS approach
 Now more related to FaaS/event-driven
programming (like AWS Lambdas).
Consider app=data+transformation
 Why / Pros
 Cost saving: avoid running permanently a
server « waiting » for requests
 Industrialize your own platform, stop
reinventing the wheel, avoid pure cloud
vendors lock-in (ie w/ AWS lambdas for
instance)
Serverless / Event-driven prg.
OpenWhisk frameworkGoogle Trend results for
« serverless »
Client
API
Gateway
Search
Compute
Something
DB
Auth
Adrien Blind
DevOps Coach & Docker captain
@adrienblind
Thank you!

More Related Content

What's hot (20)

PDF
DockerCon 18 Cool Hacks: Cloud Native ML with Docker Enterprise Edition
Docker, Inc.
 
PPTX
Microservices with Docker
Venkata Naga Ravi
 
PDF
Fully Orchestrating Applications, Microservices and Enterprise Services with ...
Docker, Inc.
 
PPTX
CI CD using Docker and Jenkins
Sukant Kumar
 
PDF
DCSF 19 Docker Enterprise Platform and Architecture
Docker, Inc.
 
PPTX
DockerCon EU 2017 Recap
Patrick Chanezon
 
PDF
Enterprise Cloud Native is the New Normal
QAware GmbH
 
PPTX
DockerCon EU 2017 - General Session Day 2
Docker, Inc.
 
PDF
How to build an event-driven, polyglot serverless microservices framework on ...
Animesh Singh
 
PDF
Making Friendly Microservices by Michele Titlol
Docker, Inc.
 
PDF
DockerCon 18 Cool Hacks: solo.io
Docker, Inc.
 
PPTX
Overseeing Ship's Surveys and Surveyors Globally Using IoT and Docker by Jay ...
Docker, Inc.
 
PPTX
Docker Cap Gemini CloudXperience 2017 - la revolution des conteneurs logiciels
Patrick Chanezon
 
PDF
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Kai Wähner
 
PPTX
Docker 之道 Modernize Traditional Applications with 无为 Create New Cloud Native ...
Patrick Chanezon
 
PPTX
Docker and Devops
Docker, Inc.
 
PPTX
DockerCon 16 General Session Day 2
Docker, Inc.
 
PPTX
Principles of Kubernetes
James Kelly
 
PDF
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Docker, Inc.
 
PPTX
DockerCon EU 2017 - General Session Day 1
Docker, Inc.
 
DockerCon 18 Cool Hacks: Cloud Native ML with Docker Enterprise Edition
Docker, Inc.
 
Microservices with Docker
Venkata Naga Ravi
 
Fully Orchestrating Applications, Microservices and Enterprise Services with ...
Docker, Inc.
 
CI CD using Docker and Jenkins
Sukant Kumar
 
DCSF 19 Docker Enterprise Platform and Architecture
Docker, Inc.
 
DockerCon EU 2017 Recap
Patrick Chanezon
 
Enterprise Cloud Native is the New Normal
QAware GmbH
 
DockerCon EU 2017 - General Session Day 2
Docker, Inc.
 
How to build an event-driven, polyglot serverless microservices framework on ...
Animesh Singh
 
Making Friendly Microservices by Michele Titlol
Docker, Inc.
 
DockerCon 18 Cool Hacks: solo.io
Docker, Inc.
 
Overseeing Ship's Surveys and Surveyors Globally Using IoT and Docker by Jay ...
Docker, Inc.
 
Docker Cap Gemini CloudXperience 2017 - la revolution des conteneurs logiciels
Patrick Chanezon
 
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Kai Wähner
 
Docker 之道 Modernize Traditional Applications with 无为 Create New Cloud Native ...
Patrick Chanezon
 
Docker and Devops
Docker, Inc.
 
DockerCon 16 General Session Day 2
Docker, Inc.
 
Principles of Kubernetes
James Kelly
 
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Docker, Inc.
 
DockerCon EU 2017 - General Session Day 1
Docker, Inc.
 

Viewers also liked (20)

PDF
'Dockerizing' within enterprises
Harish Jayakumar
 
PPTX
Docker networking basics & coupling with Software Defined Networks
Adrien Blind
 
PPTX
DevOps, NoOps, everything-as-code, commoditisation… Quel futur pour les ops ?
Adrien Blind
 
PDF
Clustering Docker with Docker Swarm on openSUSE
Saputro Aryulianto
 
PDF
Microservices for Enterprises - Consistent Network & Security services for Co...
Dhananjay Sampath
 
PPT
Ленвендо.Построение системного ландшафта высоконагруженного проекта
Lenvendo
 
PDF
Building Distributed System with Celery on Docker Swarm - PyCon JP 2016
Wei Lin
 
PDF
Java Puzzlers NG S02: Down the Rabbit Hole as presented at DevNexus 2017
Baruch Sadogursky
 
PDF
Beyond PaaS v.s IaaS: How to Manage Both
RightScale
 
PDF
State of the Cloud DevOps Trends
RightScale
 
PPTX
Containers orchestrators: Docker vs. Kubernetes
Dmitry Lazarenko
 
PPTX
Effective Management of Docker Containers
Jason Bloomberg
 
PDF
DrGanesh-Jan-17-Resume-V1.0
Dr Ganesh Iyer
 
PDF
Docker and Azure
Alessandro Melchiori
 
PPTX
Introduction to docker swarm
Walid Ashraf
 
PDF
IBM Containers- Bluemix
Virginia Fernandez
 
PDF
Drupal workshop ist 2014
Ricardo Amaro
 
PPTX
How To Train Your APIs
Ashley Roach
 
PPTX
Building a REST API Microservice for the DevNet API Scavenger Hunt
Ashley Roach
 
PDF
Microservice architecture
Slim Ouertani
 
'Dockerizing' within enterprises
Harish Jayakumar
 
Docker networking basics & coupling with Software Defined Networks
Adrien Blind
 
DevOps, NoOps, everything-as-code, commoditisation… Quel futur pour les ops ?
Adrien Blind
 
Clustering Docker with Docker Swarm on openSUSE
Saputro Aryulianto
 
Microservices for Enterprises - Consistent Network & Security services for Co...
Dhananjay Sampath
 
Ленвендо.Построение системного ландшафта высоконагруженного проекта
Lenvendo
 
Building Distributed System with Celery on Docker Swarm - PyCon JP 2016
Wei Lin
 
Java Puzzlers NG S02: Down the Rabbit Hole as presented at DevNexus 2017
Baruch Sadogursky
 
Beyond PaaS v.s IaaS: How to Manage Both
RightScale
 
State of the Cloud DevOps Trends
RightScale
 
Containers orchestrators: Docker vs. Kubernetes
Dmitry Lazarenko
 
Effective Management of Docker Containers
Jason Bloomberg
 
DrGanesh-Jan-17-Resume-V1.0
Dr Ganesh Iyer
 
Docker and Azure
Alessandro Melchiori
 
Introduction to docker swarm
Walid Ashraf
 
IBM Containers- Bluemix
Virginia Fernandez
 
Drupal workshop ist 2014
Ricardo Amaro
 
How To Train Your APIs
Ashley Roach
 
Building a REST API Microservice for the DevNet API Scavenger Hunt
Ashley Roach
 
Microservice architecture
Slim Ouertani
 
Ad

Similar to Unleash software architecture leveraging on docker (20)

PPTX
DockerCon EU 2015: The Missing Piece: when Docker networking unleashing soft ...
Docker, Inc.
 
PPTX
DockerCon - The missing piece : when Docker networking unleashes software arc...
Laurent Grangeau
 
PDF
Higher order infrastructure: from Docker basics to cluster management - Nicol...
Codemotion
 
PDF
Cloud-native .NET Microservices mit Kubernetes
QAware GmbH
 
PDF
Cloud party 2014 - Deploy your infrastructure with Saltstack - Salt Cloud wit...
Corley S.r.l.
 
PPTX
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Patrick Chanezon
 
PPTX
Weave User Group Talk - DockerCon 2017 Recap
Patrick Chanezon
 
PDF
Getting Started with MariaDB with Docker
MariaDB plc
 
PDF
The Crazy Service Mesh Ecosystem
All Things Open
 
PDF
All things open 2019 crazy-sm-ecosystem
Lin Sun
 
PPTX
An introduction to Serverless
Adrien Blind
 
PPTX
Docker In Brief
Ritu Kamthan
 
PDF
Magnolia CMS on Jelastic
Edgar Vonk
 
PDF
Running Magnolia on Jelastic Cloud Hosting
Magnolia
 
PDF
Magnolia CMS - on Jelastic
Info.nl
 
PPTX
Docker-Containerizing-Your-Applications(PPT-23).pptx
surajkumartpoint
 
PPTX
Docker Container As A Service - March 2016
Patrick Chanezon
 
PPTX
Containers as a Service with Docker
Docker, Inc.
 
PDF
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
Ludovic Piot
 
PDF
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
Mario-Leander Reimer
 
DockerCon EU 2015: The Missing Piece: when Docker networking unleashing soft ...
Docker, Inc.
 
DockerCon - The missing piece : when Docker networking unleashes software arc...
Laurent Grangeau
 
Higher order infrastructure: from Docker basics to cluster management - Nicol...
Codemotion
 
Cloud-native .NET Microservices mit Kubernetes
QAware GmbH
 
Cloud party 2014 - Deploy your infrastructure with Saltstack - Salt Cloud wit...
Corley S.r.l.
 
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Patrick Chanezon
 
Weave User Group Talk - DockerCon 2017 Recap
Patrick Chanezon
 
Getting Started with MariaDB with Docker
MariaDB plc
 
The Crazy Service Mesh Ecosystem
All Things Open
 
All things open 2019 crazy-sm-ecosystem
Lin Sun
 
An introduction to Serverless
Adrien Blind
 
Docker In Brief
Ritu Kamthan
 
Magnolia CMS on Jelastic
Edgar Vonk
 
Running Magnolia on Jelastic Cloud Hosting
Magnolia
 
Magnolia CMS - on Jelastic
Info.nl
 
Docker-Containerizing-Your-Applications(PPT-23).pptx
surajkumartpoint
 
Docker Container As A Service - March 2016
Patrick Chanezon
 
Containers as a Service with Docker
Docker, Inc.
 
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
Ludovic Piot
 
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
Mario-Leander Reimer
 
Ad

More from Adrien Blind (12)

PPTX
Introduction à Crossplane (Talk Devoxx 2023)
Adrien Blind
 
PDF
Introdution to Dataops and AIOps (or MLOps)
Adrien Blind
 
PPTX
DataOps introduction : DataOps is not only DevOps applied to data!
Adrien Blind
 
PPTX
Skynet vs planet of apes
Adrien Blind
 
PPTX
DevOps à l'échelle: ce que l'on a fait, ce que l'on a appris chez Societe Gen...
Adrien Blind
 
PPTX
Petit déjeuner Octo - L'infra au service de ses projets
Adrien Blind
 
PPTX
Introduction to Unikernels at first Paris Unikernels meetup
Adrien Blind
 
PPTX
When Docker Engine 1.12 features unleashes software architecture
Adrien Blind
 
PPTX
Full stack automation - TIAD 2015
Adrien Blind
 
PPTX
Continous delivery at docker age
Adrien Blind
 
PPTX
Docker, Pierre angulaire du continuous delivery ?
Adrien Blind
 
PPTX
Identity & Access Management in the cloud
Adrien Blind
 
Introduction à Crossplane (Talk Devoxx 2023)
Adrien Blind
 
Introdution to Dataops and AIOps (or MLOps)
Adrien Blind
 
DataOps introduction : DataOps is not only DevOps applied to data!
Adrien Blind
 
Skynet vs planet of apes
Adrien Blind
 
DevOps à l'échelle: ce que l'on a fait, ce que l'on a appris chez Societe Gen...
Adrien Blind
 
Petit déjeuner Octo - L'infra au service de ses projets
Adrien Blind
 
Introduction to Unikernels at first Paris Unikernels meetup
Adrien Blind
 
When Docker Engine 1.12 features unleashes software architecture
Adrien Blind
 
Full stack automation - TIAD 2015
Adrien Blind
 
Continous delivery at docker age
Adrien Blind
 
Docker, Pierre angulaire du continuous delivery ?
Adrien Blind
 
Identity & Access Management in the cloud
Adrien Blind
 

Recently uploaded (20)

PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 

Unleash software architecture leveraging on docker

  • 1. Adrien Blind DevOps Coach & Docker captain @adrienblind Unleash software architecture leveraging on Docker
  • 3. @adrienblind Fine-grained, highly decoupled and atomic purpose centric services Designed for failure Multi-versioned Scalable Microservices characteristics Stateless Immutable Continuously delivered
  • 4. @adrienblind From Enterprise Services buses to full-mesh topologies ESB Service Service Service Service Service > ServiceService Service Service Service Interactions App App
  • 5. @adrienblind Security paradigms shifts (1/2) Your IT opens up • Externalization (housing, hosting) • Cloud (IaaS/PaaS/SaaS) Open up your IS • B2B, services exposition • Multi tenancy More & more breaches appears in your Great Wall of China!
  • 6. @adrienblind Security paradigms shifts (2/2) The necessary porosity of your IS requires to stick security closer to each application: sandbox your apps and expose protected interfaces! Network is part of application topology Security is an app topic, not just infra. concern Onboard security in feature teamSecDevOps
  • 7. @adrienblind  Apps designed for failure & scalability  Data to be externalized  Dumber infrastructure Resilience & scalability: apps problem now!  Structured: MongoDB, Hadoop, Cassandra, Elastic Search...  Binaries: object storage with Ceph, OpenStack Swift...  Helpful patterns: stateless, multi-versioning, loose coupling...  Infrastructure rationalization  Low-cost, poor-SLA commodity Vertical > Horizontal
  • 8. @adrienblind Merge app & infra conf. lifecycles System conf v.5.79 Middleware v.69.3 App code v1.2.3  Product version = app version + infra version  Whenever you change a single line of code or a system lib., you build up a new artifact More & more full stack & immutable
  • 9. Is the PaaS a silver bullet?
  • 10. @adrienblind  PaaS offers can offload several topics  …But it requires you to stick to their paradigms which may creates locks & limitations  … and may delays adoption of new practices/fmk/… What about the PaaS ?
  • 11. @adrienblind IaaSCapacity (VM, Storage, Netwk…) PaaSApp. (code) CaaSContainer What about the CaaS
  • 12. Down to the CaaS
  • 13. @adrienblind Docker fits microservice paradigms ‘’A universal, self-sufficient and standard artifact embedding an app module, and its subsequent infrastructure configuration’’  Docker provides both the artifact and the ecosystem to handle it! Immutable Portable Lightweight Versionned/taggedContinuously delivered Full stack
  • 14. @adrienblind App From containers to apps An application is made of several components interacting each together
  • 15. @adrienblind Distributed application Compute (service/task) Storage (volume) Transport (network) Topology (compose, bundle, deploy, stack)  Docker shifted from container infra. to object-oriented app. topologies CaaS platform Clustering (swarm) Image mgmt (registry) Hosting (node) Provisioning (machine) ... relying on an CaaS platform  The rise of the orchestration
  • 16. @adrienblind Docker 1.12 swarm mode  Directly over Internet ?  Swarm mode secures interactions between its nodes (TLS mutual auth, authz, & encryption)  Overlay network trafic may be encrypted across nodes too (use switch --opt encrypted to use IPSEC)  Built in the engine  Decentralized  More secured  More resilient
  • 17. @adrienblind $ docker-machine create -d virtualbox m1 $ docker swarm init --advertise-addr [m1_ip] $ docker-machine create -d virtualbox m2 $ eval $(docker-machine env m2) $ docker swarm join --token [mytoken] [m1_ip]:2377 --advertise-addr [m2_ip] $ docker swarm join-token worker To add a worker to this swarm, run the following command: docker swarm join --token [TOKEN] [m1_ip]:2377 … (joined a third manager, plus a worker) $ docker node ls ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS 1o46ikaidagi91w940h81byd1 w1 Ready Active 3bboy53bjyeqd9ad0tsegju51 m2 Ready Active Reachable 48yqo4607pfzkpct4jz9t1t9y m3 Ready Active Reachable 6fyvwd6cc4nguth29ycexaxat * m1 Ready Active Leader Cluster setup example
  • 18. @adrienblind Docker service Depicts the desired runtime behavior of a given image : networking, resiliency, quotas...  shift to state-machine paradigms $ docker service create --name front -–network app –-replicas 3 -p 80:80/tcp myapi:latest Attach the containers to a given network Define the desired amount of instances for this service (named « tasks ») Attach each instance to a transversal L4 loadbalancer instance, reachable on each node of the cluster
  • 19. @adrienblind Example $ docker network create --driver overlay myappnet $ docker service create --name mybackenddb --env MYSQL_ROOT_PASSWORD=plop --env MYSQL_DATABASE=plop --network myappnet mysql:latest $ docker service create --name myapi --env DB_HOST=mybackenddb --env DB_PASSWORD=passwd env DB_NAME=plop --network myappnet --publish 80:80 --replicas 3 myapi:latest $ docker service ls ID NAME REPLICAS IMAGE COMMAND 14utiklw5g6s mybackenddb 1/1 mysql:latest c9vnvebcylg5 myapi 3/3 myapi:latest $ docker service update --replicas 7 myapi
  • 20. @adrienblind Example LB LB LB LB Network Dynamic LB on each manager + workers hosting containers of the app All containers belonging to a same app are connected through an overlay network App dedicated overlay network myapi myapi myapi myapimybackenddb
  • 21. @adrienblind Docker stack (experimental) docker-compose enabled to depicts and trigger a complete app topology from the client side docker stack enables to feed the server- side orchestrator with a complete app topology
  • 23. @adrienblind  It’s all about a devops story: part of the infra aspects are integrated in the app’s side, the rest is commoditized  CaaS approach offers a good balance between the value of the PaaS and autonomy of IaaS Conclusion
  • 24. @adrienblind  What  Formerly about abstracting low layers (ie. infra) : close to PaaS approach  Now more related to FaaS/event-driven programming (like AWS Lambdas). Consider app=data+transformation  Why / Pros  Cost saving: avoid running permanently a server « waiting » for requests  Industrialize your own platform, stop reinventing the wheel, avoid pure cloud vendors lock-in (ie w/ AWS lambdas for instance) Serverless / Event-driven prg. OpenWhisk frameworkGoogle Trend results for « serverless » Client API Gateway Search Compute Something DB Auth
  • 25. Adrien Blind DevOps Coach & Docker captain @adrienblind Thank you!