Devops
A tale of developers and operations

barcamb3 24th April 2010


gareth rushgrove | morethanseven.net   http://www.fl...
morethanseven.net




Gareth Rushgrove


gareth rushgrove | morethanseven.net
We Have A Problem


gareth rushgrove | morethanseven.net   http://www.flickr.com/photos/estherase/30344569/
“It works on my machine!
        Every developer ever




Developers


gareth rushgrove | morethanseven.net
Sysadmins


gareth rushgrove | morethanseven.net
Development builds an application, the new hotness
         which promises customers all the whizz-bang features
         ...
...It is built using cutting edge technology and a brand
         new platform and it has got to be delivered right now. 
...
“     The wonder application won’t run on our infrastructure
        because {it’s too old, it doesn’t have capacity, we d...
“     The architecture of the application doesn’t match our
        { storage, network, deployment, security } model
     ...
“     We weren’t consulted about the { reporting, security,
        monitoring, backup, provisioning } and it can’t be
   ...
- Metrics collection
       - Monitoring and thresholds
       - Load-feedback behaviour
       - Instrumentation
       -...
Do We Have A Solution?


gareth rushgrove | morethanseven.net   http://www.flickr.com/photos/estherase/30344571/
“     Dev/Ops is what some people are calling the renewed
        cross-interest in development and operations collaborati...
Tools, lots of tools


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




Server Provisioning with Puppet


gareth rushgrove | morethanseven.net
class baseclass {
                $packagelist = ["sudo", "openssh-server""]
                package { $packagelist: ensur...
node 'example.com' inherits basenode {
                $packagelist = ["nginx"]
                package { $packagelist: en...
auxesis.github.com/cucumber-nagios/




Cucumber Nagios


gareth rushgrove | morethanseven.net
Feature: google.co.uk
                To broaden their knowledge
                A user should be able
                To ...
Feature: google.co.uk
                To broaden their knowledge
                A user should be able
                To ...
- Processes
       - Communications
       - Automation




Not just tools


gareth rushgrove | morethanseven.net
“     Devs who are Ops, who like Ops to be Devs, that do Ops
        like they're Devs, that Dev like they're Ops, always ...
- Patrick Debois - http://www.jedi.be/
       - Damon Edwards - http://dev2ops.org/
       - James Turnbull - http://www.k...
Questions?


gareth rushgrove | morethanseven.net   http://www.flickr.com/photos/estherase/33464729/
Upcoming SlideShare
Loading in...5
×

Devops

5,847

Published on

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

Published in: Technology
0 Comments
16 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
5,847
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
146
Comments
0
Likes
16
Embeds 0
No embeds

No notes for slide

Devops

  1. 1. Devops A tale of developers and operations barcamb3 24th April 2010 gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/29903995/
  2. 2. morethanseven.net Gareth Rushgrove gareth rushgrove | morethanseven.net
  3. 3. We Have A Problem gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/30344569/
  4. 4. “It works on my machine! Every developer ever Developers gareth rushgrove | morethanseven.net
  5. 5. Sysadmins gareth rushgrove | morethanseven.net
  6. 6. 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/ Deployment gareth rushgrove | morethanseven.net
  7. 7. ...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 Deployment gareth rushgrove | morethanseven.net
  8. 8. “ 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 Deployment gareth rushgrove | morethanseven.net
  9. 9. “ The architecture of the application doesn’t match our { storage, network, deployment, security } model The sysadmin Deployment gareth rushgrove | morethanseven.net
  10. 10. “ We weren’t consulted about the { reporting, security, monitoring, backup, provisioning } and it can’t be “productionised”. The sysadmin Deployment gareth rushgrove | morethanseven.net
  11. 11. - Metrics collection - Monitoring and thresholds - Load-feedback behaviour - Instrumentation - Fault tolerance http://www.kitchensoap.com/2009/12/12/devops-cooperation-doesnt-just-happen-with-deployment/ Not just deployment gareth rushgrove | morethanseven.net
  12. 12. Do We Have A Solution? gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/30344571/
  13. 13. “ Dev/Ops is what some people are calling the renewed cross-interest in development and operations collaboration John Allspaw Devops gareth rushgrove | morethanseven.net
  14. 14. Tools, lots of tools gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/30344572/
  15. 15. puppetlabs.com Server Provisioning with Puppet gareth rushgrove | morethanseven.net
  16. 16. class baseclass { $packagelist = ["sudo", "openssh-server""] package { $packagelist: ensure => installed } service { sshd: name => "ssh", enable => true, ensure => running } } Puppet Class Example gareth rushgrove | morethanseven.net
  17. 17. node 'example.com' inherits basenode { $packagelist = ["nginx"] package { $packagelist: ensure => installed } service { "nginx": ensure => running, require => Package["nginx"] } } Puppet Node Example gareth rushgrove | morethanseven.net
  18. 18. auxesis.github.com/cucumber-nagios/ Cucumber Nagios gareth rushgrove | morethanseven.net
  19. 19. 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
  20. 20. 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
  21. 21. - Processes - Communications - Automation Not just tools gareth rushgrove | morethanseven.net
  22. 22. “ 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 Jesse Robins http://twitter.com/jesserobbins/status/11169019112 In Summary Lots of reading gareth rushgrove | morethanseven.net
  23. 23. - Patrick Debois - http://www.jedi.be/ - Damon Edwards - http://dev2ops.org/ - James Turnbull - http://www.kartar.net - John Allspaw - http://www.kitchensoap.com/ Reading gareth rushgrove | morethanseven.net
  24. 24. Questions? gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/33464729/
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×