but what about docker?

17
But what about Docker? Containers and PaaS and VMs, oh my!

Upload: joshua-mckenty

Post on 24-May-2015

4.216 views

Category:

Technology


1 download

DESCRIPTION

A short-form briefing on containers, PaaS, and the harder problems of infrastructure and application orchestration.

TRANSCRIPT

Page 1: But What About Docker?

But what about Docker?Containers and PaaS and VMs, oh my!

Page 2: But What About Docker?

• CPU cycles• Disk I/O• Network access• Other physical resources (GPUs,

HBAs)

What’s a Run-Time Environment?

Page 3: But What About Docker?

• Isolation• Launch speed• Run-time performance

RTE Criteria

• Multi-server orchestration• HA characteristics• Update mechanisms

But also…

Page 4: But What About Docker?

Process Container Virtual Server Bare Metal

Applications

Services

An ecosystem of tools

Page 5: But What About Docker?

Containers (and Docker)

Page 6: But What About Docker?

• Containers started out at Sun in the 90s.

• They are an extension of traditional OS-level isolation primitives, including file-system ACLs, to control access to shared physical resources.

• They have matured with network namespaces and overlay filesystems

Some Background

Page 7: But What About Docker?

Docker: Making containers easy

• Great command line tools• Well-integrated overlay filesystems• Well-integrated network

management

Page 8: But What About Docker?

Pros:• Wickedly fast• Simple to

deploy• Abstracted

from the base OS

Cons:• No windows• No *nix• Doesn’t

address the hard problems (multi-server, multi-tier, in-place upgrades, or HA)

So… containers via Docker

Page 9: But What About Docker?

• UX matters.• UX matters… a LOT.

• Built-in emulator for learning.• Built-in hosted image repository.• Good json output.• Really damn easy install.

So why is it so popular!?

Page 10: But What About Docker?

Micro-OS for Fun and Profit

Page 11: But What About Docker?

• Iocane (Piston Cloud)• SmartOS (Joyent)• CoreOS (Alex Polvi)• OSv (Cloudius Systems)• Mirage (XenServer)

Micro-OS Ecosystem

Page 12: But What About Docker?

Containers and (Micro) OSs

Physical Server

Host OS

Container Hypervisor

App App

App

App

OS OS

Container

App

Page 13: But What About Docker?

PaaS

Page 14: But What About Docker?

• It’s not the method of isolation• It’s not the operating system

What isn’t PaaS?

• Automation of app placement & scaling• Orchestration of services and infrastructure

What is PaaS?

Page 15: But What About Docker?

Turning this… …into this:

Understanding PaaS

.war .jar

dependencies

libraries

service manifest

App App App

LB

DB

Multi-server run time environment(s)

.tar.gz

Page 16: But What About Docker?

Takeaways

Page 17: But What About Docker?

• Everything in cloud competes with everything else, at a 40% overlap.

• Most PaaS use some kind of process isolation (containers or whatever) internally.

• The process isolation isn’t the hard part.

• UX matters.

Takeaways