Agile Enterprise Devops and Cloud - Interop 2010 NYC

Post on 15-Jun-2015

1.250 views 0 download

Tags:

Transcript of Agile Enterprise Devops and Cloud - Interop 2010 NYC

Copyright © 2010 Opscode, Inc - All Rights Reserved 1

John WillisVP of Servicesjohn@opscode.comtwitter.com/botchagalupe

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 2

IT Management PodcastDevopsCafeCloudCafe

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 2

IT Management PodcastDevopsCafeCloudCafe

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 3

The Agile EnterpriseCloud and Devops

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 4

Agile Infrastructure

• Operating at Cloud Scale • Ephemeral Infrastructure • Frictionless Infrastructure• Self Service Operations

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 5

Agile Operations

• Products not Projects• Walk on Walk off Projects• Velocity of Innovation• Continuos Delivery• Enterprise Lean Startup

Thursday, October 21, 2010

Devops

Thursday, October 21, 2010

Devops: You Should Care?

Short Answer:

It’s a way to make your business

more agile

Thursday, October 21, 2010

Devops: You Should Care?

Short Answer:

It’s a way to make your business

more agile

It’s about the business stupid

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved

Devops is a cultural and professional movement!

8Thursday, October 21, 2010

Ah-ha! Ka-ching!Wall o

f C

on

fusio

n

OpsDev

Ah-ha!

Anti-Pattern

Thursday, October 21, 2010

DevOps

Wall of iononfusC

Dev Ops

Thursday, October 21, 2010

Ah-ha! Ka-ching!

Application Lifecycle

Devops is About Velocity

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 12

Devops

• Culture• Automation• Measurement• Sharing

Thursday, October 21, 2010

So  What’sYourCultureDog

Thursday, October 21, 2010

Culture Before Tools

• Leadership • Behavior• Communication• Passion• Having Fun

Thursday, October 21, 2010

Testing as a SkillTesting as a CultureQuality as a Culture

Testing to just get by

Testing to create value or

Thursday, October 21, 2010

Leadership

Thursday, October 21, 2010

Devs Ops

Leadership

Thursday, October 21, 2010

Leadership

Thursday, October 21, 2010

Behavior

Thursday, October 21, 2010

Behavior

Thursday, October 21, 2010

Behavior

Thursday, October 21, 2010

Communication

Thursday, October 21, 2010

Communication

Thursday, October 21, 2010

Communication

Thursday, October 21, 2010

Communication

Thursday, October 21, 2010

Passion

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 27

Cloudy Operations and Devops

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 28

Till the Meatball Hits the Fan

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 28

Till the Meatball Hits the Fan

I did not have “cloudy” meatballs with that provider

Thursday, October 21, 2010

Automa4on

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved

Infrastructure is Hard!

30Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 31

FullyAutomated Infrastructure

ReleaseControl

Orchestration

Dispatcher

Provisioning

Deploy

Config management

OS boot/install

Artifact repository

Build

CI Server Issue tracker

SCM Repository

Model

Asset inventory

Host naming

Identity

CMDBMonitoring

Events

Trending Reporting

Trending

Workflows

Resources

Topology

Configuration

Code

Sources

Scheduler

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 31

FullyAutomated Infrastructure

ReleaseControl

Orchestration

Dispatcher

Provisioning

Deploy

Config management

OS boot/install

Artifact repository

Build

CI Server Issue tracker

SCM Repository

Model

Asset inventory

Host naming

Identity

CMDBMonitoring

Events

Trending Reporting

Trending

Workflows

Resources

Topology

Configuration

Code

Sources

Scheduler

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 32

What Do Developers

Want?

Thursday, October 21, 2010

For Developers...

• Self Service Operations

• The infrastructure is the application (and vice versa)

• Minimize Bottlenecks

• The “Right” Tools

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 34

What Does Operations Want?

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 35Thursday, October 21, 2010

Operations• Say “Yes”.

• You never liked rack and stack that much anyway.

• You have never been more critical.

• Just get out of the way.

http://covers.oreilly.com/images/9780596007836/lrg.jpg

Lean into it appears courtesy of Cliff Moon, of Dynomite fame: http://twitter.com/moonpolysoft

Thursday, October 21, 2010

Automate Everything

• Builds• Tests• Deploys• Integration•Orchestration

Thursday, October 21, 2010

Infrastructure as Code

http://www.flickr.com/photos/asten/2159525309/sizes/l/

Thursday, October 21, 2010

Infrastructure as Code

‣ Version control

http://www.flickr.com/photos/asten/2159525309/sizes/l/

Thursday, October 21, 2010

Infrastructure as Code

‣ Version control

‣ Process control

http://www.flickr.com/photos/asten/2159525309/sizes/l/

Thursday, October 21, 2010

Infrastructure as Code

‣ Version control

‣ Process control

‣ Application control

http://www.flickr.com/photos/asten/2159525309/sizes/l/

Thursday, October 21, 2010

The 10th Floor Test

Can you automatically restore your services if you:

1. Toss a random server out the window2. Toss a random engineer out the window

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved

Cloudy Devops

40Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved

Cloudy Devops

40

Provisioning

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved

Cloudy Devops

40

Provisioning

Configuration

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved

Cloudy Devops

40

Provisioning

Configuration

Systems Integration

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 41

Nodes

opslb01

opsws01opsws02

opsdm01opsds01opsds02

Provisioning

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 42

Roles

loadbalancerwebserverdbmasterdbslave

Configuration Management

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 43

Load Balancer

Web Server Web Server

DB Master

DiskDisk

DB Slave DB Slave

Disk

Recipes

haproxyapache2myssql

Systems Integration

Thursday, October 21, 2010

name "webserver"description "Systems that serve HTTP traffic"

run_list( "role[base]", "recipe[apache2]", "recipe[apache2::mod_ssl]")

default_attributes( "apache" => { "listen_ports" => [ "80", "443" ] })override_attributes( "apache" => { "max_children" => "50" }} })

Role Based Configuration

Thursday, October 21, 2010

name "webserver"description "Systems that serve HTTP traffic"

run_list( "role[base]", "recipe[apache2]", "recipe[apache2::mod_ssl]")

default_attributes( "apache" => { "listen_ports" => [ "80", "443" ] })override_attributes( "apache" => { "max_children" => "50" }} })

Role Based Configuration

Thursday, October 21, 2010

name "webserver"description "Systems that serve HTTP traffic"

run_list( "role[base]", "recipe[apache2]", "recipe[apache2::mod_ssl]")

default_attributes( "apache" => { "listen_ports" => [ "80", "443" ] })override_attributes( "apache" => { "max_children" => "50" }} })

Role Based Configuration

Thursday, October 21, 2010

name "webserver"description "Systems that serve HTTP traffic"

run_list( "role[base]", "recipe[apache2]", "recipe[apache2::mod_ssl]")

default_attributes( "apache" => { "listen_ports" => [ "80", "443" ] })override_attributes( "apache" => { "max_children" => "50" }} })

Role Based Configuration

Thursday, October 21, 2010

name "webserver"description "Systems that serve HTTP traffic"

run_list( "role[base]", "recipe[apache2]", "recipe[apache2::mod_ssl]")

default_attributes( "apache" => { "listen_ports" => [ "80", "443" ] })override_attributes( "apache" => { "max_children" => "50" }} })

Role Based Configuration

opsws01

Thursday, October 21, 2010

name "webserver"description "Systems that serve HTTP traffic"

run_list( "role[base]", "recipe[apache2]", "recipe[apache2::mod_ssl]")

default_attributes( "apache" => { "listen_ports" => [ "80", "443" ] })override_attributes( "apache" => { "max_children" => "50" }} })

Role Based Configuration

opsws01 opsws02

Thursday, October 21, 2010

Systems Integration

Thursday, October 21, 2010

Systems Integration

Thursday, October 21, 2010

Systems Integration

Thursday, October 21, 2010

Systems Integration

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 46

Load Balancer

Web Server Web Server

DB Master

DiskDisk

DB Slave DB Slave

Disk

Fully Automated InfrastructureProvisioning Configuration Integration

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved 47

Sharable Infrastructure

Thursday, October 21, 2010

Metrics

Measurement

Thursday, October 21, 2010

Measure Everything

• Performance Data• Process Data• People Data•Huristics

Thursday, October 21, 2010

Continuos Improvement

Thursday, October 21, 2010

Old School

•Change•Incident•TTR/TTD

Thursday, October 21, 2010

Sharing

Thursday, October 21, 2010

Thinking that secrecy

makes you better

Anti-Pattern:

Thursday, October 21, 2010

Share Everything

• Share Metrics• Share Ideas• Share Stories•Give Developers Access• Allow Operations to Leverage

Technology

Thursday, October 21, 2010

Case Studies

• Animoto• Flightcaster• Kaching• Shopzilla

Thursday, October 21, 2010

Thursday, October 21, 2010

A Period of Combinatorial Innovation

Thursday, October 21, 2010

A Period of Combinatorial Innovation

• Abstract and fault tolerant components

Thursday, October 21, 2010

A Period of Combinatorial Innovation

• Abstract and fault tolerant components

• Integrated network accessible services

Thursday, October 21, 2010

A Period of Combinatorial Innovation

• Abstract and fault tolerant components

• Integrated network accessible services

• Unlimited infrastructure

Thursday, October 21, 2010

Copyright © 2010 Opscode, Inc - All Rights Reserved

Industry Shifts

57

Be bold-and mighty forces will come to your aidBasil King

Thursday, October 21, 2010

P

Stakes are high

Thursday, October 21, 2010