Build, Ship and Run Any App, Anywhere
Build, Ship and Run
Any App, Anywhere
Agenda
• Introduction• Why Docker?• Containers vs VM’s• Use Case• Demo
2
Brian [email protected] / @idomyowntricks
> Swisscom Cloud Architect
> Background in Containers, Cloud, & Engineering
> Docker Captain
About me
Agenda
• Introduction• Why Docker?• Containers vs VM’s• Use Case• Demo
4
Monitoring & Docker Swarm Overview
Did someone say Docker?
6
The application landscape is changing
Loosely Coupled Services
Many Small Servers or devices
~2000 Today
Monolithic
Big Servers
Slow changing
Rapidly updated
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
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
Containers vs VM’s
ContainersVM’s
Long vs Short Lived Apps/ContainersLong Lived Short Lived
VM’s
VM’s
Containers
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
Docker & DevOps
It Worked on my Dev Box
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
22Frictionless across environments
Dev Test / QA Staging Production
Same code in dev runs unchanged in every environmentContainer, network, storage portability
ServicesNetworksVolumes
Use Case
23
VM VM VM
Swisscom Developer Portal Home for innovators and passionate developers
developer.swisscom.com
Let’s have a look: DEMO
Demo Time
www.webwren.ch
Great Docker Resource – http://veggiemonk.github.io/awesome-docker/
My Docker Projects – https://github.com/vegasbrianc
Docker Resources
• Workshops• Architecture• Training
More Docker!
Thank You