Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

30
Build, Ship and Run Any App, Anywhere

Transcript of Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Page 1: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Build, Ship and Run

Any App, Anywhere

Page 2: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Agenda

• Introduction• Why Docker?• Containers vs VM’s• Use Case• Demo

2

Page 3: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Brian [email protected] / @idomyowntricks

> Swisscom Cloud Architect

> Background in Containers, Cloud, & Engineering

> Docker Captain

About me

Page 4: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Agenda

• Introduction• Why Docker?• Containers vs VM’s• Use Case• Demo

4

Page 5: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Monitoring & Docker Swarm Overview

Did someone say Docker?

Page 6: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

6

The application landscape is changing

Loosely Coupled Services

Many Small Servers or devices

~2000 Today

Monolithic

Big Servers

Slow changing

Rapidly updated

Page 7: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Development VM

QA Server

Public Cloud

Disaster Recovery

Contributor’s Laptop

Production Servers

Production Cluster

Data Center

Containers are the catalyst

Static Website

Web Front End

Background Workers

User DB

Analytics DB

QueueAPI Endpoint

Page 8: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

8

Docker delivers innovation, speed and savings

+ +Agility Portability Control

State of App development Survey: Q1 2016, Cornell University case study

13X More software releases

62%Report reduction in MTTR

10X Cost reduction in maintaining

existing applications

Eliminate“works on my machine”

issues

41%Move workloads across

private/public clouds

65% Reduction in developer

onboarding time

Page 9: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition
Page 10: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition
Page 11: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Containers vs VM’s

Page 12: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

ContainersVM’s

Page 13: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Long vs Short Lived Apps/ContainersLong Lived Short Lived

Page 14: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

VM’s

VM’s

Page 15: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Containers

Page 16: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Reduce Costs & Streamline Operations

Containers and VMs together:• Optimize: Added flexibility in using

infrastructure resources

• Consolidation: Greater workload density across existing servers.

• Reduce Costs: Lower OS and VM licensing CapEx and reduce OpEx costs to support and maintain smaller infrastructure

Before: One service and OS per VM

After: One container per service. Multiple containers running per VM

Virtualization

Bins/Libs

App

OS

Bins/Libs

App

OS

Bins/Libs

App

OS

Virtualization

Bins/Libs

App

OS

Virtualization

OS

Bins/Libs

App

Docker Engine

Bins/Libs

App

Bins/Libs

App

Bins/Libs

App

Page 17: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Docker & DevOps

Page 18: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition
Page 19: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

It Worked on my Dev Box

Page 20: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Container Separation

Oscar the Ops GuyWorries about what’s “Out-

side the Container”- Logging- Monitoring- Networking

All containers work the same way (Start, Stop, etc)

Dan the DeveloperWorries about what’s “Inside the Con-

tainer”- Code- Libraries- Package Manager- Data

All the servers look the same

Page 21: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

22Frictionless across environments

Dev Test / QA Staging Production

Same code in dev runs unchanged in every environmentContainer, network, storage portability

ServicesNetworksVolumes

Page 22: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Use Case

Page 23: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

23

VM VM VM

Page 24: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Swisscom Developer Portal Home for innovators and passionate developers

developer.swisscom.com

Page 25: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Let’s have a look: DEMO

Demo Time

Page 26: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition
Page 27: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

www.webwren.ch

Page 28: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Great Docker Resource – http://veggiemonk.github.io/awesome-docker/

My Docker Projects – https://github.com/vegasbrianc

Docker Resources

Page 29: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

• Workshops• Architecture• Training

More Docker!

Page 30: Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

Thank You