Translate

Monday, December 2, 2013

DevOps Notes



Notes on DevOps: Continuous Delivery & Continuous Deployment
1)      Imbibing agile methodologies – Use of agile and other development processes and methodologies
2)      Lowered time to market – Demand for an increased rate of production releases from application and business unit stakeholders
3)      Proven benefit of virtual infrastructure – Wide availability of virtualized and cloud infrastructure from internal and external providers
4)      Automated configuration – Increased usage of data center automation and configuration management tools
5)      Measuring strategy for effectiveness of DevOps : http://zeroturnaround.com/labs/how-to-measure-the-effectiveness-of-implementing-devops/
6)      Impact of application release
a.       Reduced changed scope – small scope for each iteration
b.      Increased release co – ordination – bridging the communication gap between dev à ops and ops à dev
c.       Increased automation – repeatability of deployment
7)      Reason of conflict between Development & Operations Teams
a.       Development teams are more focused on releasing new functional requirement early which specifically revolves around business requirement. They use operating environment which are attuned to rapid & flexible options to produce outcome faster. The team are usually ignorant of the distributed runtime environment which hosts the application for production use
b.      Operations teams are focused towards guarantying NFR and therefore resistant to bring in new changes often that may question the existing NFR
8)      Solution
a.       Better release planning
b.      Better release co – ordination
c.       Better deployment automation
9)      Measurement of ROI for DevOps
a.       Mean Time Between Failure (MTBF)
b.      Mean Time to Recover
c.       Mean Time to Rollback
d.      How many issues (changes/feature adds) got resolved in period x?  Deliveries / time
e.      # deployments to prod : # incidents created
f.        Tie a cost of incidents to a % of revenue (an example given was, if the cost of incidents is <3% of revenue, then they're doing a good job, and should focus more on quicker delivery) “size” of deployment
g.       Cost of Deployment = time to deploy * people involved or waiting
h.      Length of cycle time (# of features in a period of time) vs # of outages
i.         Amount of dev time spent on features vs bug fixes
j.        DevOps “Karma” measurements –
                                                               i.      Measuring happiness of people – avg team member smileys / month   :) vs :(
                                                             ii.      Ability to attract key people / retaining top talent
                                                            iii.      Dilbert count – it was suggested that more dilbert comics are posted on cubicle walls = a worse environment to work in.  This was countered by the argument that a sarcastic environment can still be highly effective and enjoyable.
k.       # of bugs that come out of a release
l.         Visibility of app status (latency, # hits)
m.    # of early catches – incidents that were prevented due to having the people
n.      % “value” releases vs % “internal” releases (where an internal release = bug fixes or eliminating technical debt to helps ensure everything runs smoothly
o.      “Ripple Effect” – # changes coming out of development that required an operational procedure or tooling change (dev –> ops), then measure the amount of time that developers spent helping operations people (ops –> dev)
p.      Planned vs Unplanned Changes (visible ops guys say that the number of unplanned changes should be zero)… possible to measure # of system logons
q.      Ability to value IT staff’s value (“I saved the company x $$”)
r.        What’s the cost of moving a unit of value from development to the end user? Seen as a manufacturing process: when you know that value, you know whether it’s worth it to pay more to get it out faster
10)   Solution space
a.       Automated infrastructure
b.      Shared version control
c.       One step build
d.      One step deployment
e.      Feature flags and branches
f.        Private beta
g.       Bucket testing
h.      Dark launches
i.         Shared metrics
j.        Logs (build, deployment, alert)
k.       Communication pointer
                                                               i.      What metrics will change
                                                             ii.      Risks involved
                                                            iii.      Signs that something is going wrong
                                                           iv.      Contingencies available
l.         Respect + Trust + Healthy attitude about failure + Avoiding blame
11)   Levers (CI)
a.       Build tool specific optimization and templating
b.      Version control support
c.       Unit test strategies
d.      Integration, Functional, Load & Performance Testing (*TaaS ?? & Formation)
e.      Code quality analysis
f.        Issue management
g.       Technical Documentation
h.      Alert & Notification
i.         Reports
12)   Levers (CD)
13)   CloudForge
a.       Top focus area
                                                               i.      Source code management
                                                             ii.      Agile dev tools
                                                            iii.      Build
                                                           iv.      Testing
                                                             v.      Deployment tool & framework
                                                           vi.      Application monitoring
                                                          vii.      File storage
14)   Jenkins Integration Opportunity
a.       VCS
b.      Build Tool
c.       Test Framework
d.      Programming Platform
e.      Static Analysis
f.        Code coverage
g.       Notification
h.      Virtual Machine