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

Summer of Tech Auckland 2016 Devops Bootcamp

Alex
April 12, 2016

Summer of Tech Auckland 2016 Devops Bootcamp

This is a talk I gave to students enrolled in the summer of tech program in Auckland 2016

Alex

April 12, 2016
Tweet

More Decks by Alex

Other Decks in Technology

Transcript

  1. DEVOPS: THE GOOD PARTS
    ALEX CORKIN, HEALTHLINK

    View Slide

  2. WERT IS DERVERPS
    SCOPE
    ▸ Introductions
    ▸ What is Dev Ops, Why do I care?
    ▸ Virtualisation, Containerisation and Bare Metal
    ▸ IaaS, PaaS and 'The Cloud'
    ▸ Tools for DevOps-ers
    ▸ Continuous Delivery and Source Controlled Deployments
    ▸ Examples
    ▸ Bigpipe (Spark Venturs)
    ▸ Healthlink

    View Slide

  3. WERT IS DERVERPS
    INTRODUCTIONS
    ▸ Alex Corkin
    ▸ Twitter: https://twitter.com/4lexNZ
    ▸ Github: https://github.com/
    AlexanderNZ/
    ▸ Web: http://4lex.nz
    ▸ SoT 2014 - Current
    ▸ Spark Ventures
    ▸ Healthlink NZ

    View Slide

  4. WERT IS DERVERPS
    WHAT IS DEVOPS? WHY DO I CARE?
    ▸ DevOps (a clipped compound of "development" and
    "operations") is a culture, movement or practice that
    emphasises the collaboration and communication of both
    software developers and other IT professionals while
    automating the process of software delivery and
    infrastructure changes. It aims at establishing a culture and
    environment where building, testing, and releasing
    software, can happen rapidly, frequently, and more reliably.
    ▸ Wikipedia - https://en.wikipedia.org/wiki/DevOps

    View Slide

  5. WERT IS DERVERPS
    WHAT IS DEVOPS? WHY DO I CARE?
    ▸ Translation:
    ▸ Dev Ops is about the breaking down of walls between
    Code Developers, Code Testers and Code Operators

    View Slide

  6. WERT IS DERVERPS
    VIRTUALISATION, CONTAINERISATION AND BARE METAL

    View Slide

  7. WERT IS DERVERPS
    VIRTUALISATION, CONTAINERISATION AND BARE METAL
    1995: Monolithic EVERYTHING
    MONOLITHIC
    HARDWARE
    OS, RUNTIME,
    MIDDLEWARE
    THICK APP,
    THICK CLIENT
    Runescape
    Ubuntu Server
    8.4 (Current was
    12.4), JVM
    Bare metal
    servers - add
    more servers to
    scale

    View Slide

  8. WERT IS DERVERPS
    VIRTUALISATION, CONTAINERISATION AND BARE METAL
    1995: Monolithic EVERYTHING
    SERVER
    DATABASE
    RUNTIME
    APPLICATION
    Server

    View Slide

  9. WERT IS DERVERPS
    VIRTUALISATION, CONTAINERISATION AND BARE METAL
    Later: Virtual Machines
    VM
    SERVER
    HOST OS
    HYPERVISOR
    GUEST
    OS
    BIN /
    LIB
    APP
    A
    GUEST
    OS
    BIN /
    LIB
    APP
    B
    GUEST
    OS
    BIN /
    LIB
    APP
    C

    View Slide

  10. WERT IS DERVERPS
    VIRTUALISATION, CONTAINERISATION AND BARE METAL
    2014: Containers Arrive
    SERVER
    HOST OS
    BIN / LIB
    Container
    BIN / LIB
    APP
    A
    APP
    B
    APP
    C
    APP
    S
    DOCKER

    View Slide

  11. WERT IS DERVERPS
    IAAS AND PAAS - DA F ARE ALL THESE ACRONYMS FOR
    Wikipedia - https://en.wikipedia.org/wiki/Cloud_computing

    View Slide

  12. WERT IS DERVERPS
    THE CLOUD
    ▸ Cloud Infrastructure vs Local Infrastructure...or Hybrid?
    ▸ Popularised by the Silicon Valley SaaS startup 'cult'
    ▸ Main argument for Cloud Infra is OPEX rather than CAPEX

    View Slide

  13. WERT IS DERVERPS
    THE CLOUD: A QUICK PROVIDER OVERVIEW
    ▸ Excellent Free Trial
    ▸ 12 Months of Free t2.micro instance
    ▸ Loads of support
    ▸ Excellent supporting products (EC2, S3, Lambda,
    CodeDeploy etc)

    View Slide

  14. WERT IS DERVERPS
    THE CLOUD: A QUICK PROVIDER OVERVIEW
    ▸ Expensive
    ▸ Not as capable as AWS, fewer
    supporting services
    ▸ Like seriously.. are their SSDs
    made of gold or something??
    ▸ Better dashboard then AWS
    (IMO)

    View Slide

  15. WERT IS DERVERPS
    THE CLOUD: A QUICK PROVIDER OVERVIEW
    ▸ Dyno based pricing (Dyno is a
    compute unit)
    ▸ Extremely slow response time if
    no dyno already running (web
    scale)
    ▸ Good starter kits for
    experimentation

    View Slide

  16. WERT IS DERVERPS
    THE CLOUD: A QUICK PROVIDER OVERVIEW: HONOURABLE MENTIONS
    Bunch of
    other
    application
    specific
    providers

    View Slide

  17. WERT IS DERVERPS
    TOOLS FOR DEVOPS-ERS
    ▸ DevOps covers the whole SDLC so technically any tool can
    be used in a DevOps fashion, it's about the process rather
    than the specific tool
    ▸ ALTHOUGH there are a bunch of awesome tools!
    ▸ https://github.com/sindresorhus/awesome
    ▸ http://newrelic.com/devops/toolset
    ▸ http://devops.com/2015/08/07/9-open-source-devops-
    tools-love/

    View Slide

  18. WERT IS DERVERPS
    CONTINUOUS DELIVERY AND SOURCE CONTROLLED DEPLOYMENTS
    ▸ Infrastructure as a Service
    ▸ Infrastructure as Code
    ▸ Great Tools specifically for
    automated deployments,
    orchestration and configuration
    management

    View Slide

  19. WERT IS DERVERPS
    CONTINUOUS DELIVERY AND SOURCE CONTROLLED DEPLOYMENTS
    ▸ Ruby based DSL
    ▸ Declarative
    ▸ Agents interact with a master
    ▸ New Console sexy AF
    ▸ ~$100 x node x year
    ▸ https://puppetlabs.com

    View Slide

  20. WERT IS DERVERPS
    CONTINUOUS DELIVERY AND SOURCE CONTROLLED DEPLOYMENTS
    ▸ More flexible pricing
    ▸ ~($72 || $127) x node x year
    ▸ Less tightly defined Ruby based
    DSL
    ▸ https://www.chef.io

    View Slide

  21. WERT IS DERVERPS
    CONTINUOUS DELIVERY AND SOURCE CONTROLLED DEPLOYMENTS
    ▸ Python based - really
    interesting
    ▸ Really new - less proven then
    Puppet or Chef
    ▸ Couldn't find price on website
    so makes me suspicious
    ▸ http://saltstack.com/

    View Slide

  22. WERT IS DERVERPS
    CONTINUOUS DELIVERY AND SOURCE CONTROLLED DEPLOYMENTS
    ▸ Uses YAML templating language
    ▸ Advertised as super simple
    ▸ Uses SSH for EVERYTHING
    ▸ Seems really janky
    ▸ DISCLAIMER - have never used
    it
    ▸ Cheaper then puppet and chef
    ▸ https://www.ansible.com

    View Slide

  23. WERT IS DERVERPS
    CLOUD PROVIDERS
    ▸ Walk through

    View Slide

  24. SPARK VENTURES
    EXAMPLES

    View Slide

  25. WERT IS DERVERPS
    SPARK VENTURES EXAMPLE
    ▸ SaaS Products
    ▸ Lightbox && Qrious most
    demanding
    ▸ Morepork and Bigpipe
    have CD
    ▸ Not a true devops
    workplace, not moving to
    it either

    View Slide

  26. HEALTHLINK
    EXAMPLES

    View Slide

  27. WERT IS DERVERPS
    HEALTHLINK EXAMPLE
    ▸ Early Stages of Tech
    Modernisation
    ▸ Puppet deployment
    underway
    ▸ Technical Debt and
    Legacy Code is huge
    ▸ Moving towards true
    devops

    View Slide

  28. THE END
    QUESTIONS?

    View Slide

  29. WERT IS DERVERPS
    REFERENCES
    ▸ http://scummins.com/
    containerization-and-virtualization/
    ▸ https://en.wikipedia.org/wiki/DevOps
    ▸ https://en.wikipedia.org/wiki/
    Cloud_computing
    ▸ https://github.com/sindresorhus/
    awesome
    ▸ http://newrelic.com/devops/toolset
    ▸ http://devops.com/2015/08/07/9-
    open-source-devops-tools-love/

    View Slide