devops 101

63
DEVOPS -- AN IT MINDSET -- If you’re not writing software to manage them (Ops), you’re not surviving.

Upload: satya-sudheer

Post on 11-Apr-2017

105 views

Category:

Software


1 download

TRANSCRIPT

DEVOPS--ANITMINDSET--

Ifyou’renotwritingsoftwaretomanagethem(Ops),you’renotsurviving.

AGENDAContextPre-Agile/Pre-DevOpsDaysLittleHistoryWaterfall,CI,CD,DevOpsNirvanaCulture,Tools,Stories,EverythingElse

SOFTWAREMOVESFASTERTODAY/LIFEOFACODE

StartupscannowtakeongiantswithlittletonofundingaheadoftimeGettingyoursoftwareintothehandsofmillionsisadownloadawayYourabilitytomovefastisparamounttoyourabilitytofightoffdisruption

Softwarecreationanddistributioniseasierandfasterthanever

First,weneedtounderstandalittlebitaboutsoftwarereleaseprocesses

RELEASEPROCESSESHAVEFOURMAJORPHASES

Source:Create,review&checkinthecode.Build:Compilecode,Rununittests,Stylecheckers,GatherCodemetricsTest:Integrationtestswithothersystems,Loadtesting,UItests,PenetrationtestingProduction:Deploymenttoproductionenvironments

THESOFTWAREDELIVERYMODELHASDRASTICALLYCHANGED..

PRE-AGILE/PRE-DEVOPSDAYS

“Fearisthepathtothedarkside.Fearleadstoanger.Angerleadstohate.Hate

leadstosuffering.”–Yoda

LITTLEHISTORY2007-PatrickDebois,asoftwaredevelopmentconsultant,hadagoaloflearningallaspectsofIT.PatrickhadalwaysbeenbotheredbythedifferencesbetweenhowDevandOpsworked,buthebecameparticularlyfrustratedwiththechallengesofmanagingworkacrossthetwogroupsonhisprojects.2008-AndrewShaferpostedanideaforanagileinfrastructure“birdsofafeather”sessionattheAgile2008Conference.

LITTLEHISTORYCONTD..2009-JohnAllspaw,seniorvicepresidentoftechnicaloperationsatFlickr,andPaulHammond,directorofengineeringatFlickr,gaveapresentationattheO’ReillyVelocityConferenceinSanJose,“10+DeploysperDay:DevandOpsCooperationatFlickr.”ThepresentationlaidthegroundworkforhowDevandOpscaneffectivelyworktogethertoimprovesoftwaredeployment.#DevOpsDays2010-DevOpsDayswereheldinAustraliaandtheU.S.Overtime,thereweremoreandmoreDevOpsDaysthatwerehostedindifferentcountriesandcitiesaroundtheworld.

LITTLEHISTORYCONTD..2011-Upuntil2011,theDevOpsmovementhasbeenfueledbyindividualsandopensourcetoolswithlittleattentionfromanalystsorvendors.2012-By2012DevOpswasquicklyturningintoabuzzwordandDevOpsDayscontinuedtogrow.2014-LargecompaniessuchasTarget,NordstromandLEGObecamesomeofthefirstcompaniestobringDevOpsintotheenterprise.

WHATISDEVOPSNOT?It’sNotNoOpsIt’sNot(Just)ToolsIt’sNot(Just)CultureIt’sNot(Just)DevsandOpsIt’sNot(Just)AJobTitleIt’sNotEverything

DEVOPSWORKFLOW

Devopsisnotaplan,it’sareaction.

DEVOPSNIRVANAPaintthewallwithawareness

WATERFALLDEVELOPMENTDevelopmentteamswouldwriteabunchofcodefor

months.Thenthoseteamswouldmergetheircodeinordertoreleaseit.Theiraredifferentversionsofcodeandhavesomanychangesthattheactualintegrationstepcouldtake

days.

WEWEREJUSTWAITING..

CONTINUOUSINTEGRATIONContinuousintegrationisoftenthefirststepdownthepath

towardDevOpsmaturity.Itisthepracticeofquicklyintegratingnewlydevelopedcodewiththemainbodyof

codethatistobereleased.

CONTINUOUSDELIVERYItisanextensionofcontinuousintegration.It’sthepracticeofhavingthecodebasecontinuouslyinaready-to-deploy

state.

CONTINUOUSDEPLOYMENTItisDevOpsnirvana,isthemostadvancedevolutionof

continuousdelivery.It’sthepracticeofdeployingallthewayintoproductionwithoutanyhumanintervention.

RELEASEPROCESSESLEVELS..

STORIESNetflix,Etsy,Amazon,Pinterest,Flicker,IMVUandGooglearepopularexamplesofcompaniesdoingcontinuous

deployment.

GOOGLEDEVANDOPS-SRE15,000engineers,workingon4,000+projectsAllcodeischeckedintoonesourcetree(billionsoffiles!)5,500codecommits/day75milliontestcasesarerundaily

"Automatedteststransformfearintoboredom."--EranMesseri,Google

AMAZON

ChaosMonkeyChaosGorillaChaosKonLatencyMonkeyConformityMonkeySecurityMonkeyDoctorMonkeyJanitorMonkey

NETFLIX-SIMIANARMY

AWSOutage2014:Outofour2700+productionCassandranodes,218wererebooted.22Cassandranodesdidnot

rebootsuccessfully.

ESTY..

AMAZON,GOOGLE,NETFLIX..

DEVOPSTOOLINGSourceCodeRepositoryContinuousIntegrationBuildServerRepositoryManagementConfigurationManagementDeploymentVirtualInfrastructureTestAutomationInfrastructureOrchestrationMessaging/CollaborationBusinessIntelligenceSecurity

SOURCECODEREPOSITORY

Sourcecontrolisamajorcomponentofcontinuousintegration.

CONTINUOUSINTEGRATION

Integratescodeintoasharedrepositoryseveraltimesaday.Teamscandetect

problemsearlywiththehelpofautomatedunittestruns.

BUILDSERVER

Thebuildserverisanautomationtoolthatcompilesthecodeinthesourcecoderepositoryintoexecutablecodebase.

REPOSITORYMANAGEMENT

Arepositorymanagerisadedicatedserverapplicationdesignedtomanage

repositoriesofbinarycomponents.

CONFIGURATIONMANAGEMENT

Configurationmanagementdefinestheconfigurationofaserveroran

environment.

DEPLOY

Deploymenttoolshelpsusinautomatingapplicationdeployments,improvethespeedandqualityofsoftwarereleases.

VIRTUALINFRASTRUCTURE

Cloud/IaaS/PaaScombinedwithautomationtoolstoempower

organizationspracticingDevOpswiththeabilitytoconfigureaserverwithoutany

fingersonthekeyboard.

TESTAUTOMATION

DevOpstestingfocusesonautomatedtestingwithinyourbuildpipelinetoensurethatbythetimethatyouhaveadeployable

build,youareconfidentitisreadytobedeployed.

INFRASTRUCTUREORCHESTRATION

InfrastructureOrchestrationisanautomatedarrangement,coordination,andmanagementofcomplexcomputer

systems,middlewareandservices.

MESSAGING/COLLABORATION

BUSINESSINTELLIGENCE

SECURITY

REFERENCES

DEVOPSREADINGLIST

GhGithub

1 Fm

AwsAmazonWebServices

2 Fm

GtGit

3 Os

DmDBmaestro

4 En

ChChef

5 En

PuPuppet

6 En

AnAnsible

7 Os

SlSalt

8 Os

DkDocker

9 Os

AzAzure

10 Pd

BbBitbucket

11 Fm

LbLiquibase

12 Os

OtOtto

13 Os

BlBladeLogic

14 En

VaVagrant

15 Os

TfTerraform

16 Fr

Rkrkt

17 Os

GcGoogleCloudPlatform

18 En

GlGitLab

19 Os

RgRedgate

20 En

MvMaven

21 Os

GrGradle

22 Os

AtANT

23 Os

FnFitNesse

24 Os

SeSelenium

25 Fr

GaGatling

26 Os

DhDockerHub

27 Fr

JnJenkins

28 Os

BaBamboo

29 Pd

TrTravisCI

30 Os

GdDeploymentManager

31 Pd

SfSmartFrog

32 Os

CnConsul

33 Os

BcBcfg2

34 Os

MoMesos

35 Os

RsRackspace

36 En

SvSubversion

37 Os

DtDatical

38 En

GtGrunt

39 Os

GpGulp

40 Os

BrBroccoli

41 Os

CuCucumber

42 Fr

CjCucumber.js

43 Os

QuQunit

44 Fr

Npmnpm

45 Os

CsCodeship

46 Fm

VsVisualStudio

47 Pd

CrCircleCI

48 Fm

CpCapistrano

49 Fr

JuJuJu

50 Fr

RdRundeck

51 Os

CfCFEngine

52 Os

DsSwarm

53 Fr

OpOpenStack

54 Os

HgMercurial

55 Os

DpDelphix

56 En

Sbsbt

57 Fr

MkMake

58 Os

CkCMake

59 Os

JtJUnit

60 Fr

JmJMeter

61 Fr

TnTestNG

62 Fr

AyArtifactory

63 Os

TcTeamCity

64 Fm

ShShippable

65 Fm

CcCruiseControl

66 Os

RyRapidDeploy

67 En

CyCodeDeploy

68 Fm

OcOctopusDeploy

69 En

NoCANolio

70 En

KbKubernetes

71 Os

HrHeroku

72 Fm

CwISPW

73 En

IdIdera

74 En

MsbMSBuild

75 Os

RkRake

76 Os

PkPacker

77 Fr

McMocha

78 Os

XltvXLTestView

79 En

JmJasmine

80 Os

NxNexus

81 Os

CoContinuum

82 Os

CaContinuaCI

83 Fm

SoSolanoCI

84 Pd

XldXLDeploy

85 En

EBElasticBox

86 En

DpDeploybot

87 Fm

UdUrbanCodeDeploy

88 En

NmNomad

89 Os

OsOpenShift

90 En

XlrXLRelease

91 En

UrUrbanCodeRelease

92 En

BmBMCReleaseProcessManagement

93 En

HpHPCodar

94 En

AuAutomic

95 En

PlPlutoraRelease

96 En

SrSerenaRelease

97 En

TfsTeamFoundationServer

98 Pd

TrTrello

99 Fm

JrJira

100 Pd

RfHipChat

101 Fm

SlSlack

102 Fm

FdFlowdock

103 Fm

PvPivotalTracker

104 Pd

SnServiceNow

105 En

KiKibana

106 Os

NrNewRelic

107 Fm

NiNagios

108 Os

ZbZabbix

109 Os

DdDatadog

110 En

ElElasticsearch

111 Os

StStackState

112 En

SpSplunk

113 En

LeLogentries

114 Fm

SlSumoLogic

115 Fm

LsLogstash

116 Os

GrGraylog

117 Os

SnSnort

118 Os

TrTripwire

119 Os

FfFortify

120 En

EMBED DOWNLOAD ADDPERIODICTABLEOFDEVOPSTOOLS(V2)

Os OpenSource

Fr Free

Fm Freemium

Pd Paid

En Enterprise

SCM DatabaseMgmt Build

CI RepoMgmt Testing

Deployment Config/Provisioning Containerization

Cloud/Iaas/Paas ReleaseMgmt Collaboration

BI/Monitoring Logging Security

Follow@xebialabs

THANKYOU