DevOps requires agility. The document discusses how DevOps involves operations and development engineers working together throughout the entire service lifecycle. It provides the example of Etsy, which deployed code to production an average of 32-50 times per day. Continuous integration is presented as a way to integrate changes frequently in order to detect issues early. The key aspects of continuous integration discussed are having a CI server that rebuilds and runs tests on every commit, as well as activities like unit testing, code analysis, reporting and visualization.
1. DevOps Requires Agility
Stephen D. Ritchie – Managing Consultant – Excella Consulting, Inc., 2300 Wilson Blvd, Suite 630, Arlington, VA 22201 – 703.840.8600 – http://excella.com
Stephen D. Ritchie
@RuthlessHelp
Oct 21, 2014
Agile Professionals Meetup
October 2014
2. Live Tweet, Slides and Examples
• Twitter: @RuthlessHelp
• Slides:
http://www.slideshare.net/ruthlesshelp
• Code Samples:
http://github.com/ruthlesshelp
Stephen D. Ritchie
2
3. DevOps is the practice of operations
and development engineers
participating together in the entire
service lifecycle, from design
through the development process
to production support.
http://theagileadmin.com/what-is-devops/
Stephen D. Ritchie 3
4. DevOps Defined
• Operations and Development Folks
– Working together
– Entire lifecycle
• Change in Mindset
– Values
– Principles
– Methods
– Practices
– Tools
Stephen D. Ritchie
4
5. Example: Etsy
• Overview, June 2012
– Launched June 18, 2005
– 875,000 active sellers
– 33.5 million items for sale
– $65.9 million in sales, May 2012
– 1.4 billion page views, May 2012
– 102 engineers
• How often do they release to Production?
Stephen D. Ritchie
5
6. Etsy Deployments
• Reported February 2011
“In January (a month in which we did over a billion
page views), code committed by 76 unique
individuals was deployed to production by 63
different folks a total of 517 times.”
• Reported June 2012
– 32 times per day
• Reported March 2014
– 50 times per day
– http://www.infoq.com/news/2014/03/etsy-deploy-
50-times-a-day
Stephen D. Ritchie
6
7. Let’s Step Back
• Dan Pink
– Drive: The surprising truth about what
motivates us
• RSA Animate video
– https://www.youtube.com/watch?v=u6XAPnuF
jJc
Stephen D. Ritchie
7
9. The Problem
Stephen D. Ritchie
Source
Code
1 3 2
9
Scott’s
Computer
Susan’s
Computer
You
1
2
3
Scott makes changes
Susan makes changes
You can’t build
10. What Went Wrong?
Stephen D. Ritchie
10
Conflicts
Missing Files
Breaking Changes
11. How do you
find
integration
issues?
Stephen D. Ritchie 11
12. Manual Integration
Build
Run Some Unit Tests
Perform Static Analysis
Clean + Rebuild All
Stephen D. Ritchie
12
28. Closing Thought: CAMS
• Culture
– People and process first
– Virtuous discipline
• Automation
– Dev: building, testing, analyzing, packaging, deploying
– Ops: release management, provisioning, configuration management,
systems integration, monitoring and control, and orchestration
• Measurement
– Measure everything you can as often as you can
– Visibility and transparency
• Sharing
– Openness, share ideas and problems
– Confront problems, not each other
– Fail your way to success
Stephen D. Ritchie
28
29. Stephen’s Contact Info
• Email:
stephen.ritchie@excella.com
• LinkedIn:
http://www.linkedin.com/in/sritchie
Stephen D. Ritchie
29