Mais conteĂșdo relacionado Semelhante a How to Build a DevOps Toolchain (20) Mais de IBM UrbanCode Products (20) How to Build a DevOps Toolchain1. © 2013 IBM Corporation
A DevOps Toolchain
There and back again
Eric Minick
eminick@us.ibm.com
@EricMinick
2. © 2013 IBM Corporation
Software Delivery in a Nutshell
Biz
Idea!
Dev
â«
Codes /
Tests
"Make This!"
Ops
"Ship It"
Release /
Monitor
3. © 2013 IBM Corporation
Apps: More Important / More Complex
ï§More frequent changes
ï§ Lower tolerance for outages
ï§More complex applications
ï§More complex deployments
Biz
Idea!
Dev
â«
Codes /
Tests
"Make This!"
Ops
"Ship It"
Release /
Monitor
4. © 2013 IBM Corporation
Software Delivery in a Nutshell
Biz
Idea!
Dev
â«
Codes /
Tests
"Make This!"
Ops
"Ship It"
Release /
Monitor
This is
broken
5. © 2013 IBM Corporation
Software Delivery in a Nutshell
Biz
Idea!
Dev
â«
Codes /
Tests
"Make This!"
Ops
"Ship It"
Release /
Monitor
Are we
making more
money?
Howâs the
performance?
6. © 2013 IBM Corporation
Apps: More Important / More Complex
ï§More frequent changes
ï§Lower tolerance for outages
ï§More complex applications
ï§More complex deployments
ï§Need: Fix the Dev to Ops hand-off for speed /
reliability, and deliver better visibility into production
performance.
7. Thatâs DevOps
Enterprise capability for continuous software delivery that enables organizations to seize market
opportunities and reduce time to customer feedback
Continuous
ïŒEmbrace Change
ïŒManage Risk
ïŒCollaborate
ïŒAutomate
Customer Feedback &
Optimization
Collaborative
Development
Continuous
Business Planning
Steer
Operate Develop/
Test
DevOps
Deploy
Continuous Release
and Deployment
Continuous
Monitoring
Continuous
Testing
© 2013 7 IBM Corporation
8. © 2013 IBM Corporation
Themes in DevOps Tooling
Shared tools
Lots of automation
Self service *aaS
Version everything
Biz
Idea!
Dev
â«
Codes /
Tests
Agile Reqs.
Ops
Faster / Safer
Release /
Monitor
Feedback
Loops
Everywhere
9. © 2013 IBM Corporation
Example impact on tools:
Issue Trackers
10. © 2013 IBM Corporation
Example impact on tools: Issue Trackers
ï§Shared Tools: Within a project, have a common backlog for
development and infrastructure tasks.
ï§Automation: Make sure you have APIs available to
automatically create / migrate tickets based on tests,
monitoring, deployments.
11. Integrate a collection of a task tool-chains
© 2013 IBM Corporation
DevOps Toolchains
Span silos
DDeevv TTeesstt OOppss
Source http://www.geograph.org.uk/profile/19979
12. © 2013 IBM Corporation
Toolchain 1: Build
Source
Repos
Continuous
Integration & Build
Mgmt.
Static
Analysis
Build Registered
with Package
Build
Package
Repo
Build Script /
Compiler
Dependency
Management
Unit
Tests
Repo
Triggers
Basic Build Loop
Version
Meta-data
13. © 2013 IBM Corporation
Toolchain 2: Deployment
Package
Repo Deployment
Engine
Manifest
Creation
Test 1
Test 2
Test n
Prod
Environment
Config
Environment
Inventory
Builds
14. © 2013 IBM Corporation
Toolchain 3: Platform as a Service
Source
Repos Env. Def
Package
Repo
Deployment
Chain
Test 1
Test 2
Test n
Prod
Version
Meta-data
Pattern Engine
and Controller
Images
IaaS
Provisioning
Server
Configuration
Environment
Config
Environment
Inventory
15. © 2013 IBM Corporation
Toolchain 4: Test on Deployment
Package
Repo
Deployment
Chain
Test 1
Test ...
Test n
Prod
Test
Tools
Builds
Version
Meta-data
16. © 2013 IBM Corporation
Toolchain 5: Continuous Delivery / Deploy
Source
Repos
Continuous
Integration & Build
Mgmt.
Build
Package
Repo
Build Registered
with Package
Repo
Triggers
Version
Meta-data
Deployment
System
Builds
Test 1
Test ...
Test n
Prod
Functional
Tests
Performance
Tests
Monitoring
17. © 2013 IBM Corporation
Toolchain 6 â CD with Rollback
Source
Repos
Continuous
Integration & Build
Mgmt.
Build
Package
Repo
Build Registered
with Package
Repo
Triggers
Version
Meta-data
Deployment
System
Builds
Test 1
Test ...
Test n
Prod
Functional
Tests
Performance
Tests
Monitoring
Rollback
Event
Correlation
18. © 2013 IBM Corporation
Where does this get us?
Efficiency
Less manual effort
We avoid rework
Information is easier to find
Less dependence on tribal knowledge
19. © 2013 IBM Corporation
Where does this get us?
Consistency
Tasks required to deliver tracked in one place
CI and âofficial buildsâ unified
Same deployment tool for all environments
Same infrastructure tool in all environments
20. © 2013 IBM Corporation
Where does this get us?
Safety
Error prone manual processes minimized
Deployments of known versions
21. © 2013 IBM Corporation
Where does this get us?
Visibility
Deployments of known versions
Inventory of what is where
Audit is easy
23. IBM DevOps adoption model
New practices, tools and services to plan and execute a staged adoption
of DevOps to improve business outcomes
Inefficient Leaner Leaner and Smarter
Steer Product-based
Develop/Test
Deploy
Operate
Efficiency
Productive Waste
Agile
Automated
Collaborative
Optimizing
More
Predictable
More
Transparent
More
Continuous
Process-based
Process-heavy
Manual
Silo-ed
Feedback cycles
© 2013 23 IBM Corporation
24. © 2013 IBM Corporation
Audit what you have
ï§Where are the bottlenecks?
ï§Where are errors introduced?
ï§Where is communication weak?
Use our assessment tool
https://ibm.biz/devops-practices-assessment
28. Whatâs Normal? Left to Right, then Right to Left.
© 2013 IBM Corporation
1. Ensure at least âokâ build
2. Work on the deployment / delivery tool chain
3. Attach feedback mechanisms opportunistically
Source
Repos
Continuous
Integration & Build
Mgmt.
Build
Package
Repo
Build Registered
with Package
Repo
Triggers
Version
Meta-data
Deployment
System
Builds
Test 1
Test ...
Test n
Prod
Functional
Tests
Performance
Tests
Monitoring
29. © 2013 IBM Corporation
Key Points
ï§Lots of tools
âBuild, Deploy, Provision, Config, Test, Monitoring
âMultiple vendors: APIs & Direct Integrations
âExpect and manage overlap
ï§Share tools across silos
ï§Automate Aggressively
31. © 2013 IBM Corporation
Other good DevOps tool chain resources
ï§Gartner:
ââDevOps Toolchains Work to Deliver Integratable IT Process
Managementâ
ï§Dev2Ops.org
http://dev2ops.org/blog/2012/7/23/integrating-devops-tools-into-a-service-delivery-platform-vi.html
32. © 2013 IBM Corporation
UrbanCode References
http://developer.ibm.com/urbancode
ï§White Papers
âEnterprise CD Maturity Model
âDeployment Automation Basics
ï§Stay in touch
https://developer.ibm.com/urbancode/blog/
Twitter.com/UrbanCode Twitter.com/EricMinick
Slideshare.net/UrbanCode
33. © 2013 IBM Corporation
Q&A
@UrbanCode
@EricMinick
Slideshare.net/urbancode
Developer.ibm.com/urbancode/
Notas do Editor Main point: DevOps is an enterprise capability for continuous software delivery that enables clients to seize market opportunities and reduce time to customer feedback
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Here is the IBM definition of DevOps. It enables clients to:
Accelerate software delivery - by enabling collaboration between customers and enterprises and eliminating organizational silos
Balance speed, cost, quality and risk- By automating manual processes and eliminating waste
Improve client experience - By speeding the customer feedback loop
Notes:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
âCompanies that master effective software development and delivery in rapidly changing environments such as cloud, mobile and social will have a significant competitive advantage,â - Kristof Kloeckner, general manager, IBM Rational Software.
Rework: If we use the same deploy tool everywhere, we donât each create a deployment process
=
=