let's bring the teams back together
DESCRIPTION
My DrupalJam 2013 talk introducing devops to the Dutch Drupal CommunityTRANSCRIPT
![Page 1: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/1.jpg)
Let's bring the teams Let's bring the teams back togetherback together
Devops, adapt or fail
@krisbuytaert
![Page 2: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/2.jpg)
Kris BuytaertKris Buytaert
• Chief Trolling Officer and Open Source Chief Trolling Officer and Open Source Consultant @inuits.euConsultant @inuits.eu
• Everything is an effing DNS ProblemEverything is an effing DNS Problem• Building Clouds since before the bookstoreBuilding Clouds since before the bookstore• Some books, some papers, some blogsSome books, some papers, some blogs• DrupalCon #devops global trackchair DrupalCon #devops global trackchair • Core #devopsdays organiser since day 1Core #devopsdays organiser since day 1
![Page 3: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/3.jpg)
![Page 4: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/4.jpg)
![Page 5: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/5.jpg)
So @bertboerland , So @bertboerland ,
What is a devops ? What is a devops ?
![Page 6: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/6.jpg)
![Page 7: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/7.jpg)
devops is not a JobTitledevops is not a JobTitle
![Page 8: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/8.jpg)
What's this devops thing really about ?What's this devops thing really about ?
![Page 9: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/9.jpg)
devops, a definition:devops, a definition:
![Page 10: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/10.jpg)
● Adopt the new philosophy. We are in a new economic age. Western management Adopt the new philosophy. We are in a new economic age. Western management must awaken to the challenge, must learn their responsibilities, and take on must awaken to the challenge, must learn their responsibilities, and take on leadership for change.leadership for change.
● Cease dependence on inspection to achieve quality. Eliminate the need for massive Cease dependence on inspection to achieve quality. Eliminate the need for massive inspection by building quality into the product in the first place.inspection by building quality into the product in the first place.
● Improve constantly and forever the system of production and service, to improve Improve constantly and forever the system of production and service, to improve quality and productivity, and thus constantly decrease costs.quality and productivity, and thus constantly decrease costs.
● Institute training on the job.Institute training on the job.● Institute leadership The aim of supervision should be to help people and machines Institute leadership The aim of supervision should be to help people and machines
and gadgets do a better job. and gadgets do a better job. ● Drive out fear, so that everyone may work effectively for the company. Drive out fear, so that everyone may work effectively for the company. ● Break down barriers between departments. People in research, design, sales, and Break down barriers between departments. People in research, design, sales, and
production must work as a team, in order to foresee problems of production and production must work as a team, in order to foresee problems of production and usage that may be encountered with the product or service.usage that may be encountered with the product or service.
● Eliminate slogans, exhortations, and targets for the work force asking for zero defects Eliminate slogans, exhortations, and targets for the work force asking for zero defects and new levels of productivity. Such exhortations only create adversarial and new levels of productivity. Such exhortations only create adversarial relationships, as the bulk of the causes of low quality and low productivity belong to relationships, as the bulk of the causes of low quality and low productivity belong to the system and thus lie beyond the power of the work force.the system and thus lie beyond the power of the work force.
● Eliminate management by objective. Eliminate management by numbers Eliminate management by objective. Eliminate management by numbers and numerical goals. Instead substitute with leadership.and numerical goals. Instead substitute with leadership.
● Remove barriers that rob the hourly worker of his right to pride of Remove barriers that rob the hourly worker of his right to pride of workmanship. The responsibility of supervisors must be changed from workmanship. The responsibility of supervisors must be changed from sheer numbers to quality.sheer numbers to quality.
● Remove barriers that rob people in management and in engineering of Remove barriers that rob people in management and in engineering of their right to pride of workmanship. their right to pride of workmanship.
● Institute a vigorous program of education and self-improvement.Institute a vigorous program of education and self-improvement.● Put everybody in the company to work to accomplish the transformation. The Put everybody in the company to work to accomplish the transformation. The
transformation is everybody's job.transformation is everybody's job.
![Page 11: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/11.jpg)
William Edwards William Edwards Deming Deming
1986, Out of the Crisis. 1986, Out of the Crisis.
http://en.wikipedia.org/wiki/W._Edwards_Deminghttp://en.wikipedia.org/wiki/W._Edwards_Deming
![Page 12: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/12.jpg)
World , 200X-2009World , 200X-2009
Patrick Debois, Gildas Le Nadan, Andrew Clay Shafer, Kris Buytaert, Jezz Patrick Debois, Gildas Le Nadan, Andrew Clay Shafer, Kris Buytaert, Jezz Humble, Lindsay Holmwood, John Willis, Chris Read, Julian Simpson, Luke Humble, Lindsay Holmwood, John Willis, Chris Read, Julian Simpson, Luke
Kanies, John Allspaw and lots of others ..Kanies, John Allspaw and lots of others ..
Gent , October 2009Gent , October 2009
Mountain View , June 2010Mountain View , June 2010
Hamburg , October 2010Hamburg , October 2010
Boston, March 2011Boston, March 2011
Mountain View, June 2011Mountain View, June 2011
Bangalore, Melbourne, Bangalore, Melbourne,
Goteborg , October 2011Goteborg , October 2011
........
10+ Events being planned for 2013.10+ Events being planned for 2013.
![Page 13: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/13.jpg)
““DevOps is a cultural andDevOps is a cultural and
professional movement”professional movement”
Adam JacobAdam Jacob
![Page 14: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/14.jpg)
C(L)AMSC(L)AMS● CultureCulture
● (Lean)(Lean)
● AutomationAutomation
● MeasurementMeasurement
● SharingSharing
Damon Edwards and John WillisDamon Edwards and John Willis
Gene KimGene Kim
![Page 15: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/15.jpg)
Why do we need devops ? Why do we need devops ?
![Page 16: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/16.jpg)
A typical dev shopA typical dev shop● The PM:The PM:
•““Put this Code Live, here's a tarball” NOW! Put this Code Live, here's a tarball” NOW!
•Marketing Campain is launched Marketing Campain is launched
•We need this yesterday We need this yesterday
•It's going on national radio at 5It's going on national radio at 5
![Page 17: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/17.jpg)
An oldschool ops shopAn oldschool ops shop● What dependencies ?What dependencies ?
● No machines available ?No machines available ?
● What database ?What database ?
● Security ?Security ?
● High Availability ? High Availability ?
● Scalability ?Scalability ?
● My computer can't install this ?My computer can't install this ?
![Page 18: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/18.jpg)
Devs vs OpsDevs vs Ops
![Page 19: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/19.jpg)
11 days into production11 days into production
![Page 20: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/20.jpg)
How do we get there ?How do we get there ?
![Page 21: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/21.jpg)
Culture,Culture,automation, automation,
Measturement,Measturement,
sharingsharing
![Page 22: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/22.jpg)
Burn the Silos Burn the Silos
![Page 23: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/23.jpg)
Playing TogetherPlaying Together
Getting AlongGetting AlongOpsOpsDevs Devs
![Page 24: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/24.jpg)
Build TrustBuild Trust● ExperimentExperiment
• DevDev
• TestTest
● ProdProd
● Automate all the Automate all the thingsthings
● Measure successMeasure success
● Measure FailureMeasure Failure
![Page 25: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/25.jpg)
Celebrate SuccessCelebrate Success
![Page 26: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/26.jpg)
Culture, Culture,
Automation,Automation,Measurement,Measurement,
SharingSharing
![Page 27: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/27.jpg)
Automate all the thingsAutomate all the things● BuildBuild
• reproducable builds are undiscussablereproducable builds are undiscussable
● TestTest
• testing reduces risk testing reduces risk
• automate deployments of your test infra automate deployments of your test infra
● DeployDeploy
• Infrastructure as CodeInfrastructure as Code
• 100% automation 100% automation
• Can you rebuild your infrastructure ?Can you rebuild your infrastructure ?
•
![Page 28: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/28.jpg)
Do you do Continuous Integration ?Do you do Continuous Integration ?
![Page 29: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/29.jpg)
Do YOU test your code ?Do YOU test your code ?
![Page 30: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/30.jpg)
devops (<)> continuous delilvery devops (<)> continuous delilvery
![Page 31: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/31.jpg)
How many times a day ?How many times a day ?● 10 @ Flickr10 @ Flickr
● Deployments used to be painDeployments used to be pain
● Nobody dared to deploy a siteNobody dared to deploy a site
● Practice makes perfectPractice makes perfect
● Knowing you can vs constantly doing it Knowing you can vs constantly doing it
![Page 32: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/32.jpg)
Infrastructure as CodeInfrastructure as Code● Treat configuration automation as code Treat configuration automation as code
● Development best practicesDevelopment best practices
• Model your infrastructureModel your infrastructure
• Version your cookbooks / manifestsVersion your cookbooks / manifests
• Test your cookbooks/ manifestsTest your cookbooks/ manifests
• Dev/ test /uat / prod for your infraDev/ test /uat / prod for your infra
● Model your infrastructureModel your infrastructure
● A working service = automated ( Application Code + A working service = automated ( Application Code + Infrastructure Code + Security + Monitoring )Infrastructure Code + Security + Monitoring )
● Think Puppet, Chef, Cfengine, ...Think Puppet, Chef, Cfengine, ...
![Page 33: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/33.jpg)
If my computer can't install your If my computer can't install your software, your software is broken.software, your software is broken.
Luke Kanies, Fosdem 2007Luke Kanies, Fosdem 2007
![Page 34: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/34.jpg)
Deploying a Drupal SiteDeploying a Drupal Site● Drush_make Drush_make
● ProfilesProfiles
● Features ,strongarm , Custom codeFeatures ,strongarm , Custom code
• Configuration as CodeConfiguration as Code
● What with external apps and libraries?What with external apps and libraries?
• Lucene – Solr – Tika – BI softwareLucene – Solr – Tika – BI software
● Test before you drive! Test before you drive!
![Page 35: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/35.jpg)
If my computer can't deploy your site, If my computer can't deploy your site,
it isn't worth deploying.it isn't worth deploying.Kris Buytaert, DrupalCon Munich 2012Kris Buytaert, DrupalCon Munich 2012
![Page 36: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/36.jpg)
Culture, Culture,
Automation,Automation,
Measurement :Measurement :
measure all the thingsmeasure all the thingsSharingSharing
![Page 37: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/37.jpg)
![Page 38: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/38.jpg)
Self Service MetricsSelf Service Metrics
● Being able to add new metrics Being able to add new metrics
● Build your own dashboardsBuild your own dashboards
● Look at metrics / logs on all platformsLook at metrics / logs on all platforms
● Learn from the platformLearn from the platform
![Page 39: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/39.jpg)
Graphite Graphite
x
![Page 40: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/40.jpg)
Graphite APIGraphite API
![Page 41: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/41.jpg)
● Collect from anywhereCollect from anywhere
● FilterFilter
● Send anywhereSend anywhere
● QueingQueing
![Page 42: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/42.jpg)
![Page 43: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/43.jpg)
StatsdStatsd
● A network daemon that runs on a zillion A network daemon that runs on a zillion platform and listens for statistics, like counters platform and listens for statistics, like counters and timers, sent over UDP and sends and timers, sent over UDP and sends aggregates to one or more pluggable backend aggregates to one or more pluggable backend services (e.g., Graphite).services (e.g., Graphite).
![Page 44: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/44.jpg)
![Page 45: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/45.jpg)
Math 101Math 101
● f(x)f(x)
● f'(x)f'(x)
● f''(x)f''(x)
● ... statistics 101... statistics 101
![Page 46: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/46.jpg)
Visualize Business MetricsVisualize Business Metrics● $revenue$revenue
● #sales#sales
● signups signups
● conversionsconversions
● Api callsApi calls
● Application useApplication use
![Page 47: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/47.jpg)
Culture, Culture,
Automation, Automation,
Measurement,Measurement,
SharingSharing
![Page 48: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/48.jpg)
DashboardsDashboards
![Page 49: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/49.jpg)
Sharing environmentsSharing environments
● Build identical environmentsBuild identical environments
● Share codeShare code
● Shared ownership of content , code and Shared ownership of content , code and configurationconfiguration
![Page 50: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/50.jpg)
More SharingMore Sharing● Open SourceOpen Source
● GithubGithub
● Talk about ExperiencesTalk about Experiences
● Open SpacesOpen Spaces
![Page 51: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/51.jpg)
FoodFood
![Page 52: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/52.jpg)
ConclusionsConclusions● Drupal gets it and is supportiveDrupal gets it and is supportive
● Conversation happensConversation happens
● Long Journey aheadLong Journey ahead
● Heading in the right directionHeading in the right direction
![Page 53: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/53.jpg)
It's not about the toolsIt's not about the tools
![Page 54: Let's bring the teams back together](https://reader038.vdocument.in/reader038/viewer/2022103113/5549b3acb4c905e5048b47ab/html5/thumbnails/54.jpg)
ContactContactKris BuytaertKris [email protected]@inuits.eu
Further ReadingFurther Reading@krisbuytaert @krisbuytaert http://www.krisbuytaert.be/bhttp://www.krisbuytaert.be/blog/log/http://www.inuits.eu/http://www.inuits.eu/
InuitsInuits
Duboistraat 50Duboistraat 502060 Antwerpen2060 AntwerpenBelgiumBelgium
+32 475 961221+32 475 961221