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

beyond ad hoc automation
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1 Pi @bridgetkromhout

Beyond Ad-hoc Automation

To Structured Platforms

Bridget Kromhout

slide-2
SLIDE 2 Pi @bridgetkromhout

Bridget Kromhout

lives: Minneapolis, Minnesota works: Pivotal podcasts: Arrested DevOps

  • rganizes:

devopsdays

slide-3
SLIDE 3 Pi @bridgetkromhout

navigating infrastructure choices

slide-4
SLIDE 4 Pi @bridgetkromhout

Previously, on Platform Tales… Docker in Production: Reality, Not Hype

slide-5
SLIDE 5 Pi @bridgetkromhout

Deconstructing a monolithic Python/Django app into… (as was the style at the time) Go microservices

slide-6
SLIDE 6 Pi @bridgetkromhout

Peak load: tens of thousands of requests per second Traffic variance: swings 10-20x throughout the week

slide-7
SLIDE 7 Pi @bridgetkromhout
slide-8
SLIDE 8 Pi @bridgetkromhout

Containerized builds

runs tests creates versioned deployable artifacts standardizes development environment

slide-9
SLIDE 9 Pi @bridgetkromhout
slide-10
SLIDE 10 Pi @bridgetkromhout

also true for infrastructure as code.

slide-11
SLIDE 11 Pi @bridgetkromhout
slide-12
SLIDE 12 Pi @bridgetkromhout
slide-13
SLIDE 13 Pi @bridgetkromhout

“Great job on those

zero-downtime

blue-green

deployments!”

—no CEO ever

slide-14
SLIDE 14 Pi @bridgetkromhout

canary deployments

slide-15
SLIDE 15 Pi @bridgetkromhout

Just because you can… …doesn’t mean you should.

slide-16
SLIDE 16 Pi @bridgetkromhout
slide-17
SLIDE 17 Pi @bridgetkromhout

Image credit: Simon Wardley

slide-18
SLIDE 18 Pi @bridgetkromhout

there has to be a better way

slide-19
SLIDE 19 Pi @bridgetkromhout

let’s talk platforms…

slide-20
SLIDE 20 Pi @bridgetkromhout

if you can deploy and operate code in any capacity, you have a platform

  • pinions optional
slide-21
SLIDE 21 Pi @bridgetkromhout
slide-22
SLIDE 22 Pi @bridgetkromhout
slide-23
SLIDE 23 Pi @bridgetkromhout
slide-24
SLIDE 24 Pi @bridgetkromhout

Large-scale cluster management at Google with Borg - Verma et al. 2015

“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”

slide-25
SLIDE 25 Pi @bridgetkromhout

why > what

Principles > Practices >Tools

slide-26
SLIDE 26 Pi @bridgetkromhout
slide-27
SLIDE 27 Pi @bridgetkromhout
slide-28
SLIDE 28 Pi @bridgetkromhout

reasonable constraints

slide-29
SLIDE 29 Pi @bridgetkromhout

Constraints are the contract that allows a platform to keep promises.

slide-30
SLIDE 30 Pi @bridgetkromhout

Everyone has a platform. What promises can your platform keep?

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

does your platform promise this?

slide-32
SLIDE 32 Pi @bridgetkromhout

concourse.ci

your pipeline to continuously deliver microservices

(and win buzzword bingo)

slide-33
SLIDE 33 Pi @bridgetkromhout

promises

slide-34
SLIDE 34 Pi @bridgetkromhout

structured contracts determine the promises a platform can keep

slide-35
SLIDE 35 Pi @bridgetkromhout

simple patterns automated by tooling

slide-36
SLIDE 36 Pi @bridgetkromhout

“Any organization that designs a system (defined broadly) will produce a design whose structure is a copy of the

  • rganization's communication structure.”

Mel Conway

slide-37
SLIDE 37 Pi @bridgetkromhout

12-factor apps need 12-factor ops

slide-38
SLIDE 38 Pi @bridgetkromhout

Use tools and simple patterns to make doing the right thing the easy thing

slide-39
SLIDE 39 Pi @bridgetkromhout

“To always be

shipping,

you need a

shipyard”

Bret Mogilefsky of 18F,

  • n cloud.gov
slide-40
SLIDE 40 Pi @bridgetkromhout

Thank you!