a 5-min docker presentation to sncf & keolis (french)
DESCRIPTION
Support de presentation de Docker a la SNCFTRANSCRIPT
Le futur des applications distribuées
Presentation Docker de 5min, par Julien Barbier
~2000 2014
Longue durée de vie Développement et itérations rapides
Monolithiques et uniformes Multitude de langages et composants
Un seul type de serveur Multitude de types de serveurs
Les applications ont radicalement changées
Web statique
Frontend web
Base de données utilisateur
Queue
Base de donnée
analytique
Background workers
APIs
nginx 1.5 + modsecurity + openssl + bootstrap 2
postgresql + pgv8 + v8hadoop + hive + thrift + OpenJDK
Ruby + Rails + sass + Unicorn
Redis + redis-sentinel
Python 3.0 + celery + pyredis + libcurl + ffmpeg + libopencv + nodejs
+ phantomjs
Python 2.7 + Flask + pyredis + celery + psycopg + postgresql-client
Development VM
QA server
Public Cloud
Disaster recovery
Contributor’s laptop
Production Servers
2014: Le problème des applications distribuées
Mu
ltip
licit
y o
f St
acks
Mu
ltip
licit
y o
f h
ard
war
e
en
viro
nm
en
ts
Production Cluster
Customer Data Center
Do
service
s and
ap
ps in
teract
app
rop
riately?
Can
I migrate
sm
oo
thly an
d
qu
ickly?
Mu
ltip
licit
y o
f G
oo
ds
Mu
ltip
ilici
tyo
f m
eth
od
s fo
r tr
ansp
ort
ing
/sto
rin
g
Do
I wo
rry abo
ut
ho
w go
od
s inte
ract (e
.g. coffe
e b
ean
s n
ext to sp
ices)
Can
I transp
ort
qu
ickly and
smo
oth
ly(e
.g. from
bo
at to
train to
truck)
Le transport de marchandises avant 1960
Mu
ltip
licit
y o
f G
oo
ds
Mu
ltip
licit
y o
f m
eth
od
s fo
r tr
ansp
ort
ing
/sto
rin
g
Do
I wo
rry abo
ut
ho
w go
od
s interact
(e.g. co
ffee
be
ans
next to
spices)
Can
I transp
ort
qu
ickly and
sm
oo
thly
(e.g. from
bo
at to
train to
truck)
Solution = Conteneur de transport
…in between, can be loaded and
unloaded, stacked, transported
efficiently over long distances,
and transferred from one mode
of transport to another
A standard container that is
loaded with virtually any
goods, and stays sealed until
it reaches final delivery.
Conteneurs de transport intermodaux: impact
• 90% des marchandises sont transportées dans des conteneurs standards• Réduction des couts et du temps de chargement / déchargement• Réduction importante des pertes (vols et accidents)• Enorme réduction des coûts de transport (de >25% à <3% du prix des produits) Globalisation massive• 5000 bateaux délivrent 200 millions de conteneurs par an
Static website Web frontend User DB Queue Analytics DB
Development VMQA server Public Cloud
Contributor’s laptop
Docker est le conteneur intermodal standard des applications
Mu
ltip
licit
y o
f St
acks
Mu
ltip
licit
y o
f h
ard
war
e en
viro
nm
ents
Production ClusterCustomer Data Center
Do
service
s and
ap
ps in
teract ap
pro
priate
ly?
Can
I migrate
smo
oth
ly and
q
uickly
…that can be manipulated using
standard operations and run
consistently on virtually any hardware platform
An engine that enables any
payload to be encapsulated
as a lightweight, portable,
self-sufficient container…
Conteneurs Docker: impact
• Réduction des cycles de développement et de mise en production
• Semaines / mois -> jours / heures
• Réduction drastique des coûts (applications et serveurs)• Le développement des applications est plus rapide
• La mise en production des applications est plus rapide
• Les conteneurs Docker utilisent 2 à 30 fois moins de ressources que les machines virtuelles traditionnelles
• Plus de liberté• Les conteneurs Docker peuvent être migrés facilement d’un service
cloud à un autre -> plus de lock-in
• Plus de transparence• Docker est open-source
Ils utilisent Docker
E-Commerce Media
IT SaaS IaaS
Life Sciences
PaaS
…and thousands of others!
Vertical Search
En savoir plus
• Contact: Julien Barbier: [email protected] | Twitter: @julienbarbier42
• All Videos and Talks from DockerCon: http://bit.ly/1AnvHFz
• Demo of DockerHub: see Ben Golub keynote from DockerCon, http://bit.ly/1xHqUL8 demo starts at 29:00
• Sign up for a DockerHub account: https://hub.docker.com/
• Security & Isolation: see above, also blog.docker.io
• Use Cases: https://docker.com/resources/usecases/
• Docker project: www.docker.com/
• Follow Docker on Twitter: twitter.com/docker
• Take the Docker interactive tutorial: https://docker.com/tryit/
• Join Docker on IRC: botbot.me/freenode/docker/
• Go to the Docker repository on GitHub: github.com/docker/docker/
• Go to a meetup: https://www.docker.com/community/meetups/