devops

24
http://www.flickr.com/photos/estherase/29903995/ gareth rushgrove | morethanseven.net Devops A tale of developers and operations barcamb3 24th April 2010

Upload: gareth-rushgrove

Post on 09-May-2015

5.343 views

Category:

Technology


0 download

DESCRIPTION

An introduction to devops. Developers and Operations working together. Plus Elmo gets rescued.

TRANSCRIPT

Page 1: Devops

http://www.flickr.com/photos/estherase/29903995/gareth rushgrove | morethanseven.net

DevopsA tale of developers and operations

barcamb3 24th April 2010

Page 2: Devops

Gareth Rushgrove

gareth rushgrove | morethanseven.net

morethanseven.net

Page 3: Devops

We Have A Problem

gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/30344569/

Page 4: Devops

Developers

gareth rushgrove | morethanseven.net

It works on my machine!Every developer ever

Page 5: Devops

Sysadmins

gareth rushgrove | morethanseven.net

Page 6: Devops

Deployment

gareth rushgrove | morethanseven.net

Development builds an application, the new hotness which promises customers all the whizz-bang features and will make the company millions...

Parable from http://www.kartar.net/2010/02/what-devops-means-to-me/

Page 7: Devops

Deployment

gareth rushgrove | morethanseven.net

...It is built using cutting edge technology and a brand new platform and it has got to be delivered right now.  Development cuts code like crazy and gets the product ready for market ahead of schedule and dash off to the pub for the wrap party

Page 8: Devops

Deployment

gareth rushgrove | morethanseven.net

“The wonder application won’t run on our infrastructure because {it’s too old, it doesn’t have capacity, we don’t support that version}

The sysadmin

Page 9: Devops

Deployment

gareth rushgrove | morethanseven.net

“The architecture of the application doesn’t match our { storage, network, deployment, security } model

The sysadmin

Page 10: Devops

Deployment

gareth rushgrove | morethanseven.net

“We weren’t consulted about the { reporting, security, monitoring, backup, provisioning } and it can’t be “productionised”.

The sysadmin

Page 11: Devops

- Metrics collection

- Monitoring and thresholds

- Load-feedback behaviour

- Instrumentation

- Fault tolerance

Not just deployment

gareth rushgrove | morethanseven.net

http://www.kitchensoap.com/2009/12/12/devops-cooperation-doesnt-just-happen-with-deployment/

Page 12: Devops

Do We Have A Solution?

gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/30344571/

Page 13: Devops

Devops

gareth rushgrove | morethanseven.net

John Allspaw

“Dev/Ops is what some people are calling the renewed cross-interest in development and operations collaboration

Page 14: Devops

Tools, lots of tools

gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/30344572/

Page 15: Devops

Server Provisioning with Puppet

gareth rushgrove | morethanseven.net

puppetlabs.com

Page 16: Devops

Puppet Class Example

class baseclass { $packagelist = ["sudo", "openssh-server""] package { $packagelist: ensure => installed } service { sshd: name => "ssh", enable => true, ensure => running }}

gareth rushgrove | morethanseven.netgareth rushgrove | morethanseven.net

Page 17: Devops

Puppet Node Example

gareth rushgrove | morethanseven.netgareth rushgrove | morethanseven.net

node 'example.com' inherits basenode { $packagelist = ["nginx"] package { $packagelist: ensure => installed } service { "nginx": ensure => running, require => Package["nginx"] }}

Page 18: Devops

Cucumber Nagios

gareth rushgrove | morethanseven.net

auxesis.github.com/cucumber-nagios/

Page 19: Devops

Feature: google.co.uk To broaden their knowledge A user should be able To search for things Scenario: Searching for things Given I visit "http://www.google.co.uk" When I fill in "q" with "wikipedia" And I press "Google Search" Then I should see "www.wikipedia.org"

Cucumber DSL Example

gareth rushgrove | morethanseven.net

Page 20: Devops

Feature: google.co.uk To broaden their knowledge A user should be able To search for things Scenario: Searching for things Given I visit "http://www.google.co.uk" When I fill in "q" with "wikipedia" And I press "Google Search" Then I should see "www.wikipedia.org"

1 scenario (1 failed)4 steps (1 failed, 2 skipped, 1 passed)0m0.332s

Cucumber Results Example

gareth rushgrove | morethanseven.net

Page 21: Devops

- Processes

- Communications

- Automation

Not just tools

gareth rushgrove | morethanseven.net

Page 22: Devops

Lots of reading

gareth rushgrove | morethanseven.net

In Summary

gareth rushgrove | morethanseven.net

Jesse Robins

“Devs who are Ops, who like Ops to be Devs, that do Ops like they're Devs, that Dev like they're Ops, always should be people you really love

http://twitter.com/jesserobbins/status/11169019112

Page 23: Devops

Reading

gareth rushgrove | morethanseven.net

- Patrick Debois - http://www.jedi.be/

- Damon Edwards - http://dev2ops.org/

- James Turnbull - http://www.kartar.net

- John Allspaw - http://www.kitchensoap.com/

Page 24: Devops

Questions?

gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/33464729/