il paradigma devops e continuous delivery automation
DESCRIPTION
Raggiungere nuovi livelli di time-to market ed efficienza: dallo sviluppo, al test, alla produzone in un solo passo. Gabriele Giacomelli, HP ALM Solution ConsultantTRANSCRIPT
Il paradigma DevOps e Continuous Delivery Automation Gabriele Giacomelli HP ALM Solution Consultant Baveno, Italy 20-21 June
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 2
IT Operations “Be predictable – minimize risk”
Features & code changes
Development “Be more agile - deliver faster”
Agile Development DevOps
DevOps: Bringing Applications to Market Faster Principles and processes for enhancing collaboration, communications and integration between software developers and IT Operations to rapidly produce/update applications and cloud services
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 3
Continuous Delivery: reliable software releases through build, test, and deployment automation Techniques such as automated testing, continuous integration and continuous deployment allow software to be developed to a high standard and easily packaged and deployed
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 4
Solutions for overcoming the differences between development and IT operations
HP DevOps Solutions
Lab Management Automation
Improving the testing process
Application Performance Lifecycle
Ensuring alignment, collaboration and communications
Application Release Acceleration
Accelerating the application release process
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Lab Management Automation
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 6
Assumes the lab is ready. Somehow….
The regular process
Report Run test Build ready
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 7
What about the lab?
But the truth is...
But we know the challenges:
• Who will setup the lab?
• How long will it take? What type of paperwork/processes?
• Do you have the infrastructure?
• What if you want to set it up on the Public/Private Cloud with various vendors?
Report Run test Setup lab Build ready
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 8
What about the application build?
And to take it further…
We know the challenges:
• Do you know when the build will be ready?
• Is it set up correctly?
• Is the process repeatable?
• What happens to the lab after testing is done?
Run test Deploy app Provision infra
Build ready Report
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 9
Improve application quality
HP Lab Management Automation Solution
Benefits • Developers and testers
manage their own lab environments
• Operations maintain the governance and select the appropriate resources
• Reusable application models are independent of the environment/infrastructure
Define Application Model
Define Infrastructure resources
Define Environment Model
One-time set-up activities Recurring activities
Deploy Application
Run Tests
Provide Results
Setup Environment
Release Environment
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 10
Align Data, Control Backend Profiles
Client Secured
Browsers&
Devices
Customers
Employees Web
Servers Load
Balancers Mainframe DB
Servers App
Servers
Web Services
Storage
3rd party Mobile
Components
SV Client Data
AUT Configuration Virtualized
• Quick test environment provisioning
• Dynamic data changes
• Instant resets
• Aligned client and backend test data
Backend &
3rd party Systems Application Virtual
Networks
Provision APIs
Virtualize to Simplify Test Data and Environment
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 11
Benefits
Lab management automation
• Manage your own lab
• Provision hardware – physical or virtual
• Use various cloud vendors as needed
• Error-proof deployment
• Model can be ported between various stages
• Virtualization of service
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Application Performance Lifecycle
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 14
The challenges today
• What are the requirements?
• Am I testing the right things?
• What should the SLOs be?
• How can I build scripts faster?
• How can I set up the monitors faster?
• How do I recreate production issues in testing?
• …..
• What are the requirements?
• Am I monitoring the right things?
• What should the SLAs be?
• How can I build scripts faster?
• How can I set up the monitors faster?
• …..
Test vs. production
Test Production
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 15
The answer lies in
How can Ops help me test the right things?
How can Testing help me maintain app quality?
Collaboration—changing the way they think
Test Production
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 16
Process flow guides users through the process
Step by step flow
Refine load test details
Collect & analyze production data Load test Analyze load
test data Compare production and load test data
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 17
Collaboration through HP Performance Center
Leverage data from production: Production usage information from • BSM, RUM, WebTrends, server logs, etc
Scripts • From synthetic Business Process Monitoring (BPM)
• From live sessions - Real User Monitoring (RUM)
Monitoring information • SiteScope profiles
To make performance testing: • More realistic
• Scenarios based on production usage
• More accurate
• Test results compared with production
• More reliable
• Data sharing, improves results with each testing cycle
Continuous delivery of application performance
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 18
DevOps—collaboration and quality
Benefits
• Make sure you are testing the right things
• Get better requirements
• Accelerate testing efforts
• Make testing more accurate
Collaborate towards a common objective—quality
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Application Release Acceleration
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 20
Release process is too long
Source: Forrester Research Inc., “Five Ways To Streamline Release Management”, February 2011
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 21
Competitive pressure is driving enterprises to release applications faster
Current Application Release Process
DEV
QA
PRO
D
STAG
E
Challenges • Provisioning and deployment processes are time-consuming
• Manual processes are error-prone.
• Different tools and processes for each stage
• Manual creation and hand-off of deployment docs and checklists
• “it works on my machine”
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 22
Accelerated Application Release Process Application portability with a building block approach
DEV
QA
PRO
D
STAG
E Private Cloud
Public Cloud
Middleware
Database
Application
Build 1
release gate
release gate
release gate
Release Management
Deployment Management with: • Flexible Application Modeling • Integration with tools of choice
• Single pane with E2E control of App setup • Flexible release lifecycle & stage gates
• Reduced configuration effort • App Deployment portability • Better knowledge reuse
Middleware
Database
Application
Build 5
Build 8
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 23
Flexible Application Modeling – HP Unique Technology
• Custom • Manual
HP Flexible Application Modeling*
Faster application modeling, greater flexibility and higher quality
• Difficult to update • Many application models
Today’s Application Design Approach
Hundreds of static application
designs
• Building block approach • Quickly build new models • Reusable components
• Simpler to design • Easier to maintain • Higher quality
Middleware
App
Database Design Library
* multiple patents pending
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 24
Single tool for automated release management and deployment
HP Application Release Acceleration Solution
DEV
QA
STAG
E
PRO
D
Provision & deploy anywhere at any stage
Traditional Managed
Public
Private
Release management • Define application release cycle
• Establish stage release criteria
• Create release approval process
• Support multiple, simultaneous releases
Automated deployment • Infrastructure provisioning
• Application deployment
• Integrated monitoring
• Traditional IT, managed services, private cloud or public cloud
• Physical or virtual environments
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 25
Improve Application Deployment Quality
• Reduce people and process errors through automation
• Ensure consistency of deployment
• Leverage knowledge across stages
• Increase test coverage with additional testing
Achieve application deployment success rates as high as 95%*
“Went from 20%-30% failure rates to 0.15% failure rates for application release processes under automation”
“Prior to automation, applications would be deployed slightly differently across each server. With automation, there is consistency and control”
Early Customer Experience
*As reported in an independent report by a customer in 2010 using the predecessor product
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Summary
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 27
Solutions for overcoming the differences between development and IT operations
HP DevOps Solutions
Lab Management Automation
Improving the testing process
Application Performance Lifecycle
Ensuring alignment, collaboration and communications
Application Release Acceleration
Accelerating the application release process
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 28