30
World ® ’1 6 Automated Application Deployment 101 —Getting Started and Best Practices Anand Chauhan - Principal Consultant, DevOps – CA Technologies DO5X24E DEVOPS

Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

Embed Size (px)

Citation preview

Page 1: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

World®’16

AutomatedApplicationDeployment101—GettingStartedandBestPracticesAnandChauhan- PrincipalConsultant,DevOps– CATechnologies

DO5X24E

DEVOPS

Page 2: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Visionwithoutexecutionishallucination.“ “

—ThomasEdison

Page 3: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

Page 4: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

It’stimetomoveawayfromslow,manualapplicationreleaseprocessesandhardtomaintain,error-pronescripts.

Thissessionisdesignedtohelpyouunderstandthebasicsofautomatingapplicationdeploymentsfromdevelopmenttotesttoproductionusinganenterprise-classARAsolution:CAReleaseAutomation.

Itoffersseveraltipstohelpyougetstartedquicklyanddemonstrateshowtolayafoundationofbestpracticesthatyoucanbuilduponasyoumatureyourapplicationreleasepractices.

AnandChauhanCATechnologiesPrincipalConsultant

DevOps-ContinuousDelivery

Page 5: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

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

Page 6: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

AutomatedApplicationDeployments–GettingStarted

Page 7: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

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

Page 8: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

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

Page 9: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

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

Page 10: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

HowDoYouMoveFastertoDelightCustomers?

Theabilitytoreliablyreleasehigh-qualityapplicationsatanytime

CONTINUOUSDELIVERY

AccelerateDeliveries

ReduceErrors

ManageComplexity

IncreaseVisibility

DriveCollaboration

ContinuallyImprove

Page 11: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

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

?

Page 12: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CARELEASEAUTOMATION

AutomationEngine

(Application-centric,Modular,DynamicDeployments)

ContinuousDeliveryEdition(Release-centric,AdaptiveCDPipeline)

ProvenfoundationforcompaniestoexecuteasuccessfulDevOps,continuousdeliverystrategy

Rapidlyandreliablyautomatingapplicationdeploymentondemand

Planning,managingandoptimizingthecontinuousdeliverypipeline

Page 13: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Page 14: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

BETTERPRACTICE=PATTERNS– ANTIPATTERNS

BESTPRACTICE=“PROVEN”BETTERPRACTICE

Page 15: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Anti-PatternsBarriersimpactingapplicationdeliveryspeed,cost,qualityandcustomerexperience

ManualHandOff

ManualProcess

TribalKnowledge

VisibilitySilos

ReleasePackageIntegrity

Page 16: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

SuccessPatterns:BestPracticesProvenfoundationalpracticestobuildanagile,resilientcontinuousdeliverypipeline

ü AdaptiveReleaseCycle(LEAN)ü RequirementsTracking(LEAN)ü Model-BasedDeployment(ARA)

ü DeploymentPipeline(CD)ü Auto-Deploy+Auto-Promote(CD)ü ArtifactPackageModel(ARA)

Page 17: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Let’sGetStarted!5-stepapproachtobuildaresilient,adaptivecontinuousdeliverypipeline

1 2 3 4 5

CreateAdaptiveContinuousDeliveryPipeline

CreateDynamic,ModularDeploymentProcess

DefineArtifactPackageModel

EstablishQualityControlGates

BaselineMetrics,Analytics,ContinuousImprovement

Page 18: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

5

1

2

4

3

Page 19: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CreateContinuousDeliveryPipeline

§ Createreleaseblueprinttoestablishenterprise-widebestpractice– Align Requirements

– Adaptive Pipeline

– Dynamic Deployment

– Control Gates§ Embedopen-integrationframework

toallowteamsusepreferredtoolsandfollowacommondiscipline

§ Includestandardprotocolsforgovernance,releasequality,securityandchangemanagement

1

Page 20: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

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

Page 21: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

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

Page 22: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DefineArtifactPackageModel

§ DesignArtifactPackagetobeinclusiveofall changes-binaries,environmentandappconfigurations

§ Ensureartifactpackageintegrityduringadeploymentprogressiontoreducerisk,improvereleasequality.

§ Reviewdeploymentpipelineforend-to-endtraceabilitytoreduceMTTRandestablishacontinuousfeedbackloop.

3

Page 23: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

QualityControlGatesBasedonSpeedandRiskProfile

§ Reviewgatingstrategywithinreleaseblueprinttofollowgovernance,quality,complianceprotocols.

§ IntegratewithexistingChangeManagementsystemsfornon-ITbusinessusers.

§ Includerelevantinformationwithessentialdatapointsinchangeorder/request toreduceapproval‘wait’timesandoptimizedeliveryspeed.

4

Page 24: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

BaselineMetricsandAnalyticsforContinuousImprovement

§ Establishreal-timedashboardtodrivecollaborativeDevOpspractices

§ Continuallyoptimizecontinuousdeliverypipelineforquality,costandspeed– Identifyopportunitiestoresolve

releasecyclebottlenecks

– Prioritizebasedonnear-termbusinessobjectives(speed/cost/risk/quality)

§ Monitorevolutionofcontinuousdeliverymaturityofteams

5

Page 25: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

CAReleaseAutomationDemonstration

Page 26: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

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

Page 27: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

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

Page 28: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

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

Page 29: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ThankYou!

Stayconnectedatcommunities.ca.com

Page 30: Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Practices

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.30 @CAWORLD#CAWORLD

DevOps– ContinuousDelivery

FormoreinformationonDevOps– ContinuousDelivery,pleasevisit:http://cainc.to/PiTFpu