Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cutting-edge Continuous Delivery: Automated Canary Analysis through Spinnaker - Cloud Foundry Summit Europe 2019

Fbcb461e8c19ccc6727f13dbfcd58362?s=47 Andreas Evers
September 12, 2019

Cutting-edge Continuous Delivery: Automated Canary Analysis through Spinnaker - Cloud Foundry Summit Europe 2019

Using Cloud Foundry, we’ve learned best practices about how to deploy software at velocity — things like automated releases, immutable infrastructure, gradual rollouts, and fast rollbacks.

One of the most sophisticated techniques of going to production quickly, with confidence, is called automated canary analysis. While canary deployments themselves are becoming a commodity, having an autonomous judge at your disposal, makes all the difference. The judge analyses metrics of both baseline and canary deployments and automatically rolls forwards or backward.

Meet Spinnaker, an open-source multi-cloud continuous delivery platform which embodies these core principles of safe, frequent and reliable releases with contributions from Netflix, Google, Microsoft, Oracle, and Pivotal.


Andreas Evers

September 12, 2019

More Decks by Andreas Evers

Other Decks in Technology


  1. © Copyright 2019 Pivotal Software, Inc. All rights Reserved. Cutting-edge

    Continuous Delivery: Automated Canary Analysis through Spinnaker Fast, Safe, Repeatable Multi-Cloud Deployments
  2. Cover w/ Image Who’s this guy? ▪ Andreas Evers -

    Senior Solutions Architect at Pivotal ▪ Part of Application Transformation (AppTx) EMEA ▪ Active in Pivotal’s Spinnaker team (collaboration between Spring & Cloud Foundry R&D) ▪ @andreasevers on Twitter
  3. The ultimate goal of continuous delivery is to deploy software

    quickly & automatically. This can only be achieved if we’re able to push new code without fear.
  4. Speed Confidence

  5. App Engine Compute Engine

  6. Spinnaker Ecosystem Cloud Providers App Engine Amazon Web Services Azure

    Cloud Foundry DC/OS Google Compute Engine Kubernetes Openstack Oracle CI Systems Jenkins Travis CI Wercker Concourse (coming soon) Artifact Support Docker Google Cloud Storage GitHub HTTP S3 Artifactory Monitoring Datadog Prometheus Stackdriver Atlas SignalFx (10+ more on roadmap) Notifications Email HipChat Slack SMS via Twilio
  7. = Application Centric Control Plane

  8. None
  9. Change Change Change Change SVC 1 SVC 2 SVC 3

    Provider A Zone X Provider B Zone Y Provider C Zone Z Cloud Deployments are Complex
  10. Multi-Foundation View

  11. None
  12. Easy Rollbacks are Important

  13. Rollbacks

  14. Deploy during the Right Timeframes

  15. Deployment Windows

  16. Deployment Strategies

  17. Automation

  18. Canary Birds

  19. Canary Birds

  20. Canary Analysis

  21. Chaos Monkeys

  22. Go Fast - With Safety ▪ Automated rollbacks ▪ Deployment

    windows ▪ Chaos monkeys ▪ Deployment strategies ▪ Automated canary analysis ▪ Cluster locking ▪ Traffic guards ▪ Manual judgements ▪ Conditional pipeline & stage execution ▪ Notifications
  23. Demo

  24. Rick And Morty

  25. Rick And Morty ▪ Green protagonist ▪ Rick turns himself

    into a pickle to avoid family therapy ▪ Rolls into the sewer and has to fight rats and cockroaches ▪ Comes out victorious ▪ Very strong, predictable and stable green version
  26. Rick And Morty ▪ Blue antagonist ▪ Genie in a

    box who exists only to solve the task at hand ▪ Will go to great lengths to solve that task ▪ Gets aggressive if the task can’t be solved ▪ Dangerous, chaotic and unstable blue version
  27. Rick And Morty

  28. Rick And Morty

  29. Rick And Morty

  30. Rick And Morty

  31. Rick And Morty

  32. Rick And Morty

  33. Demo bit.do/cfsummit

  34. Demo bit.do/ cf summit bit.do/ cf summit

  35. Speed Confidence

  36. None
  37. © Copyright 2019 Pivotal Software, Inc. All rights Reserved. Slides:

    https://speakerdeck.com/andreasevers Twitter: twitter.com/andreasevers spinnakerteam.slack.com SO tag:spinnaker spinnaker.io Cutting-edge Continuous Delivery: Automated Canary Analysis through Spinnaker Attributions: Doug Thompson (share.america.gov/english-idiom-canary-coal-mine) U.S. Navy photo by Mass Communication Specialist 1st Class Eric Brown [Public domain] Rick and Morty by Adult Swim
  38. Difference with Terraform / CloudFormation Spinnaker strengths lie in its

    ability to orchestrate deployment workflows using infrastructure. Terraform [& CloudFormation] shine at the management of cloud primitives. -- Brandon Leach, Lookout