who's who in container land

39
© 2015 Cloud Technology Partners, Inc. / Confidential 1 v Tampa Bay Cloud Computing Meetup Who’s Who in Containers

Upload: mike-kavis

Post on 16-Apr-2017

1.164 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 1v

Tampa Bay Cloud Computing Meetup

Who’s Who in Containers

Page 2: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 2

• Intros

• Why Containers?

– Use Cases

• Containers vs VMs

• Who’s Who

• Open Discussion

Agenda

Page 3: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 3

A useful analogy…

Source: Docker

Page 4: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 4

Mu

ltip

licit

y

of

Go

od

sM

ult

ipilic

ity

of

meth

od

s

for

tran

sp

ort

ing

/ sto

rin

g

Do

I wo

rry

ab

ou

t ho

w

go

od

s

inte

ract

(e.g

. co

ffee

bean

s n

ext

to s

pic

es)

Can

I

tran

sp

ort

qu

ickly

an

d

sm

oo

thly

(e.g

. from

bo

at to

train

to tru

ck)

Cargo Transport Pre-1960

Source: Docker

Page 5: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 5

? ? ? ? ? ? ?

? ? ? ? ? ? ?

? ? ? ? ? ? ?

? ? ? ? ? ? ?

? ? ? ? ? ? ?

? ? ? ? ? ? ?

Creates an NxN Matrix

Source: Docker

Resulted in non-optimal use of shipping vessels

Page 6: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 6

Solution: Intermodal Shipping Container

…in between, can be loaded and

unloaded, stacked, transported

efficiently over long distances,

and transferred from one mode

of transport to another

A standard container that is

loaded with virtually any

goods, and stays sealed

until it reaches final delivery.

Source: Docker

Page 7: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 7

This eliminated the NXN problem…

Source: Docker

Page 8: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 8

Static website Web frontend User DB Queue Analytics DB

Development

VMQA server Public Cloud Contributor’s

laptop

Containers are ‘shipping containers’ for code

Production

ClusterCustomer Data

Center

An engine that enables any

payload to be encapsulated

as a lightweight, portable,

self-sufficient container…

Source: Docker

…that can be manipulated using

standard operations and run

consistently on virtually any

hardware platform

Page 9: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 9

Static website Web frontend User DB Queue Analytics DB

Development

VMQA server Public Cloud Contributor’s

laptopProduction

ClusterCustomer Data

Center

Source: Docker

Or…put more simply

Developer: Build Once, Run

Anywhere (Finally)

Operator: Configure Once, Run

Anything

Page 10: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 10

Static website

Web frontend

Background workers

User DB

Analytics DB

Queue

Development VM QA ServerSingle Prod

ServerOnsite Cluster Public Cloud

Contributor’s

laptop

Customer

Servers

Containers solves the NXN problem

Source: Docker

Page 11: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 11

• Common Benefits

– Agility

– Scalability/High Availability

– Cost Optimization

– Portability

Why Containers?

• Common Use Cases

– CI/CD Automation

– Auto scaling micro-services architectures

– Containers as a Service

– Hybrid cloud architectures

Page 12: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 12

Use Case – CI/CD Pipelines

Page 13: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 13

Use Case – Autoscaling Highly Available Architectures

Source: Google

Move scalability, availability, resiliency IT plumbing work from the app to the

container management solutions

Page 14: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 14

Use Case - Containers as a Service

Old Way New Way

• Bring your own technologies

• Standardize

• Portability

• Roll your own PaaS

• Inefficient use of resources

• Solving same problems over & over

• Patching nightmare

• High overhead on management & Ops

VS.

Page 15: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 15

Use Case – Hybrid Cloud

Page 16: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 16

Containers vs VMs

Page 17: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 17

Containers vs VMs

Page 18: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 18

Containers vs VMs

Value Containers Virtual Machines

Boot speed

Footprint size

Maturity

Security

Ease of Patching

Developer Agility

Containers within VMs give you the best of both worlds!

Page 19: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 19

Virtual Machines (VM) plus Containers

VMs are very mature and have years of production usage

- Many companies use VMs to deliver highly secured containers

Container

1

Container

2

Container

3

VM

Pros

- Increase security

- Data protection

- Standard

Cons

- Additional overhead

- Slight performance

hit

Page 20: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 20

Who’s Who in Container Land

Page 21: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 21

Who are the Key Players?

Page 22: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 22

Docker

Leader and innovator in this space Docker is the leader of the container ecosystem

- Pivoted from dotCloud PaaS provider

- Open Sourced in 2013

- Raised $190M last 2 years

- Currently most popular container

technology

Page 23: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 23

Docker

Page 24: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 24

The Docker “Trio” - Machine, Swarm, Compose

Zero to Docker in 1 command

- Supports multicloud

- Simplifies creating

containers

- Powerful commands

Native Clustering for Docker

- API access

- Integrates w/Discovery

services

- Scale applications

Compose complete stacks

- Define multi-container app

in a single Dockerfile

- Run app in a cluster w/a

single command

Page 25: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 25

Docker Compose

Running a docker

cluster is a simple as

creating a YML file

and running a 1 line

command !!!!

Page 26: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 26

CoreOS has a suite of products

Page 27: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 27

Rkt – aka Rocket

• Build in response to security concerns with Docker Daemon approach

• Root access to daemon creates risks

• Rkt & Docker are both driving Open Container Project

• Integrates with entire ecosystem

• Use cases with running Docker containers in prod for additional

security

Page 28: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 28

Kubernetes

Orchestration & Management Most mature solution on the marketplace

- Has been used internally by Google since 2004

- Google launches 2B containers a week

- Uses it for their own products, cloud platform

- Allows for policy management, orchestration,

registry

- Supports for OpenStack announced

- Announced Ubernetes for multi-site clustering

Page 29: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 29

Kubernetes components

Replication controllers create

new pod "replicas" from a

template and ensures that a

configurable number of those

pods are running.

A Service offers low overhead

way to route requests to a

logical set of pod backends in

the cluster based on a label

selector.

Services also provide a

mechanism for surfacing

legacy components such as

databases with a cluster

Replication

ControllersServicesLabels

Labels are metadata that are

attached to objects, such as

pods.

They enable organization and

selection of subsets of objects

with a cluster.

Pods

Pods are ephemeral units that

are used to manage one or

more tightly coupled

containers.

They enable data sharing and

communication among their

constituent components.

Source: Google

Page 30: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 30

Kubernetes – Resilient HA Architectures

Source: Google

Page 31: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 31

Apache Mesos

Page 32: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 32

Mesos – Resilient HA Architectures

Source: Mesos

Page 33: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 33

Mesos/Mesospher - Frameworks

Page 34: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 34

The Container Ecosystem

Page 35: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 35

Rounding out the Container Ecosystem

Source: Wikibon

Page 36: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 36

Rounding out the Container Ecosystem

Source: Wikibon

Page 37: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 37

Open Discussion

Page 38: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 38

Thanks to the various sources used in this presentation.

• Read this great post from Wikibon and watch all the videos

• Cloud Technology Partners – Blogs, videos, whitepapers

• DockerCon 2015 YouTube channel

Further research

Page 39: Who's Who in Container Land

© 2015 Cloud Technology Partners, Inc. / Confidential 39vv