devops, platforms and devops platforms

101
devops, platforms, and devops platforms Andrew Clay Shafer Senior Director of Technology

Upload: andrew-shafer

Post on 09-Apr-2017

4.299 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: devops, platforms and devops platforms

devops, platforms, and devops platforms

Andrew Clay Shafer Senior Director of Technology

Page 2: devops, platforms and devops platforms

Andrew Clay Shafer

Page 3: devops, platforms and devops platforms

Andrew Clay Shafer

@littleidea

Page 4: devops, platforms and devops platforms

EMC Federation Rules Everything

Around me

Page 5: devops, platforms and devops platforms

devops, platforms,

and devops platforms

Page 6: devops, platforms and devops platforms

wat

Page 7: devops, platforms and devops platforms

start with definitions?

Page 8: devops, platforms and devops platforms

everyone has a platform

Page 9: devops, platforms and devops platforms

just kidding

we’ll come back to that

Page 10: devops, platforms and devops platforms

start with a story

Page 11: devops, platforms and devops platforms

start with my story

Page 12: devops, platforms and devops platforms
Page 13: devops, platforms and devops platforms

how did that happen?

Page 14: devops, platforms and devops platforms

Previously…

Page 15: devops, platforms and devops platforms

The power of automation!!!

Page 16: devops, platforms and devops platforms

automation at scale

Page 17: devops, platforms and devops platforms

turning the pages

Page 18: devops, platforms and devops platforms

I’m sure some of you have lived this too

Page 19: devops, platforms and devops platforms

maybe you didn’t(maybe you are about to)

Page 20: devops, platforms and devops platforms

this scenario played out over and over

Page 21: devops, platforms and devops platforms

everyone trying to solve similar problems

everyone making similar mistakes

Page 22: devops, platforms and devops platforms
Page 23: devops, platforms and devops platforms

what you automate is just as important as the fact you do

Page 24: devops, platforms and devops platforms

technology can resist automation

Page 25: devops, platforms and devops platforms

day 2 matters

Page 26: devops, platforms and devops platforms

the architecture matters

Page 27: devops, platforms and devops platforms

please quit building installers

Page 28: devops, platforms and devops platforms

please quit building brittle clever solutions

Page 29: devops, platforms and devops platforms

please quit building stuff that will predictably explode

Page 30: devops, platforms and devops platforms

Typical Day at Work

maybe you like being a hero?

maybe your co-worker does?

Page 31: devops, platforms and devops platforms
Page 32: devops, platforms and devops platforms

Operations is the secret sauce configuration

Page 33: devops, platforms and devops platforms

paying interest on technical debt

Page 34: devops, platforms and devops platforms

paying interest on automation debtarchitecture debt

process debt

Page 35: devops, platforms and devops platforms

everyoneover

and over

and over

Page 36: devops, platforms and devops platforms

WHERE IS YOUR DEVOPS NOW?

Page 37: devops, platforms and devops platforms

there has to be a better way

Page 38: devops, platforms and devops platforms

let’s rewind to definitions

Page 39: devops, platforms and devops platforms

What is devops?

Page 40: devops, platforms and devops platforms

I wrote a blog post.March 2010

Page 41: devops, platforms and devops platforms

devops• developers and operations can

and should work together

• system administration evolving to look more like software development

• evolving together as global community sharing solutions

Page 42: devops, platforms and devops platforms

devops - calms• culture

• automation

• lean

• metrics

• sharing

Page 43: devops, platforms and devops platforms

What is a platform?

Page 44: devops, platforms and devops platforms

Everyone has a platform…

Page 45: devops, platforms and devops platforms

might be the one guy who runs scripts

might be a bunch of configuration management

might be a public PaaS

Page 46: devops, platforms and devops platforms

if you can deploy and operate code in any capacity, you have a platform

maybe not be very good one

Page 47: devops, platforms and devops platforms

who cares about the word…

Page 48: devops, platforms and devops platforms

what about success?

Page 49: devops, platforms and devops platforms

‘devops actualized’ represent patterns that emerged in high performing

organizations that deliver highly available applications continuously at scale

Page 50: devops, platforms and devops platforms

devops, platforms, continuous delivery, microservices…

Page 51: devops, platforms and devops platforms

These things are all one…

Page 52: devops, platforms and devops platforms

faster and safer

BLAH BLAH BLAH BLAH

OODA LOOP

SMALL BATCHES

Page 53: devops, platforms and devops platforms

from now on, I’m going to call all that together… ‘Cloud Native’

Page 54: devops, platforms and devops platforms

what would cloud natives do?

wwcnd

Page 55: devops, platforms and devops platforms

Amazon, a bookstore in Seattle, deploys code to production every 11 seconds…

1 second

Page 56: devops, platforms and devops platforms

–Werner Vogels, CTO Amazon

“The traditional model is that you take your software to the wall that separates development and operations, and throw it over

and then forget about it. Not at Amazon. You build it, you run it. This brings developers into contact with the day-to-day

operation of their software. It also brings them into day-to-day contact with the customer. This customer feedback loop is

essential for improving the quality of the service.”

Page 57: devops, platforms and devops platforms

Adrian Cockroft - ex-Netflix

What I learned from my time at Netflix.

Page 58: devops, platforms and devops platforms

Netflix Lessons

• Speed wins in the marketplace

• Remove friction from product development

• High trust, low process, no hand-offs between teams

• Freedom and responsibility culture

• Don’t do your own undifferentiated heavy lifting

• use simple patterns automated by tooling

• self service cloud makes impossible things instant

Page 59: devops, platforms and devops platforms

Principles > Practices >Tools

Page 60: devops, platforms and devops platforms

why > what

Page 61: devops, platforms and devops platforms

Netflix Lessons

• Speed wins in the marketplace

• Remove friction from product development

• High trust, low process, no hand-offs between teams

• Freedom and responsibility culture

• Don’t do your own undifferentiated heavy lifting

• use simple patterns automated by tooling

• self service cloud makes impossible things instant

Page 62: devops, platforms and devops platforms

Netflix built a platform to enable self service deployment

Page 63: devops, platforms and devops platforms

Netflix built a platform to deploy and operate microservices

Page 64: devops, platforms and devops platforms

Netflix built a platform to continuously deliver software

Page 65: devops, platforms and devops platforms

Netflix built a platform that could protect itself from failure

Page 66: devops, platforms and devops platforms

What Netflix did not do is build a platform for general ad-hoc automation…

Page 67: devops, platforms and devops platforms

Constraints are the contract that allows a platform to keep promises.

Page 68: devops, platforms and devops platforms

Everyone has a platform.

What promises can your platform keep?

Page 69: devops, platforms and devops platforms

SLAswe promise

Page 70: devops, platforms and devops platforms

Pivotal Cloud Foundry promises starts at the API

Page 71: devops, platforms and devops platforms

•current_vm_id

•create_stemcell

•delete_stemcell

•create_vm

•delete_vm

•has_vm?

•reboot_vm

•set_vm_metadata

•configure_networks

•create_disk

•delete_disk

•attach_disk

•snapshot_disk

•delete_snapshot

•detach_disk

•get_disks

Cloud Provider Interface

Page 72: devops, platforms and devops platforms

Cloud Native Infrastructure Automation

CPI

Page 73: devops, platforms and devops platforms

need to manage a large distributed system• deployment • configuration changes • updates/upgrades - minimal downtime • health checks and remediation • scale out/scale in • across multiple IaaS

Page 74: devops, platforms and devops platforms

Everything as a Service

Page 75: devops, platforms and devops platforms

Now that we have a tool chain for release engineering, deployment,

and lifecycle management of large-scale distributed services…

What should we do with it?

Page 76: devops, platforms and devops platforms

deploy a self-service self-healing container scheduler, of course!

Page 77: devops, platforms and devops platforms

routers

LinuxLinuxLinux Containers

message bus

cloud controller

loggregators

controller DB

etcd

hm9000

metrics firehose

UAA

login

Cloud Foundry Elastic Runtime

service brokers

object store

stagers

Page 78: devops, platforms and devops platforms

Cloud Native Runtime Platform

Cloud Native Infrastructure Automation

CPI

BOSH release

Page 79: devops, platforms and devops platforms

• role based access to resources

• run code on demand

• coordinate cross service configurations

• route public requests

• read and write persistent data

• add and remove resources

• record internal and external events

• isolate resources and failures

• measure performance/health

• detect and determine failure (plan & provoke failure)

• recover failures

• work tomorrow

What problems does it solve?

Page 80: devops, platforms and devops platforms

12 Factor Ops

Page 81: devops, platforms and devops platforms

your pipeline to continuously deliver microservices is ready

(and win buzzword bingo)

Page 82: devops, platforms and devops platforms

ask me about distributed runtime configuration, service discovery, and circuit breakers

Page 83: devops, platforms and devops platforms

the patterns proven successful building and operating highly

available systems with predictable scaling and failure characteristics

Page 84: devops, platforms and devops platforms

Cloud Native Runtime Platform

Cloud Native Infrastructure Automation

Cloud Native Application Framework

CPI

BOSH release

12 Factor

Cloud Native Contracts

Page 85: devops, platforms and devops platforms

structured contracts determine the promises a

platform can keep

Page 86: devops, platforms and devops platforms

simple patterns automated by tooling

Page 87: devops, platforms and devops platforms

simple patterns automated by tooling

Page 88: devops, platforms and devops platforms

simple patterns automated by tooling

Page 89: devops, platforms and devops platforms

This is the cloud native advantage

Page 90: devops, platforms and devops platforms

This is what helps organizations move

quickly at scale

Page 91: devops, platforms and devops platforms

Conway’s Law Rules Everything Around You

Page 92: devops, platforms and devops platforms

Motivated to change the relationship between people and the computers

I never set out to DO devops.

Page 93: devops, platforms and devops platforms

actually, needed to change the relationship between people and people

Page 94: devops, platforms and devops platforms

no one originally set out to do devops, continuous delivery, microservices, or platforms these were natural consequences

don’t fixate on the words, fixate on the outcomes

Page 95: devops, platforms and devops platforms

if you want to align people in your organization, think about the

interfaces, look at the promises they make and keep with each other.

Page 96: devops, platforms and devops platforms

Use tools and simple patterns to make doing the right thing the easy thing

Page 97: devops, platforms and devops platforms

can you keep promises?

Page 98: devops, platforms and devops platforms

DO YOU KEEP PROMISES

Page 99: devops, platforms and devops platforms

DOES YOUR PLATFORM HELP YOU KEEP PROMISES?

Page 100: devops, platforms and devops platforms

Thank You

@littleidea

Page 101: devops, platforms and devops platforms

We are uncovering better ways of developing software, by doing it and helping others do it