boyd hemphill (tsunami) geekfest

53
Tsunami Docker is here and Lambda is next. Boyd E. Hemphill - @behemphi

Upload: w2o-group

Post on 15-Jul-2015

123 views

Category:

Technology


1 download

TRANSCRIPT

TsunamiDocker is here and Lambda is next.

Boyd E. Hemphill - @behemphi

Pants?Nope

Gyros?Nope

Linux Container Virtualization?

Yes!

What is StackEngine? We’ll get there

Who am I? Director of Evangelism - StackEngine Jesus, Jobs, Gates - Pick a religion

A Brief History of Virtualization

Is history repeating itself?

History from an Engineers

Perspective

First there were

containers (1982, 1998,

2005) but they were hard

History from an Engineers

Perspective

First there were

containers (1982, 1998,

2005) but they were hard

Then there was the cloud

(2009). It was easy.

History from an Engineers

Perspective

First there were containers

(1982, 1998, 2005) but they

were hard

Then there was the cloud

(2009). It was easy.

Today there is Docker and

containers are ready for mere

mortals

What’s a ContainerShould all horses become unicorns?

What is a Container

A Virtual Machine (Cloud)

is a full copy of an entire

computer running in

software via a hypervisor

What is a Container

A Virtual Machine (Cloud) is

a full copy of an entire

computer running in

software via a hypervisor

A Container is a slice of a

computer with no hypervisor

overhead.

A Virtual Machine (Cloud) is a full

copy of an entire computer running

in software via a hypervisor

A Container is a slice of a

computer with no hypervisor

overhead.

Executive Summary: The lack of

extra stuff in the bottom picture

means big efficiency gains

What is a Container

But Wait!Why do I care?

Typical

Rockstar

CTO

Starts

with,

“Why?”

Why you care

In the cloud a physical

machine might practically

be split into 16 VMs.

Why you care

In the cloud a physical

machine might practically

be split into 16 VMs.

With containers the

number is in the 100s for

the same machine

(Density)

Why you care

In the cloud a physical machine

might practically be split into 16

VMs.

With containers the number is in

the 100s for the same machine

(Density)

In the cloud it can take minutes

to get a new VM

Why you care

In the cloud a physical machine

might practically be split into 16

VMs.

With containers the number is in the

100s for the same machine

(Density)

In the cloud it can take minutes to

get a new VM

Containers start in milliseconds.

(Agility)

Yeah, still don’t see why it matters.

But I am listening …

Cost Reduction - Density

Today you have 100’s or

1000’s of machines.

Cost Reduction - Density

Today you have 100’s or

1000’s of machines.

Tomorrow you have

10,000’s containers (and

10 to 100 machines).

Cost Reduction - Density

Today you have 100’s or

1000’s of machines.

Tomorrow you have 10,000’s

containers (and 10 or 100

machines).

You pay for machines, not

containers.

Cost Reduction - Better Geek

Efficiency

Geeks are expensive

Cost Reduction - Better Geek

Efficiency

Geeks are expensive

Containerized

development

environments save

developer time.

Cost Reduction - Better Geek

Efficiency

Geeks are expensive

Containerized development

environments save developer

time.

At W2O using VMs we recouped

up to 8 hours per week

(measured) of geek time!

~$250,000 per year. Containers

can be better!

Cost Reduction - Better Geek

Efficiency

Geeks are expensive

Containerized development

environments save developer time.

At W2O using VMs we recouped up to 8

hours per week (measured) of geek

time! ~$250,000 per year. Containers

can be better!

We did not measure the recovered

opportunity costs (shame)

OK … I like spending less money.

But will it help me grow revenue?

Revenue Growth -

Innovation

Remember that 8 hours

per week we saved

developers?

Revenue Growth -

Innovation

Remember that 8 hours

per week we saved

developers?

8 hours per week more

features

Revenue Growth -

Innovation

Remember that 8 hours

per week we saved

developers?

8 hours per week more

features

Features = Revenue

Revenue Growth -

Innovation

These containerized

development

environments are

disposable

Revenue Growth -

Innovation

These containerized

development

environments are

disposable

Developers want to

upgrade for the latest

features.

Revenue Growth -

Innovation

These containerized

development environments are

disposable

Geeks want to upgrade for the

latest features.

Majority of Developers have

bespoke development

environments

Revenue Growth -

Innovation

These containerized development

environments are disposable

Geeks want to upgrade for the latest

features.

Majority of Developers have

bespoke development environments

Easy to make, easy to throw away.

Easy to try something new.

Revenue Growth -

Innovation

These containerized development

environments are disposable

Geeks want to upgrade for the latest

features.

Majority of Developers have

bespoke development environments

Easy to make, easy to throw away.

Easy to try something new.

Revenue Growth -

Innovation

These containerized development

environments are disposable

Geeks want to upgrade for the latest

features.

Instead of bespoke development

environments

Easy to make, easy to throw away.

Easy to try something new.

Easy to go back if you don’t like the

result

Al … most … careWhat else you got?

A/B Testing

Marketing is more metrics

driven than engineering

teams (irony?)

A/B Testing

Marketing is more metrics

driven than engineering

teams (irony?)

Build, Measure, Learn,

Lather, Rinse, Repeat

A/B Testing

Marketing is more metrics

driven than engineering

teams (irony?)

Build, Measure, Learn,

Lather, Rinse, Repeat

Bullets not Cannonballs

We should look into this Docker thing. You also

mentioned Lamb Chops?

It’s all Geek to me.

Amazon Lambda

Containers mean truly on

demand compute

Amazon Lambda

Containers mean truly on

demand compute

In the same way the cloud

abstracted all the details of

a machine, lambda does

the same for compute

Amazon Lambda

Containers mean truly on

demand compute

In the same way the cloud

abstracted all the details of a

machine lambda does the

same for compute

Tsunami #2

Amazon Lambda

Containers mean truly on

demand compute

In the same way the cloud

abstracted all the details of a

machine lambda does the

same for compute

Tsunami #2

Don’t be caught

So what is StackEngine?

StackEngine

We provide a way to

manage containers in a

Production environment

StackEngine

We provide a way to

manage containers in a

Production environment

Cattle not Pets -> Ants not

Cattle

StackEngine

We provide a way to manage

containers in a Production

environment

Cattle not Pets -> Ants not

Cattle

Want some help

understanding this potential?

Look us up!

StackEngine

We provide a way to manage

containers in a Production

environment

Cattle not Pets -> Ants not

Cattle

Want some help understanding

this potential? Look us up!

http://stackengine.com

Tech Colophon

Containers vs. VMs at Pantheon - Use Case -

goo.gl/u3ztxj and goo.gl/gRkKGN

Disposable Development Environments - Vagrant -

goo.gl/whsRV3

Docker 101 - tech tutorial - goo.gl/cuXUU6

Amazon Lambda - announcement - goo.gl/sb1rLh

Reading Colophon

Bullets not Cannonballs, Creative Empiricism - Great by Choice - Jim

Collins

Start with Why - Simon Sinek

Measured Learning - The Lean Start up - Eric Reis

Features = Revenue - The Goal, It’s not Luck - Eliyahu Goldratt

Change or Die (goo.gl/Y8cMNT)- The Three Horsemen of the Digital

Apocalypse Considered - Michael Cote