Docker in a big company

Post on 07-Jul-2015

6.464 views 2 download

description

Hey curious friend, let's play a game. How can we bring together two different companies, an established enterprise with traditional dev and ops having cultural differences when working together with a DevOps champion startup. In the middle exists a number of real use cases on how we are bringing DevOps culture with Docker to Atos Worldline. In my talk I will discuss the first use cases for Docker at Atos Worldline, where we are today, learnings and benefits until now, our future technology stack and how Docker is changing our human stack a.k.a. how we communicate and work together.

Transcript of Docker in a big company

Docker in a big company

1

2

• Damien DUPORTAL

• DevOps Engineer @ Worldline

• French living in Belgium (French Fries are actually Belgian)

• Former Teacher in engineering schools (EPSI, ENSG)

• Rock climber

/me

3

• Twitter : @DamienDuportal

• Mail : damien.duportal@gmail.com

• Github : github.com/dduportal

• Blog (Work In Progress) : dduportal.github.io

/me

4

• 7 200 people around the World (17 countries)

• I.T. leader in e-payment & transactional activities

• European market : public and industry customers

• 1,1 billion € of turnover

• Part of the Atos group since 2004

Worldline, an Atos company

• Why DevOps ?

• The path to Docker

• Problem ? Solutions !

• The future

• One more thing…

Docker in a big company

What’s the menu today ?

5

6

Why Devops ?

Why DevOps ?This is my dev. laptop :

7

Why DevOps ?This is my production :

8

9

Why Devops ?

Separation of duties…

10

Why Devops ?

11

Why Devops ?… leads to silos

(cc. Michael Ducy from Opscode)

Why Devops ?Kind of classy silos !

12 (cc. Michael Ducy from Opscode)

13

How to :

• Reduce TTM of a software part (ship ! Now !) ?

• Align IT offer to business needs ?

• Be more efficient against the silos ?

Why Devops ?

Why Devops ?

Bottom-up

Top-Down

15

Why Devops ?So we have to « goat »

(cc. Michael Ducy from Opscode)

The path to Docker

17

Use case :

• Linux : How to run « ls –l » ?

• Our tools : How to validate a « managed service » ?

• Network and clusters :

How to validate when my app scales ?

The path to Docker

• Linux on Windows 7 : VirtualBox !

• Manage and share VMs : Vagrant !

• Provision your VMs : Shell or Chef !

The path to Docker

Remember ?

The path to Docker

With that stack :

The path to Docker

Another problem : the learning curve

The path to Docker

So why not Docker ?

• It’s fast (start & cache)

• It’s reproducible

• It’s easy to launch bunch of stuff

The path to Docker

Problems ? Solutions !

How to run a Docker daemon on Windows ?

• Stayin’ with Virtualbox

• The lightweight VM as possible

• Ready for dev

Problems ? Solutions !

Boot2docker :

• 30 Mb

• Docker up-to-date and ready

• VirtualBox ready

Problems ? Solutions !

How to reuse already made things ?

• Maintain already known workflow

• Easily share folders from Windows

• Limit configuration effort (proxy, certificates,

persistence)

Problems ? Solutions !

Vagrant + dduportal/boot2docker :

• Vbox shared folder

• Provisioning

• « vagrant-proxyconf » plugin

Problems ? Solutions !

How to provision the stack ?

• Dev. don’t care

• Dev. use Maven : describe

• Dev. want ops stuff and their stuff

Problems ? Solutions !

Fig

• YAML text-based : shareable

• Hierarchy : intentional description

• Image or build your services

Problems ? Solutions !

You said « run anywhere » ?

• Use of private IaaS (thru vagrant plugin)

• Env. differences (local / remote)

• Fig isn’t full-statically compiled (no b2d,

no busybox)

Problems ? Solutions !

dduportal/fig Docker Image

• Debian-based

• Embeds a working fig

• Needs to share Docker socket

• Won’t be needed when ‘docker groups’

Problems ? Solutions !

We got a blueprint !

Problems ? Solutions !

Vagrant

dduportal/fig

My App Stack

VirtualBox Private Sandbox IaaS

docker

Boot2docker VM Boot2docker VM Blueprint

Problems ? Solutions !

The future

Near future :

• Private registry + private hub

• Share workstation inside Docker images

• Docker client on Windows ! You guys are awesome !

• Packer-based build for base images (reuse)

• Teach Docker to Dev and Op

The future

The future

A lot of ???

Multi Host ?

Networking ?

Monitoring ?

Migration ?

Orchestration

Provisioning

Testing ?

The futureJust kidding

PRODUCTION ?

One more thing

Sup’ Steve

The « Human stack »

Solomon Hykes – SF DockerCon 2014 :

« The real value of Docker is not technology,

it’s getting people to agree on something»

The « Human stack »

Docker is the « bottom-up » for devops.

I learned 2 things with that tool :

• It helps people communicate better : we can work and

share humanly

• It creates a learning context : people can see the

value of their jobs

The « Human stack »

Docker makes technology

« human centric »

It’s true DevOps

@people around Docker :

you’re awesome !

Thank You.

44