© 2012 about me doing agile since 1999 start ups / enterprises planigle - consulting and training...

18
Deploying Often

Upload: lydia-tyler

Post on 01-Jan-2016

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

Deploying Often

Page 2: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

About MeDoing agile since 1999Start ups / EnterprisesPlanigle - Consulting and TrainingQcue – VP, Engineering

Page 3: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

Case Study: QcueSAASSmall team (DevQAOps)Deploy every weeknight (for 2 years)Automation and monitoring are keyLots of small issuesFew big issues

Page 4: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

AgendaWhy do it?PrerequisitesGetting Good At It

Page 5: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

Value Before Continuous DeployA lot of the literature focuses on going “all

the way”You get a lot of value before thatAnd it is much easier!

Page 6: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

Customer BenefitsCan turn around fixes / small features quicklyAble to give feedback incrementally

Page 7: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

Engineering BenefitsEasy to narrow down what caused the

problemEasy to fixKnown stability

Page 8: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

What if I don’t do SaaS?Deploy to an internal server insteadUse data typical of productionQA, Prod Mgmt, etc. can use itEverything else can still apply

Page 9: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

DownsidesEvery deploy can crash and burnHave to be vigilantIf done poorly, can spend all your time

recovering

Page 10: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

Prerequisites – TestingUnit testsIntegration testsAbility to see what it will look like in

production

Page 11: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

Prerequisites – DeploymentAutomated buildNotification on failurePromote last build that passes

Page 12: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

Prerequisites – MonitoringWeb site / User monitoringApplication / Guts monitoringLog monitoring

Page 13: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

Prerequisites – ProcessesWhat if deployment fails?What if your server crashes?What if data is corrupted?What if a critical error gets deployed?

Page 14: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

Getting Good At It / Tips and TricksDefects are the first priorityIdentify / fix the root causeIdentify / repair holes in testing / monitoringSmall stories helpCode reviews / pair programmingRetrospect often and changeDon’t be disruptiveCommunicate early and often!

Page 15: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

What if it is TOO BIG?Break into incrementsMake it admin onlyA few customers at a time

Page 16: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

What if it is too risky?Identify risky areasVary process by riskinessAnyone can block the deploy

Page 17: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

Messaging to CustomersRelease and Marketing can be distinctFine grained vs. large grained

communication

Page 18: © 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering

© 2012

ResourcesWalter Bodwell

[email protected]

Twitter: @wbodwellwww.planigle.com

www.walterbodwell.com