devops bootcamp, alex corkin, 12 april 2016
TRANSCRIPT
DEVOPS: THE GOOD PARTSALEX CORKIN, HEALTHLINK
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
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
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
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
WERT IS DERVERPS
VIRTUALISATION, CONTAINERISATION AND BARE METAL
WERT IS DERVERPS
VIRTUALISATION, CONTAINERISATION AND BARE METAL1995: Monolithic EVERYTHING
MONOLITHIC HARDWARE
OS, RUNTIME, MIDDLEWARE
THICK APP, THICK CLIENTRunescape
Ubuntu Server 8.4 (Current was
12.4), JVM Bare metal
servers - add more servers to
scale
WERT IS DERVERPS
VIRTUALISATION, CONTAINERISATION AND BARE METAL1995: Monolithic EVERYTHING
SERVER
DATABASE
RUNTIME
APPLICATION
Server
WERT IS DERVERPS
VIRTUALISATION, CONTAINERISATION AND BARE METALLater: 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
WERT IS DERVERPS
VIRTUALISATION, CONTAINERISATION AND BARE METAL2014: Containers Arrive
SERVER
HOST OS
BIN / LIB
Container
BIN / LIB
APP A
APP B
APP C
APP S
DOCKER
WERT IS DERVERPS
IAAS AND PAAS - DA F ARE ALL THESE ACRONYMS FOR
Wikipedia - https://en.wikipedia.org/wiki/Cloud_computing
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
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)
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)
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
WERT IS DERVERPS
THE CLOUD: A QUICK PROVIDER OVERVIEW: HONOURABLE MENTIONS
Bunch of other
application specific
providers
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/
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
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
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
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/
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
WERT IS DERVERPS
CLOUD PROVIDERS
▸ Walk through
SPARK VENTURESEXAMPLES
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
HEALTHLINKEXAMPLES
WERT IS DERVERPS
HEALTHLINK EXAMPLE
▸ Early Stages of Tech Modernisation
▸ Puppet deployment underway
▸ Technical Debt and Legacy Code is huge
▸ Moving towards true devops
THE END QUESTIONS?
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/