intro docker to loire atlantique

18
The Future of Distributed Applications By Julien Barbier, Sr Dir of Growth, Marketing and Community at Docker | [email protected] @julienbarbier42

Upload: julien-barbier

Post on 02-Jul-2015

395 views

Category:

Engineering


3 download

DESCRIPTION

Intro Docker to Loire Atlantique

TRANSCRIPT

Page 1: Intro Docker to Loire Atlantique

The Future of Distributed Applications

By Julien Barbier, Sr Dir of Growth, Marketing and Community at Docker | [email protected] @julienbarbier42

Page 2: Intro Docker to Loire Atlantique

~2000 2014

Long lived Development is iterative and constant

Monolithic and built on a single stack Built from loosely coupled components

Deployed to a single server Deployed to a multitude of servers

Apps Have Fundamentally Changed

Page 3: Intro Docker to Loire Atlantique

Static website

Web frontend

User DB

Queue Analytics DB

Background workers

API endpoint

nginx 1.5 + modsecurity + openssl + bootstrap 2

postgresql + pgv8 + v8

hadoop + 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

The Problem in 2014: Distributed Applications

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: Intro Docker to Loire Atlantique

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)

An Inspiration…and some really ancient history: Cargo Transport Pre-1960

Page 5: Intro Docker to Loire Atlantique

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: Intermodal Shipping Container Ecosystem

…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: Intro Docker to Loire Atlantique

Intermodal Shipping Container Ecosystem

• 90% of all cargo now shipped in a standard container• Order of magnitude reduction in cost and time to load and unload ships• Massive reduction in losses due to theft or damage• Huge reduction in freight cost as percent of final goods (from >25% to <3%)massive globalization• 5000 ships deliver 200M containers per year

Page 7: Intro Docker to Loire Atlantique

Static website Web frontend User DB Queue Analytics DB

Development VMQA server Public Cloud

Contributor’s laptop

Let’s create an ecosystem for distributed 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: Intro Docker to Loire Atlantique

The future of distributed apps: Five Easy Steps

Create lightweight container

Make containers standard, interoperable, easy to use

Create an ecosystem

Enable a multi-Docker app model

Create a platform for managing it all

Page 9: Intro Docker to Loire Atlantique

AppA

Lightweight container (vs. VMs)

Hypervisor (Type 2)

Host OS

Server

GuestOS

Bins/Libs

AppA’

GuestOS

Bins/Libs

AppB

GuestOS

Bins/Libs

Ap

p A

Host OS

Server

Bins/Libs

Ap

p A

Bins/Libs

Ap

p B

Ap

p B

Ap

p B

Ap

p B

’VM

Container

Containers are isolated,but share OS kernel and, where appropriate, bins/libraries

GuestOS

GuestOS

…result is significantly faster deployment, much less overhead, easier migration, faster restart

Page 10: Intro Docker to Loire Atlantique

A set of slides from IBM: Comparing Docker to VMs

11/20/2014 10

Page 11: Intro Docker to Loire Atlantique

Community

Page 12: Intro Docker to Loire Atlantique

Ecosystem

Official Repos & 14K+ Dockerized Apps

Community

680+ Contributors

130+ Meetup on Docker

50M Containers Downloads

16K Projects on GitHub

Support

Enterprise Support

Robust Documentation

Implementation, Integration, Training

Network of Partners

The Docker Platform

Docker EngineDocker Hub

Build, Ship, and Run

Partners

Content

Users

Official Repos & 50K Dockerized Apps

Page 13: Intro Docker to Loire Atlantique

Partner Ecosystem

Page 14: Intro Docker to Loire Atlantique

Who is using Docker (and talking about it)?

E-Commerce Media

IT SaaS IaaS

Life Sciences

PaaS

…and thousands of others!

Vertical Search

Page 15: Intro Docker to Loire Atlantique

Who is using Docker (and not yet talking)?

IntelligencePharma/Life ScienceMediaFinance

• Since releasing Docker 1.0 and commercial services in June, there has been a massive increase in usage and pilots by more traditional enterprises

• 200 new accounts added to pipeline in ~2 months

• Virtually every major large investment bank has a Docker related initiative underway

Page 16: Intro Docker to Loire Atlantique

Case Study: New Relic

At-A-Glance

• Application performance monitoring service

• ~90,000 customers

• Tracks 1+ trillion events / month

Challenges

• 50% more servers in 3 months

• Doubling developer count every year

• Increasing heterogeneity:

4 versions of Ruby

3 different JVMs

5 data stores…

Before Docker

• 7 monolithic apps

• Devs doing own deploys

• One-off custom deploy tools

• Everyone had access to BD secrets

• From dev-to-deploy: weeks

After Docker

• 30+ microservices

• Separation of build from deploy

• Single standardized deploy tool

• Improved security

• From dev-to-deploy: hours

Page 17: Intro Docker to Loire Atlantique

Docker Tour de France

• Dec 8th to Dec 22nd

• Paris, Lyon, Nice, Lille, Bordeaux

• Hackathon at Epitech

• VIP Breakfast w French tech companies and banks

• VIP advanced technical session

• More info: https://blog.docker.com/2014/11/docker-tour-de-france/

Page 18: Intro Docker to Loire Atlantique

Learn More

• Contact us: [email protected] | @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/