Lori MacVittie
@lmacvittie
Sr. Product Manager, Emerging Technologies
What is Devops?
@lmacvittie #DevopsSummit
Devops is a verb
Dev  ops (v) The operationalization of application deployments.
@lmacvittie #DevopsSummit
Operations
• Error Prone Process
• Difficult to Debug
• Time Consuming
Manual / Scripted Configuration
Application Infrastructure
Application
Security
Identity and
Access
Local Load
Balancing
Application
Performance
Application
Proxies
Web & App
Servers
@lmacvittie #DevopsSummit
Operations
• Simplifies troubleshooting & rollback
• Consistent, predictable and repeatable process execution
• Captures tribal knowledge
Scripting and APIs
Application Infrastructure
Application
Security
Identity and
Access
Local Load
Balancing
Application
Performance
Application
Proxies
Web & App
Servers
Automation
and
Orchestration
@lmacvittie #DevopsSummit
Proving the Value
48%
say biggest difficult in implementing
devops is “its value is not understood
outside my group”.
2012 DevOps Survey presented by Puppet Labs and IT Revolution Press; Indeed.com
@lmacvittie #DevopsSummit
Quantifying the Value of
Devops
…without doing devops
@lmacvittie #DevopsSummit
Sigma Shifts
A sigma shift is a measurable improvement in the execution of a process.
@lmacvittie #DevopsSummit
σ
Z = SL – x
σ
Z = sigma score
SL = specification limit
x = the mean
σ = standard deviation
Sigma Calculations
@lmacvittie #DevopsSummit
Translation
You can improve the quality of a process by reducing variation in measurable
outcomes.
@lmacvittie #DevopsSummit
CPR
Consistent Predictable Repeatable
Error Rates Time to Deploy Frequency
@lmacvittie #DevopsSummit
Baseline
1 Define the measurement and the tolerable upper and
acceptable lower limits (ULS and LLS)
2 Collect the data
3 Do the maths
4 Model improvement
@lmacvittie #DevopsSummit
Predictive Powers
@lmacvittie #DevopsSummit
Time to Deploy (days) Time to Deploy (days) Time to Deploy (days)
8 4 2
16 8 4
18 9 4
20 10 5
17 8 4
15 7 3
Mean 15.67 7.67 3.67
StdDev 4.13 2.07 1.03
USL 5 5 5
LSL 3 3 3
AVG-LSL 12.67 4.67 0.67
USL-AVG -10.67 -2.67 1.33
Sigma Level -2.58 -1.29 .65
Probability of SLA failure 100% 90% 26%
Error Rate (minutes
troubleshooting)
Error Rate (minutes
troubleshooting)
Error Rate (minutes
troubleshooting)
90 45 22
40 20 10
70 35 20
20 10 5
360 180 90
100 50 25
Mean 113.33 56.67 28.67
StdDev 124.53 62.26 30.99
USL 60 60 60
LSL 10 10 10
AVG-LSL 103.33 46.67 18.67
USL-AVG -53.33 3.33 31.33
Sigma Level -0.43 0.05 1.01
Probability of failure 67% 48% 16%
Time to Deploy (days) Time to Deploy (days) Time to Deploy (days)
Configure Web Server 8 8 8
Configure App Server 16 8 16
Configure Firewall 18 18 1
Configure Load Balancer 20 10 20
Configure Acceleration 17 17 17
Configure Security 15 15 15
Mean 15.67 12.67 12.83
StdDev 4.13 4.55 7.03
USL 5 5 5
LSL 3 3 3
AVG-LSL 12.67 9.67 9.83
USL-AVG -10.67 -7.67 -7.83
Sigma Level -2.58 -1.69 -1.11
Probability of failure 100% 95% 87%
GIGO
Automating poor processes accelerates the rate of failure
@lmacvittie #DevopsSummit
@lmacvittie #DevopsSummit
Thank you!
@lmacvittie
l.macvittie@f5.com
Solutions for an application world.

Devops is all greek

  • 1.
    Lori MacVittie @lmacvittie Sr. ProductManager, Emerging Technologies
  • 2.
  • 3.
    Devops is averb Dev  ops (v) The operationalization of application deployments. @lmacvittie #DevopsSummit
  • 4.
    Operations • Error ProneProcess • Difficult to Debug • Time Consuming Manual / Scripted Configuration Application Infrastructure Application Security Identity and Access Local Load Balancing Application Performance Application Proxies Web & App Servers @lmacvittie #DevopsSummit
  • 5.
    Operations • Simplifies troubleshooting& rollback • Consistent, predictable and repeatable process execution • Captures tribal knowledge Scripting and APIs Application Infrastructure Application Security Identity and Access Local Load Balancing Application Performance Application Proxies Web & App Servers Automation and Orchestration @lmacvittie #DevopsSummit
  • 6.
    Proving the Value 48% saybiggest difficult in implementing devops is “its value is not understood outside my group”. 2012 DevOps Survey presented by Puppet Labs and IT Revolution Press; Indeed.com @lmacvittie #DevopsSummit
  • 7.
    Quantifying the Valueof Devops …without doing devops @lmacvittie #DevopsSummit
  • 9.
    Sigma Shifts A sigmashift is a measurable improvement in the execution of a process. @lmacvittie #DevopsSummit σ
  • 10.
    Z = SL– x σ Z = sigma score SL = specification limit x = the mean σ = standard deviation Sigma Calculations @lmacvittie #DevopsSummit
  • 12.
    Translation You can improvethe quality of a process by reducing variation in measurable outcomes. @lmacvittie #DevopsSummit
  • 13.
    CPR Consistent Predictable Repeatable ErrorRates Time to Deploy Frequency @lmacvittie #DevopsSummit
  • 14.
    Baseline 1 Define themeasurement and the tolerable upper and acceptable lower limits (ULS and LLS) 2 Collect the data 3 Do the maths 4 Model improvement @lmacvittie #DevopsSummit
  • 15.
  • 16.
    Time to Deploy(days) Time to Deploy (days) Time to Deploy (days) 8 4 2 16 8 4 18 9 4 20 10 5 17 8 4 15 7 3 Mean 15.67 7.67 3.67 StdDev 4.13 2.07 1.03 USL 5 5 5 LSL 3 3 3 AVG-LSL 12.67 4.67 0.67 USL-AVG -10.67 -2.67 1.33 Sigma Level -2.58 -1.29 .65 Probability of SLA failure 100% 90% 26%
  • 17.
    Error Rate (minutes troubleshooting) ErrorRate (minutes troubleshooting) Error Rate (minutes troubleshooting) 90 45 22 40 20 10 70 35 20 20 10 5 360 180 90 100 50 25 Mean 113.33 56.67 28.67 StdDev 124.53 62.26 30.99 USL 60 60 60 LSL 10 10 10 AVG-LSL 103.33 46.67 18.67 USL-AVG -53.33 3.33 31.33 Sigma Level -0.43 0.05 1.01 Probability of failure 67% 48% 16%
  • 18.
    Time to Deploy(days) Time to Deploy (days) Time to Deploy (days) Configure Web Server 8 8 8 Configure App Server 16 8 16 Configure Firewall 18 18 1 Configure Load Balancer 20 10 20 Configure Acceleration 17 17 17 Configure Security 15 15 15 Mean 15.67 12.67 12.83 StdDev 4.13 4.55 7.03 USL 5 5 5 LSL 3 3 3 AVG-LSL 12.67 9.67 9.83 USL-AVG -10.67 -7.67 -7.83 Sigma Level -2.58 -1.69 -1.11 Probability of failure 100% 95% 87%
  • 19.
    GIGO Automating poor processesaccelerates the rate of failure @lmacvittie #DevopsSummit
  • 20.
  • 21.

Editor's Notes

  • #3 Let’s start by looking at what Devops boils down to.
  • #6 Captures tribal knowledge – the Campbell soup man expert system story. "You build an expert system when you have a significant specialized knowledge that exists only in a few people's heads and is acquired through years of experience," said Herrod, who recently attended the Instrument Society of America's annual conference in Philadelphia. Herrod developed one of his first expert systems for Campbell's Soup Co., where Aldo Cimino, an employee with 46 years of experience in the soup sterilization process, was about to retire. Cimino was the trouble-shooter for 72-foot-high sterilizers in which 68,000 cans of soup at a time are heated to 250 degrees. "If one of those breaks down, you're up to your ears in bad soup," Herrod said. "So when there was a problem the people at the plant couldn't fix, they'd call in Aldo. He had a lot of little tricks and knew how to figure out the problem." Cimino, who worked at the company's Camden, N.J., headquarters, said he was apprehensive when his boss asked him to put everything he knew about his job on a computer disk. "At first I thought, 'Oh my God, they're going to get rid of me,' " said Cimino. "But then I realized that I was 64 years old and getting ready to go anyway. They just wanted to save some of what I knew. "It felt weird at first," he said. "But I got used to it. It's like I left a piece of myself at that plant." It took seven months for a team of so-called knowledge engineers to pump 46 years worth of know-how from Cimino and store it on floppy disks. When they were finished, Cimino retired. He said the company didn't pay him any more money for picking his brain.
  • #7 2012 DevOps Survey presented by Puppet Labs and IT Revolution Press; Indeed.com
  • #8 This is a significant obstacle – how do you prove the value of devops without actually “doing” devops? How do you justify the investment in time, tools, training if you can’t prove the value to management or the business people?
  • #9 Six Sigma is a methodology that relies on measurement, analysis, and optimization of processes. It’s used in manufacturing as well as software development, where the reduction of errors is paramount to improving quality of the resulting product. But it’s basic principles can be applied to any output produced by a process that can be measured.
  • #10 The most common measurement is defects per X lines of code. Modern measurements might use technical debt as a measurable. With agile you could also use feature completeness per sprint.
  • #11 1 http://drbenchmark.org/wp-content/uploads/2014/02/ANNUAL_REPORT-DRPBenchmark_Survey_Results_2014_report.pdf 3 Ponemon 2013 Cost of Data Center Outages http://www.emersonnetworkpower.com/documents/en-us/brands/liebert/documents/white%20papers/2013_emerson_data_center_cost_downtime_sl-24680.pdf
  • #13 The point here is not to become six sigma black belts, but rather to apply its principles to devops. Six Sigma focuses on errors / defects, but its principles can be applied to anything that’s measurable … for devops, we’re going to use CPR.
  • #14 Consistent: Reduces errors. Predictable: You know how long it will take. Repeatable: You can successfully repeat it. Automation and orchestration enable that shift in part by eliminating human errors. Enables a significant increase in the productivity of operations teams – repeatable
  • #15 Pro tip: Excel has functions you can use. To get x use AVERAGE To get sigma use STDEV To model improvement, use NORMSDIST on the negative value of your sigma level
  • #16 One of the benefits of six sigma is it allows a standardized method of predicting failure (and conversely, success!) This allows you to model potential improvement based on initiatives you want to undertake: automation, orchestration, even as far as justifying the purchase of API-enabled infrastructure that will fit into a programmatic set of processes better.
  • #17 You can use the basic Six Sigma formula to demonstrate the probability of meeting expectations for service velocity based on automation providing different levels of process improvement. An approximately one sigma shift from -2.58 to -1.29 nets a 10% better chance of successfully deploying within expected time frames. Another shift nets you even greater gains.
  • #18 You can use six sigma principles to model reductions in error rates based on how much time it takes to troubleshoot.
  • #19 Generally speaking, you aren’t going to tackle the entire process at once. You need to identify which tasks within the process will net you the best results up front to really make an impact and get some buy in. You can use the six sigma principles to do that. Instead of looking at the whole process, look at individual tasks and play with improvement based on automating one or two tasks and see which one brings about the best return. This also lets you optimize the process. Some of these can be accomplished in parallel… which reduces the overall time to deploy.
  • #20 Remember, though, that automating poor processes is not going to get you the best results. Part of the whole exercise requires that you DEFINE the processes before you start measuring. It’s there you may find redundancy or inefficiencies that will net you improvements without laying down a line of code.