a 5-min docker presentation to sncf & keolis (french)

10

Click here to load reader

Upload: julien-barbier

Post on 02-Jul-2015

604 views

Category:

Engineering


4 download

DESCRIPTION

Support de presentation de Docker a la SNCF

TRANSCRIPT

Page 1: A 5-min Docker presentation to SNCF & Keolis (French)

Le futur des applications distribuées

Presentation Docker de 5min, par Julien Barbier

Page 2: A 5-min Docker presentation to SNCF & Keolis (French)

~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

Page 3: A 5-min Docker presentation to SNCF & Keolis (French)

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?

Page 4: A 5-min Docker presentation to SNCF & Keolis (French)

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

Page 5: A 5-min Docker presentation to SNCF & Keolis (French)

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.

Page 6: A 5-min Docker presentation to SNCF & Keolis (French)

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

Page 7: A 5-min Docker presentation to SNCF & Keolis (French)

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…

Page 8: A 5-min Docker presentation to SNCF & Keolis (French)

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

Page 9: A 5-min Docker presentation to SNCF & Keolis (French)

Ils utilisent Docker

E-Commerce Media

IT SaaS IaaS

Life Sciences

PaaS

…and thousands of others!

Vertical Search

Page 10: A 5-min Docker presentation to SNCF & Keolis (French)

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/