lugano tech talks - why docker
TRANSCRIPT
Agenda• Introduction
• Why Docker
• Containers vs VM’s
• Use Cases
• Demo
Brian [email protected] / @idomyowntricks
● Swisscom Cloud Architect
● Background in Containers, Cloud, & Engineering
● Docker Captain
5
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
7
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
Long vs Short Lived Apps/Containers
Long Lived Short Lived
VM’s
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 application 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
Container Separation
Oscar the Ops GuyWorries about what’s
“Outside the Container”- Logging- Monitoring- Networking
All containers work the same way (Start, Stop, etc)
Dan the DeveloperWorries about what’s “Inside the
Container”- Code- Libraries- Package Manager- Data
All the servers look the same
It Worked on my Dev Box
22
Frictionless across environments
VM VM VM
VM VM VM
Swisscom Developer Portal Home for innovators and passionate developers
developer.swisscom.com
Let’s have a look:
DEMO
Future == Serverless
Database
Entry Point
Entry Point
Vote HandlingHTTP Request
Process Vote
Handle ResultHTTP Request
Serverless Voting App
My Website & Newsletter – BrianChristner.io
My Docker Projects – https://github.com/vegasbrianc
Great Docker Resource – http://veggiemonk.github.io/awesome-docker/
Docker Resources
More Docker!• Workshops
• Architecture
• Training
Questions about Docker?
THANK YOUBrian Christner@idomyowntricks