+ All Categories
Home > Engineering > 11th Docker Switzerland User Group Meetup

11th Docker Switzerland User Group Meetup

Date post: 12-Jan-2017
Category:
Upload: philipp-grossenbacher
View: 97 times
Download: 3 times
Share this document with a friend
23
welcome to bern docker community 11th Docker Switzerland User Group Meetup
Transcript
Page 1: 11th Docker Switzerland User Group Meetup

welcome to bern

docker community

11th Docker Switzerland User Group Meetup

Page 2: 11th Docker Switzerland User Group Meetup

Wie die Mobiliar dank Docker

zum Schnellboothafen wurde.

How la Mobilière built a speedboat harbor

using Docker

Darius Ueltschi

Daniel Strohecker

Page 3: 11th Docker Switzerland User Group Meetup

Table of contents

1. Introduction

2. Project overview

3. Docker

4. Challenges

5. IT Operations

28.10.2016Build a speedboat harbor using Docker 3

Page 4: 11th Docker Switzerland User Group Meetup

La Mobilière – short overview

28.10.2016Build a speedboat harbor using Docker 5

https://www.mobiliar.ch

AppServers

#2400Applications

#190

Page 5: 11th Docker Switzerland User Group Meetup

Introducing smide

28.10.2016Build a speedboat harbor using Docker 6

Page 6: 11th Docker Switzerland User Group Meetup

Introducing smide

Aim of smide:

• e-bike sharing

• Fully managed e-bikes without permanent stations

• Offers an easy way of bridging the “last mile” gap in public transportation

=> Explore alternative solutions for mobility

28.10.2016Build a speedboat harbor using Docker 7

Page 7: 11th Docker Switzerland User Group Meetup

Speedboat – boon and bane

What is a speedboat for

• Leads out of the business potential of an idea or concept

• Doesn’t matter, if the speedboat turns into a submarine and never reaches

the surface

• Doing all this things, without disturbing the core business

28.10.2016Build a speedboat harbor using Docker 8

..to be

or

not to be….

Page 8: 11th Docker Switzerland User Group Meetup

Speedboat – boon and bane

Implementation

• Building a minimum viable product (MVP)

• Cost sensitive

• No constraints, no guidelines ... just functionality … only speed matters …

• Security??? WTH is security ...

28.10.2016Build a speedboat harbor using Docker 9

Page 9: 11th Docker Switzerland User Group Meetup

Results in an operations nightmare

• The MVP isn’t conform to any existing guidelines, standard operation platforms…

• Doesn’t fit to any strategy

• Can’t be or shouldn’t be run in the standard Mobiliar data center

Speedboat – boon and bane

28.10.2016Build a speedboat harbor using Docker 10

Page 10: 11th Docker Switzerland User Group Meetup

smide - involved stakeholders

28.10.2016Build a speedboat harbor using Docker 11

Mobiliar operation:

• Runs the containers

Business

development:

• Project owner

• Defines requirements

• Handles the partners

• Financial responsibility

External

development:

• Implements the requirements

Page 11: 11th Docker Switzerland User Group Meetup

smide - architecture overview

28.10.2016Build a speedboat harbor using Docker 12

Page 12: 11th Docker Switzerland User Group Meetup

..and now, to come to the point…

28.10.2016Build a speedboat harbor using Docker 13

Page 13: 11th Docker Switzerland User Group Meetup

Docker

• Contractors create Docker images which can be easily shipped to the Mobiliar

• An dedicated Docker registry helps separate the containers from the internal and the external companies

• The helping hand of Kubernetes deploys any necessary certificates, configurations and the deployment files

• NFS is used to persist data from the containers.

• Backup and restore are provided by Mobiliar internal tools

28.10.2016Build a speedboat harbor using Docker 14

Page 14: 11th Docker Switzerland User Group Meetup

Challenges

• We have decided not to use the Mobiliar CI / CD chain (Teamcity, AMW) in the public access cluster at the moment

A separate solution is a huge amount of work

• The customer ships images directly, instead of code. Configuration is delivered separately

Manual deployment

• Communication between business development, external partners and Mobiliar operations

Find a channel and use it!

• One speedboat is working and the next is coming => Multi tenant?

Security handled by Kubernetes with certificates

Network separation could work by using Calico instead of Flannel (or Canal)

But Docker?

28.10.2016Build a speedboat harbor using Docker 15

Page 15: 11th Docker Switzerland User Group Meetup

… under the hood

28.10.2016Build a speedboat harbor using Docker 16

Page 16: 11th Docker Switzerland User Group Meetup

Operations

• Die Mobiliar is using Kubernetes heavily for the whole agile build/deploy chain

• Separate Kubernetes cluster for

Development

Preproduction

Production

• Need of a Kubernetes Test Lab cluster, testing new versions (Kubernetes, Docker, Etcd, Flannel, etc.)

• Extra Kubernetes public cluster (speedboats) for

Preproduction

Production

28.10.2016Build a speedboat harbor using Docker 17

Page 17: 11th Docker Switzerland User Group Meetup

Operations - Monitoring

• With Prometheus and Grafana you can have an optimal Kubernetes single cluster monitoring system.

28.10.2016Build a speedboat harbor using Docker 18

Page 18: 11th Docker Switzerland User Group Meetup

Operations - Logging

• Logfiles can be analyzed using Splunk which is implemented in the Mobiliar. Labels can be helpful!

The external partners are using the Kubernetes way of obtaining them.

28.10.2016Build a speedboat harbor using Docker 19

Page 19: 11th Docker Switzerland User Group Meetup

Operations - Dashboard

28.10.2016Build a speedboat harbor using Docker 20

Page 20: 11th Docker Switzerland User Group Meetup

… and a final word …

Transform your IT operations from a tanker in to a container home!

28.10.2016Build a speedboat harbor using Docker 21

Page 21: 11th Docker Switzerland User Group Meetup

… were we end up

28.10.2016Build a speedboat harbor using Docker 22

Page 22: 11th Docker Switzerland User Group Meetup

Questions & comments

28.10.2016Build a speedboat harbor using Docker 23

Page 23: 11th Docker Switzerland User Group Meetup

28.10.2016Build a speedboat harbor using Docker 24

http://smide.ch/

https://www.mobiliar.ch


Recommended