docker in production, die mobiliar

21
Docker in Production: „the journey goes on“ Yves Peter & Philipp Grossenbacher Middleware engineering, IT operations

Upload: philipp-grossenbacher

Post on 15-Apr-2017

596 views

Category:

Engineering


3 download

TRANSCRIPT

Page 1: Docker in Production, die Mobiliar

Docker in Production:

„the journey goes on“

Yves Peter & Philipp Grossenbacher

Middleware engineering, IT operations

Page 2: Docker in Production, die Mobiliar

Agenda

1. Die Mobiliar, an insurance company

Our current application stack

2. Project «PoC Agiler Release»

Our approach

Deployment pipeline

«Agile» stack

3. Challenges & lessons learned

4. Demo

5. Next steps

27.04.2016Docker in Production 2

Page 3: Docker in Production, die Mobiliar

Die Mobiliar

27.04.2016Docker in Production 3

Page 4: Docker in Production, die Mobiliar

27.04.2016Docker in Production 4

Page 5: Docker in Production, die Mobiliar

27.04.2016Docker in Production 5

1826 4913

Page 6: Docker in Production, die Mobiliar

27.04.2016Docker in Production

6

Arch

Dev

Ops

~450

Page 7: Docker in Production, die Mobiliar

Current Mobiliar Java App Stack (inhouse dev)

27.04.2016Docker in Production 7

AppServers

#2400

Applications

#190

Releases

2 per yearServer

Hypervisor

RHEL

JDK, JBoss EAP

Java App

Page 8: Docker in Production, die Mobiliar

Project «PoC Agiler Release»

27.04.2016Docker in Production 8

Page 9: Docker in Production, die Mobiliar

Project „PoC Agiler Release“

27.04.2016Docker in Production 9

K8S@Prd K8S@Dev

Docker in Prd

Kick-off

docker-registry@mobiDocker nodes

Deployment pipelineJBoss in Docker

2015 2016

DEZNOVOKTSEP FEBJAN APRMÄR JUNMAIAUG

Vision: Reduce time-to-market from idea to go live to one month.

Requirements: Organisational change & continuous delivery infrastructure

Delivery Team: 4x Dev, 4x Ops

Duration:

Page 10: Docker in Production, die Mobiliar

Project „PoC Agiler Release“

Approach

27.04.2016Docker in Production 10

AngularJS-

Frontend

DB2

ContractPersistence

-Service

ContractInfo-Service Traditional Services

Postgres

Keymapping-Service

Page 11: Docker in Production, die Mobiliar

Deployment Pipeline – traditional & agile

manu

al

Mode 1: RL-16.04, RL-16.10, …

Mode 2 (Agile):

manual

auto manu

al

Environment 1

manual . . .manual

On Demand

Umgebung

auto

On Demand

Umgebung

auto . . .

Dev Testing Production

Dev Testing Production

Environment 2

Docker in Production 27.04.2016 12

Page 12: Docker in Production, die Mobiliar

Deployment Pipeline

Version control Binary repository

Dev

1) push

2) detect change

3) push artefact 4) push image

5) trigger deployment

Docker in Production 27.04.2016 13

KubernetesContinuous integration

Docker registry

AMW

Page 13: Docker in Production, die Mobiliar

Team decision

27.04.2016Docker in Production 13

vs vs PaaS

Self Service

Docker/Tech delay

Predefined solution

Production ready

Docker integration

Perfect docker match

HA & Prd stability?

Page 14: Docker in Production, die Mobiliar

Our «agile» stack

27.04.2016Docker in Production 14

DC

DOCKER

SERVICES

CODE

KUBERNETESOps

Dev µServices

Page 15: Docker in Production, die Mobiliar

Challenges &lessons learned

27.04.2016Docker in Production 15

Page 16: Docker in Production, die Mobiliar

27.04.2016Präsentationstitel 16

green field

open heartvs

Page 17: Docker in Production, die Mobiliar

peripheral systems

Page 18: Docker in Production, die Mobiliar

27.04.2016Präsentationstitel 18

software quality

Page 19: Docker in Production, die Mobiliar

DemoBrand refresh with Deployment Pipeline

27.04.2016Docker in Production 19

Page 20: Docker in Production, die Mobiliar

Next steps

• Monitoring & Alerting

• AMW Templates in GIT

• Self service

• Evaluate community versions

27.04.2016Docker in Production 20

Page 21: Docker in Production, die Mobiliar

Questions?

27.04.2016Docker in Production 21