Post on 07-Jan-2017
transcript
World®’16
AutomatedApplicationDeployment101—GettingStartedandBestPracticesAnandChauhan- PrincipalConsultant,DevOps– CATechnologies
DO5X24E
DEVOPS
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Visionwithoutexecutionishallucination.“ “
—ThomasEdison
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
It’stimetomoveawayfromslow,manualapplicationreleaseprocessesandhardtomaintain,error-pronescripts.
Thissessionisdesignedtohelpyouunderstandthebasicsofautomatingapplicationdeploymentsfromdevelopmenttotesttoproductionusinganenterprise-classARAsolution:CAReleaseAutomation.
Itoffersseveraltipstohelpyougetstartedquicklyanddemonstrateshowtolayafoundationofbestpracticesthatyoucanbuilduponasyoumatureyourapplicationreleasepractices.
AnandChauhanCATechnologiesPrincipalConsultant
DevOps-ContinuousDelivery
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
OVERVIEW– AUTOMATEDAPPLICATIONDEPLOYMENT&‘SOFTWAREFACTORY’
BESTPRACTICES– SUCCESSPATTERNSV/SANTI-PATTERNS
NEXTSTEP– GETRUNNING…
GETSTARTED– READY,SET,GO!
DEMO– ZERO-TOUCHAUTOMATEDDEPLOYMENTSUSINGCARELEASEAUTOMATION
RECAP&SUMMARY
1
2
3
4
5
6
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
AutomatedApplicationDeployments–GettingStarted
7©2016CA.ALLRIGHTSRESERVED.CACONFIDENTIALANDPROPRIETARYINFORMATION;FORINTERNALUSEONLY.NOUNAUTHORIZEDUSE,COPYING ORDISTRIBUTION.
ContinuousDeliveryEcosystem&Workflow
Writeuserstories(requirements)
Rightdatafortherighttestenvironment
Dev Test QA Prod
Continuousintegration(Build-Deploy-Test)
ContinuousDeliveryWorkflowBuild/deployment/promotiondashboardandreports
Adaptive,dynamicreleases Automated&manualtesting/testdata Deploymentworkflow,rollback,pre/posttasks
Automatedtestkick-off,tracking
Testingcoverage&progressreporting
Triggerbuild&deployinDev
Runbook
Deploymentautomation
Release&artifacttracking,environmentmgmt,baselining
Applicationknowledge
Linkapplication touserstories
ToDo Doing Done
ManageAuthorize
Triggerreleasedeployment
PlanReleases
PlanReleaseTrains
Promote
Definereleaseworkflow,gates&environments
Watchprogress(tracing,auditing,reporting)
Createreleasepackagewithbuild/deploy
status
Getappdefinition
ReleaseManagerProductOwnerBusinessUserScrumMaster
EnterpriseArchitect
Dev
Developers
QA
Test/QADeploymentManager
Customer
Implementcomponents
Defineapp:Components&versions
Infraprovisioning/environmentmgmt/PaaS/containerization/configurationmgmt
AgileCentral
Useapp
1 2
3
45
6
7
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
EnvisiontheApplicationDeliveryLandscape…
SoftwareFactory
environm
ent
lifecycle
Interativedevelopment
Centralizedversionmgt
Automatedbuild
Require-ments
Continuousinspection
Continuousintegration
Automateddeployment
Staticcodescanning
AutomatedUI&APItesting Instrumentation
SYS INT UAT
Automatede2etesting
PERF BCPRC
StagingTX
monitoringUX
monitoring
DEV TEST/QA PRE-PROD PROD
…asaManufacturing Pipeline …&More!=PressurePoints,ComplexitiesPipeline“Conveyer Belt” Adaptive,Cross-Functional, Multi-Discipline,SharedResources
Standard, Repeatable,Automated“Flow” Model-Based,Dynamic,ShareableProcess
Environment“FactoryFloor” Diverse,Complex, Ever-Changing,Evolving
End-to-EndVisibility“Supervision” ScaledManageability,UniqueApp-specificMetrics/Analytics
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
HowDoYouHarnessReleaseComplexities?
What
Provision&decommissionon-demand
QA/TEST
DEV
PRODUCTION
PRE-PROD
How Where
Model,abstractandtrack
applications
Application1.1
Application1.n
ARTIFACTS
MODELS
PATTERNSWho
When
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
HowDoYouMoveFastertoDelightCustomers?
Theabilitytoreliablyreleasehigh-qualityapplicationsatanytime
CONTINUOUSDELIVERY
AccelerateDeliveries
ReduceErrors
ManageComplexity
IncreaseVisibility
DriveCollaboration
ContinuallyImprove
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CONTINUOUSDE
LIVE
RYM
ATURITY
ManualScripting
Automated
Continuous
Optimized
BUSINESSVALUE
LEVEL1 LEVEL2 LEVEL3 LEVEL4 LEVEL5 Organizationdepthandbreadthof
agilepractice
*Applicationreleaseautomationview
ContinuousImprovement
End-to-EndConnection
Consistency&Collaboration
Heroes&HeavyLifting
ContinuousDeliveryIsaJourneyMaturingofCulture,Apps,ProcessesandTools
AGILEMAT
URITY
Silos,manualhandovers,waterfall,onerelease/year,monolithicapps,longtermproject/resourceplanning,errorpronereleaseprocesses
DevOps,end-to-enddelivery,incrementalagile/sprintreleasecadence,multi-
componentmicroapps,“onthefly”scrumplanning,reliableandcontinuousreleases
CAReleaseAutomation
Letsgetstarted!
SoftwareFactory
?
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CARELEASEAUTOMATION
AutomationEngine
(Application-centric,Modular,DynamicDeployments)
ContinuousDeliveryEdition(Release-centric,AdaptiveCDPipeline)
ProvenfoundationforcompaniestoexecuteasuccessfulDevOps,continuousdeliverystrategy
Rapidlyandreliablyautomatingapplicationdeploymentondemand
Planning,managingandoptimizingthecontinuousdeliverypipeline
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
BETTERPRACTICE=PATTERNS– ANTIPATTERNS
BESTPRACTICE=“PROVEN”BETTERPRACTICE
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Anti-PatternsBarriersimpactingapplicationdeliveryspeed,cost,qualityandcustomerexperience
ManualHandOff
ManualProcess
TribalKnowledge
VisibilitySilos
ReleasePackageIntegrity
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SuccessPatterns:BestPracticesProvenfoundationalpracticestobuildanagile,resilientcontinuousdeliverypipeline
ü AdaptiveReleaseCycle(LEAN)ü RequirementsTracking(LEAN)ü Model-BasedDeployment(ARA)
ü DeploymentPipeline(CD)ü Auto-Deploy+Auto-Promote(CD)ü ArtifactPackageModel(ARA)
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Let’sGetStarted!5-stepapproachtobuildaresilient,adaptivecontinuousdeliverypipeline
1 2 3 4 5
CreateAdaptiveContinuousDeliveryPipeline
CreateDynamic,ModularDeploymentProcess
DefineArtifactPackageModel
EstablishQualityControlGates
BaselineMetrics,Analytics,ContinuousImprovement
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
5
1
2
4
3
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CreateContinuousDeliveryPipeline
§ Createreleaseblueprinttoestablishenterprise-widebestpractice– Align Requirements
– Adaptive Pipeline
– Dynamic Deployment
– Control Gates§ Embedopen-integrationframework
toallowteamsusepreferredtoolsandfollowacommondiscipline
§ Includestandardprotocolsforgovernance,releasequality,securityandchangemanagement
1
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CreateModularDeploymentProcess
§ Designmodular‘atomic’deploymentprocess
§ Reusable,Repeatable
§ Shareable§ Environment-agnostic§ Dynamic,Artifact-driven
§ Build-indeploymentvalidation=improveddeliveryspeed,reducederrors!
§ Auto-Validate§ Auto-Deploy§ Auto-Promote
2
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Model-Based,ReusableDeploymentProcess
DeploymentWorkflow
TestConfiguration
DeploymentWorkflow
Pre-ProdConfiguration
DeploymentWorkflow
ProductionConfiguration
Separationofapplication,workflowandenvironmentenablesbest-practices,increasedreliabilityandreuseamongmultipleapplications/teams
What
QA/TEST PRE-PROD PRODUCTIONDEV
FLEXIBLEPROCESSESMATCHYOURBUSINESSNEEDSTODAYANDINTHEFUTURE
How
Where
ArtifactPackage1.1 ArtifactPackage1.1 ArtifactPackage1.1
22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DefineArtifactPackageModel
§ DesignArtifactPackagetobeinclusiveofall changes-binaries,environmentandappconfigurations
§ Ensureartifactpackageintegrityduringadeploymentprogressiontoreducerisk,improvereleasequality.
§ Reviewdeploymentpipelineforend-to-endtraceabilitytoreduceMTTRandestablishacontinuousfeedbackloop.
3
23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
QualityControlGatesBasedonSpeedandRiskProfile
§ Reviewgatingstrategywithinreleaseblueprinttofollowgovernance,quality,complianceprotocols.
§ IntegratewithexistingChangeManagementsystemsfornon-ITbusinessusers.
§ Includerelevantinformationwithessentialdatapointsinchangeorder/request toreduceapproval‘wait’timesandoptimizedeliveryspeed.
4
24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
BaselineMetricsandAnalyticsforContinuousImprovement
§ Establishreal-timedashboardtodrivecollaborativeDevOpspractices
§ Continuallyoptimizecontinuousdeliverypipelineforquality,costandspeed– Identifyopportunitiestoresolve
releasecyclebottlenecks
– Prioritizebasedonnear-termbusinessobjectives(speed/cost/risk/quality)
§ Monitorevolutionofcontinuousdeliverymaturityofteams
5
CAReleaseAutomationDemonstration
26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Scale• Designforenterprise-scaleusing3-Tierarchitecture
• FocusonGovernance,Role-basedAccessControl
• Weave-inSecurity,Audit,Complianceprotocols
• Utilizeopen-integratedframeworktosecurecurrent&futuretechnologystack
Control• Easeofuse,adoption• Easeofsupport&maintenance
• BuildModular,Repeatable,ReusableProcess
• Promotecollaboration• BaselineMetrics• IdentifyOpportunities
Accelerate• Easeofonboardingnewapplications
• Promotesharing,reusability• EmbedDevOps/Lean/ContinuousDeliverybestpractices
• MonitorAnalyticsforContinuousImprovement.
SummaryBuildaresilient,adaptivecontinuousdeliverypipeline
27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Governance,approvalgatesReusablemodels,consistency
REPMGR
ContinuousDeliveryRealizedwithCAReleaseAutomation
Managethecomplexityandvolumeofapplications,toolsandenvironments
SCALE
Alignteamstofocusoncustomer-centric,on-demandreleases
ACCELERATE
Stabilizetheentirereleasecycletocontinuallyimprovequality
CONTROL
SCM CI CONTAINER TEST CONFIG CLOUD PROVISION CHANGEMGMT
Transparency,tracing,auditing Releasealerts&details
QA/TEST PRE-PROD PRODUCTIONDEV
CustomerExperience
28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RecommendedSessions
SESSION# TITLE DATE/TIME
DO5X18EBecomeaPowerUserofRAtoGettheMostoutofYourImplementation 11/14/2016at02:30pm
DO5X25LGettingStartedwithCAReleaseAutomationContinuousDeliveryEdition 11/15/2016at11:00am
DO5X23SEBSCOExecutesData-DrivenDeploymentsinCAReleaseAutomationforDiverseSoftwareInstallationTechnologies
11/16/2016at04:30pm
29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ThankYou!
Stayconnectedatcommunities.ca.com
@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.30 @CAWORLD#CAWORLD
DevOps– ContinuousDelivery
FormoreinformationonDevOps– ContinuousDelivery,pleasevisit:http://cainc.to/PiTFpu