79

Alter Way's digitalks - Docker : des conteneurs pour tout faire ?

Embed Size (px)

Citation preview

Agenda

19 H 00 Accueil

19 H 30 Introduction

Alter Way en bref

Les enjeux de la conteneurisation à l’ère du cloud

Présentation de Docker

Docker pour quels usages aujourd’hui ?

Quelles perspectives pour les architectures de demain ?

20H30 Conclusion

20H35 Questions / Reponses

IntervenantsHervé LECLERC - CTO

[email protected]

twitter : @hleclerc

Stéphane VINCENT – Directeur des offres et de l’innovation

[email protected]

twitter : @ste_vincent

Introduction

Alter Way en bref

Alter Way en bref

Alter Way en bref

Alter Way en bref

Les enjeux de la conteneurisation à l’ère

du Cloud

IAAS / Virtualisation : une offre à maturité

IAAS / Virtualisation : une offre à maturité

• Des acteurs majeurs désormais clairement positionnés

Amazon, Google, IBM, Microsoft, …

• Des challengers par marché :

Géographiques, niche techniques / fonctionnelles

• Des fonctionnalités de base globalement similaires

• Une course à la conquete de marchés

Une guerre ouverte des prix sur le IAAS

• Loi de Bezos vs Loi de Moore

Enrichissement des fonctions de base (IAAS++, PAAS, ..)

Tendance actuelle :

alignement des offres techniques et commerciales

IAAS / Virtualisation : une offre à maturité

• Peu d’innovations récentes

hyperviseurs

IAAS

• Des besoins NON ou MAL adressés :

Hyper-concentration (nombre de services par machine physique)

portabilité / hybridation

Reversibilité

Performance (overhead liés aux hyperviseurs)

Rapidité de démarrage

• Le travail fait par Docker autour de la notion pourtant ancienne de

conteneurs vient bousculer cette situation stabilisée techniquement.

• Cette solution disruptive permet d’adresser certains manques actuels et

d’envisager des façons différentes de travailler, mais n’est pas sans

poser son lot de questionnements

Docker : un projet Open Source unique !

• Une histoire (très) récente, mais une adoption fulgurante :

Projet mis en Open Source en 2013

V1.0 sortie en juin 2014 (1.4 aujourd’hui)

Une adoption par les plus grands fournisseurs de Cloud

• Amazon, Google, IBM, Microsoft, ..

2 levées de fond en 2014 : 15 puis 40 M$

Un projet phare de GitHib

Docker : un projet OpenSource unique !

Présentation de docker

Hervé LECLERC

DIGITALKSALTER WAY

22/01/2015 @hleclerc

Containers for everything ?

VM CONTAINER

Quick reminder

Why so enthusiastic about this technology ?

IT

Evolution

6

1995 2015Application with a rich Client on PC

Well defined Stack - OS - Middleware - Applicatication

Monolythic Physical

Infrasctucture

Thin client Application on smartphone or tablet

Build by developpers with the best available products

running on any available environment (physical / virtual)

IT Evolution

What is a container ?

Running process in isolation

What is Docker ?

Docker implements a high-level API to provide lightweight containers that run processes in isolation

Containers for everything ?

COFFEE

NO!

VMs Containers

Container scope

Local Dev CI Environment

Production EnvironmentPreProduction Environment

Docker

For

The Good Side

100% DEVOPS

DEV

DEV : ISO Environments for all type of developers

MySQL 5.6.22

MySQL 5.5.41

PHP 5.6.4

PHP 5.5.20

Apache 2.2

Apache 2.4

Adminer

Kibana 3

Logstash Forwarder

ES 1.4

NGinx 1.7.9

NGinx 1.7.8

PHPDepend PHPCS

Git PHPMetrics

MySQL 5.6.22

PHP 5.6.4

Apache 2.4

ES 1.4

NGinx 1.7.9

Logstash Forwarder

Kibana 3

Adminer .

Git .

MySQL 5.6.22

PHP 5.6.4

Apache 2.4

Kibana 3

Adminer .

Git .

ES 1.4

NGinx 1.7.9

Logstash Forwarder

ES 1.4

NGinx 1.7.9

Logstash Forwarder

Kibana 3

Adminer .

Git .

MySQL 5.6.22

PHP 5.6.4

Apache 2.4

Priv

ate

Reg

istr

y

PC MA

C

Linu

x

=

=

==

=

=

DEMO LIVE !

(maybe)

A Typical Developer Stack

docker-cli

Dev PC

docker server

DEV : ISO Environments for all type of staging

MySQL 5.6.22

MySQL 5.5.41

PHP 5.6.4

PHP 5.5.20

Apache 2.2

Apache 2.4

Adminer

Kibana 3

Logstash Forwarder

ES 1.4

NGinx 1.7.9

NGinx 1.7.8

PHPDepend PHPCS

Git PHPMetrics

MySQL 5.6.22

PHP 5.6.4

Apache 2.4

ES 1.4

NGinx 1.7.9

Logstash Forwarder

Kibana 3

Adminer .

Git .

MySQL 5.6.22

PHP 5.6.4

Apache 2.4

ES 1.4

NGinx 1.7.9

Logstash Forwarder

ES 1.4

NGinx 1.7.9

Logstash Forwarder

MySQL 5.6.22

PHP 5.6.4

Apache 2.4

Priv

ate

Reg

istr

yLO

CA

L D

EV

CI

PRE

PRO

D

PHPDepend PHPCS PHPMetrics

= =

= =

DEV : Mixing middleware to test new application environment

MySQL 5.6.22

PHP 5.6.4

Apache 2.4

MySQL 5.6.22

PHP 5.5.20

Apache 2.4

MySQL 5.6.22

PHP 5.6.4

Apache 2.2

MySQL 5.5.41

PHP 5.6.4

Apache 2.4

MySQL 5.5.41

PHP 5.5.20

Apache 2.4

MySQL 5.6.22

PHP 5.5.20

Apache 2.2

MySQL 5.5.41

PHP 5.6.4

Apache 2.2

MySQL 5.5.41

PHP 5.5.20

Apache 2.2

Gatling Behat

Docker Inception

MAC

Container Linux Ubuntu 14.10

Application dans Container Linux Debian 7

Boot2Docker

OPS

INFRASTRUCTURE AS

CODE

docker pull

docker commit

docker push

docker build

docker history

docker diff

I wanna be a dev !

OPS : Continous System Integration

Debian WheezyDebian Squeeze

Ubuntu 14.04 Ubuntu 14.10

Architecture : Microservices

Stop Monolithic Platform - Use Micro Services

The Dark Side

Security

root by default

Layers

Conta iner Trust

Container management

TRUST

IMAGE

Right Management on Container

AUFS IS

NOT AN UPSTREAM LINUX

KERNEL MODULE

Overall Weight of Docker Server

•Images

•Dead Containers

•Intermediate Containers

•Running Containers

•Broken Images

•Data Containers

The Future …

Orchestration

Mesos Marathon

A cluster-wide init and

control system for services

in cgroups

or Docker containers

KUBERNETES

Fleet

50

Consul RedHat Atomic

Panamax

Mais encore…

ClusterHQ Flocker

Monitoring

52

Monitoring / Logging

53

MACHINE

SWARM

COMPOSE

Security

Signature

Authorization

CLOUD Portability - no lock IN

Docker Linux / Windows : Same client - Container techo ≠

Conclusions

Le futur est en marche

• Il est temps de révolutionner le poste de travail de vos

développeurs : profitez de la souplesse de Docker !

• Modernisez dès maintenant votre PIC et vos pratiques

DevOps : profitez de la puissance de Docker !

• Préparez vous à révolutionner la façon dont vous

concevez vos applications : pensez micro-services et

offrez Docker à vos architectures !

Faites comme nous !• Nouvelle PIC et postes de travail entièrement basés sur docker

opérationnels depuis 9 mois

• De nombreux projets en maturation … (infra as code inside ...)

Accompagnement

• Faites vous accompagner par un partenaire Docker

certifié pour bénéficier des bonnes pratiques et du

support à tous les stades de votre projet :

Formation (* à venir sur T1)

Etude d’opportunité

Réalisation de POC

Conseil en architecture

Coaching d’équipe

Réalisation de projets

Maintenance, Support

Hébergement

Infogérance

• ... comme le font déjà certains de nos clients !!

Questions / Réponses