Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
www.usievents.com #USI2014
Docker : Redistributing DevOps cards,
on the way to PaaS
16th june, 2014
Arnaud MAZIN
DevOps consultant
Octo Technology
@ArnaudMazin
Adrien BLIND
DevOps coach
@adrienblind
www.usievents.com #USI2014
www.usievents.com #USI2014
www.usievents.com #USI2014
#1 What is Docker?
#2 Opportunities leveraged by Docker
#3 Take-away
www.usievents.com #USI2014
#1 What is Docker?
#2 Opportunities leveraged by Docker
#3 Take-away
www.usievents.com #USI2014
« A technology enabling to standardize
packaging and deployment operations »
www.usievents.com #USI2014
#1 What is Docker ?
Docker key properties
PO DI LI SORTABLE SPOSABLE VE CIAL
www.usievents.com #USI2014
#1 What is Docker ?
PO DI LI SORTABLE SPOSABLE VE CIAL
www.usievents.com #USI2014
IsolationVirtualisation
PORTABLEDILISO
VM VMVM
Hypervisor
Hardware
App.
MDW
App.
MDW
App.
MDW
Kernel Kernel Kernel
OS
base
OS
base
OS
base
Kernel
Hardware or VM
Container
App.
OS
base
MDW
Container
App.
OS
base
MDW
Container
App.
MDW
OS
base
www.usievents.com #USI2014
PORTABLEDILISO
Limited adherence with the subsequent OS
Only a recent Linux kernel is required
Docker lightweight agent to be installed
Few parametrization required
DB_IP=1.2.3.4
DB_LOGIN=dblogin
20Kg
Max
www.usievents.com #USI2014
#1 What is Docker ?
PO DI LI SORTABLE SPOSABLE VE CIAL
www.usievents.com #USI2014
Rebuild vs Upgrade
PODISPOSABLELISO
Reduce building and deployment costs
www.usievents.com #USI2014
PODISPOSABLELISO
FROM ubuntu:latest
RUN apt-get install -y memcached
EXPOSE 11211
CMD ["/usr/bin/memcached"]
USER daemon
Cattle vs Pet
www.usievents.com #USI2014
Using applicative storage services
Amazon S3, OpenStack Swift
MongoDB, Hadoop, Cassandra, Elastic
Search, Amazon RDS...
By default, you can leverage on traditional
system
Containers dedicated to data
Mounting points on the host
Extract data from the container
PODISPOSABLELISO
www.usievents.com #USI2014
Two major trends
Frequency of application deployments
Commoditization and consumerization of the
infrastructure (Low-cost/SLA)
High availability and scalability to be handled by the
application better than the infrastructure
PODISPOSABLELISO
Impacts on application architecture
www.usievents.com #USI2014
#1 What is Docker ?
PO DI LI SORTABLE SPOSABLE VE CIAL
www.usievents.com #USI2014
Versionned and incremental images
File system
Configuration parameters (ports, processes...)
« Git style »
Diffs
Version trees
Version labelling
PODILIVESO
www.usievents.com #USI2014
PODILIVESO
www.usievents.com #USI2014
#1 What is Docker ?
PO DI LI SORTABLE SPOSABLE VE CIAL
www.usievents.com #USI2014
Registries
PODILISOCIAL
Docker Hub
Console Registry
Collaboration
tools
Automated
build service
WebHooks
DockerHub
API
Community tools
Public registries
Vote for valuable images
Trusted images
« Official » images
Continuous build tooling
Enterprise, private registries
www.usievents.com #USI2014
#1 What is Docker ?
Docker technology
Copy on Write
storage
• AUFS
• Device Mapper
• Btrfs
Resources
isolation
• LXC
• cGroups,
namespaces
• IpTables
DockerEngine API
Docker Engine
Major actorsDocker Hub
www.usievents.com #USI2014
#1 What is Docker?
#2 Opportunities leveraged by Docker
#3 Take-away
www.usievents.com #USI2014
#1 What is Docker?
#2 Opportunities leveraged by Docker
#2.1 Docker invented the CaaS
#2.2 Docker eases PaaS adoption
#3 Take-away
www.usievents.com #USI2014
#2.1 Docker invented the CaaS
IaaSCapacity (VM, Stockage…)
PaaSApplication (code)
SaaSService
www.usievents.com #USI2014
#2.1 Docker invented the CaaS
IaaSCapacity (VM, Stockage…)
PaaSAppli. (code)
SaaSService
CaaSApplicative containers
www.usievents.com #USI2014
#2.1 Docker invented the CaaS
Apps team
In the container
Ignore where the
container run (dev
computer, prod…)
Knows how to build the
container and operate
applications
“You build it, you run it!”
Infra team
Out of the container
Ignore how the container
images are built
Knows how to deal with
huge amount of containers
www.usievents.com #USI2014
Deploy
#2.1 Docker invented the CaaS [Apps Side]
Continuous integration of Apps
« Build once,
run everywhere »
Public registry Enterprise registry
Dev
SCM Soft. factory
TEST Container(s)
UAT Container(s)
PROD Container(s)
Test
www.usievents.com #USI2014
Internal or external offer from the enteprise
Whished properties
Deal with IaaS topics (multi-host, multi-tenancy…)
Expose an API enabling to manage containers
Expose a transversal services API (load balancers, DNS,
service directories such as ZooKeeper…)
Integrate support functions (Manage accounting, billing...)
#2.1 Docker invented the CaaS [Ops Side]
Infrastructure offers an on-demand container service
www.usievents.com #USI2014
« Containerized »
products
From the community
registry to a real
marketplace ?
#2.1 Docker invented the CaaS
Emergence of a virtual appliance offer
(Source: docker.io)
www.usievents.com #USI2014
#1 What is Docker?
#2 Opportunities leveraged by Docker
#2.1 Docker invented the CaaS
#2.2 Docker eases PaaS adoption
#3 Take-away
www.usievents.com #USI2014
#2.2 Docker eases PaaS adoption
Source code is the « real » portable content
Git PaaS
Pilote &
push
code
Docker may contribute off the hood
www.usievents.com #USI2014
#2.2 Docker eases PaaS adoption
Several new initiatives leverage on Docker
Flynn, Deis, OpenShift
Objective : propose a PaaS OpenSource solution
By proposing an Heroku style interface (git push)
By implementing their own Docker CaaS
Technical services
Docker images ready to install «buildpacks»
www.usievents.com #USI2014
#1 What is Docker?
#2 Opportunities leveraged by Docker
#3 Take-away
www.usievents.com #USI2014
#3 Take-away
Combine both PaaS & CaaS approaches
P
a
a
S
Code
C
a
a
S
Use both models to address all cases
Image
www.usievents.com #USI2014
#3 Take-away
Cloud DevOps
CaaS
PaaS
Continuous
Delivery
Architecture
Organization
Time to
market
Qualité €
Opportunities
www.usievents.com #USI2014
Web giants already
started to move on
Create you own
Docker sandbox
Contribute to the
community
#3 Take-away
The product gets mature, use it!

More Related Content

Docker: Redistributing DevOps cards, on the way to PaaS