beyond ad hoc automation
play

Beyond Ad-hoc Automation To Structured Platforms Bridget Kromhout - PowerPoint PPT Presentation

Beyond Ad-hoc Automation To Structured Platforms Bridget Kromhout Pi @bridgetkromhout Bridget Kromhout lives: works: Minneapolis, Pivotal Minnesota podcasts: organizes: Arrested devopsdays DevOps Pi @bridgetkromhout navigating


  1. Beyond Ad-hoc Automation To Structured Platforms Bridget Kromhout Pi @bridgetkromhout

  2. Bridget Kromhout lives: works: Minneapolis, Pivotal Minnesota podcasts: organizes: Arrested devopsdays DevOps Pi @bridgetkromhout

  3. navigating infrastructure choices Pi @bridgetkromhout

  4. Previously, on Platform Tales… Docker in Production: Reality, Not Hype Pi @bridgetkromhout

  5. Deconstructing a monolithic Python/Django app into… Go microservices (as was the style at the time) Pi @bridgetkromhout

  6. Peak load: tens of thousands of requests per second Traffic variance: swings 10-20x throughout the week Pi @bridgetkromhout

  7. Pi @bridgetkromhout

  8. Containerized builds runs tests creates versioned deployable artifacts standardizes development environment Pi @bridgetkromhout

  9. Pi @bridgetkromhout

  10. also true for infrastructure as code. Pi @bridgetkromhout

  11. Pi @bridgetkromhout

  12. Pi @bridgetkromhout

  13. “Great job on those zero-downtime blue-green deployments!” —no CEO ever Pi @bridgetkromhout

  14. canary deployments Pi @bridgetkromhout

  15. Just because you can … …doesn’t mean you should . Pi @bridgetkromhout

  16. Pi @bridgetkromhout

  17. Image credit: Simon Wardley Pi @bridgetkromhout

  18. there has to be a better way Pi @bridgetkromhout

  19. let’s talk platforms… Pi @bridgetkromhout

  20. if you can deploy and operate code in any capacity, you have a platform opinions optional Pi @bridgetkromhout

  21. Pi @bridgetkromhout

  22. Pi @bridgetkromhout

  23. Pi @bridgetkromhout

  24. “Almost every task run under Borg contains a built-in HTTP server that publishes information about the health of the task and thousands of performance metrics” Large-scale cluster management at Google with Borg - Verma et al. 2015 Pi @bridgetkromhout

  25. Principles > Practices >Tools why > what Pi @bridgetkromhout

  26. Pi @bridgetkromhout

  27. Pi @bridgetkromhout

  28. reasonable constraints Pi @bridgetkromhout

  29. Constraints are the contract that allows a platform to keep promises. Pi @bridgetkromhout

  30. Everyone has a platform. What promises can your platform keep? Pi @bridgetkromhout

  31. does your platform promise this? • role based access to resources • record internal and external events • run code on demand • isolate resources and failures • coordinate cross-service configurations • measure performance/health • detect & determine failure • route public requests • recover from failures • read and write persistent data • day two operations • add and remove resources Pi @bridgetkromhout

  32. concourse.ci your pipeline to continuously deliver microservices (and win buzzword bingo) Pi @bridgetkromhout

  33. promises Pi @bridgetkromhout

  34. structured contracts determine the promises a platform can keep Pi @bridgetkromhout

  35. simple patterns automated by tooling Pi @bridgetkromhout

  36. “Any organization that designs a system (defined broadly) will produce a design whose structure is a copy of the organization's communication structure.” Mel Conway Pi @bridgetkromhout

  37. 12-factor apps need 12-factor ops Pi @bridgetkromhout

  38. Use tools and simple patterns to make doing the right thing the easy thing Pi @bridgetkromhout

  39. “To always be shipping, you need a shipyard ” Bret Mogilefsky of 18F, on cloud.gov Pi @bridgetkromhout

  40. Thank you! Pi @bridgetkromhout

Recommend


More recommend