devops
DESCRIPTION
An introduction to devops. Developers and Operations working together. Plus Elmo gets rescued.TRANSCRIPT
http://www.flickr.com/photos/estherase/29903995/gareth rushgrove | morethanseven.net
DevopsA tale of developers and operations
barcamb3 24th April 2010
Gareth Rushgrove
gareth rushgrove | morethanseven.net
morethanseven.net
We Have A Problem
gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/30344569/
Developers
gareth rushgrove | morethanseven.net
It works on my machine!Every developer ever
“
Sysadmins
gareth rushgrove | morethanseven.net
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/
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
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
Deployment
gareth rushgrove | morethanseven.net
“The architecture of the application doesn’t match our { storage, network, deployment, security } model
The sysadmin
Deployment
gareth rushgrove | morethanseven.net
“We weren’t consulted about the { reporting, security, monitoring, backup, provisioning } and it can’t be “productionised”.
The sysadmin
- 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/
Do We Have A Solution?
gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/30344571/
Devops
gareth rushgrove | morethanseven.net
John Allspaw
“Dev/Ops is what some people are calling the renewed cross-interest in development and operations collaboration
Tools, lots of tools
gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/30344572/
Server Provisioning with Puppet
gareth rushgrove | morethanseven.net
puppetlabs.com
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
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"] }}
Cucumber Nagios
gareth rushgrove | morethanseven.net
auxesis.github.com/cucumber-nagios/
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
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
- Processes
- Communications
- Automation
Not just tools
gareth rushgrove | morethanseven.net
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
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/
Questions?
gareth rushgrove | morethanseven.net http://www.flickr.com/photos/estherase/33464729/