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

The DevOps Awakens: Moving to a Multi-Cloud Arc...

The DevOps Awakens: Moving to a Multi-Cloud Architecture

Jonathan Stacks

September 21, 2017
Tweet

Other Decks in Technology

Transcript

  1. The Roles We Play Provide innovative, reliable, easy-to-use applications that

    help to liberate working capital for the benefit of both the buyers and suppliers using C2FO.
  2. Q4 2016 Build Registry Deploy 1 Build 2 Push Images

    4 Stop/Start Blue 5 Start/Stop Green 3 Pull Images
  3. New Requirements • Multi-Cloud • Scale Globally in the Future

    • Go Live in 5-6 months • “Keep the Lights On”
  4. Q1 2017 • Started getting infrastructure stood up on GCP

    • Began deploying some VMs and running tests • Stood up our first K8s cluster ◦ Deployed some simple apps ◦ See what we could do to break it
  5. Q2 2017 • Automated deployments to kubernetes using helm. •

    Got another DevOps Engineer! ◦ Instrumentation! ◦ Monitoring! • Integration with our current systems
  6. Q3 2017 • Staging & UAT environment up and running

    • Deadline push ◦ Solidify process ◦ Lots of load testing ◦ Few bug fixes • We got prod up!
  7. Q3 2017 Average time to spin up a new environment:

    ~ 10 mins Environment Deployments Pods FSS 47 111 UAT 47 110 Production 47 110 Cluster Pods Nodes Pods/Node Testing 19 4 4.75 Non-Prod 273 14 19.5 Production 152 10 15.2
  8. Open Source Software • Kuberntes ◦ Reduced our Infrastructure footprint

    ◦ Lots of features ▪ Rolling Deploys ▪ Healthchecks ▪ Namespaced DNS ▪ Service Discovery ◦ No pets or snowflakes. ◦ Declarative syntax • Helm ◦ Release management ◦ Version our Kubernetes deployments ◦ Specify our application dependencies
  9. Processes • We value automated, repeatable deployments. • Anyone can

    deploy a development environment. • Working on more blameless post mortems. • Processes are very flexible to change. • Quick all-hands meetings
  10. Culture • We hire really good people • No “sacred

    cows” • We trust our employees ◦ We have the freedom to innovate and make changes ◦ We are allowed to take calculated risks
  11. We could have collaborated more often & tried to deploy

    DEV OPS FEB. AUG. GCP, K8S POC, Deployment Integration App Architecture & Code Changes X
  12. Not all software is created Equal • Some software took

    more effort to containerize properly for kubernetes. • Best results from apps that follow the 12-factor pattern. • Frustrations with Consul ◦ Doesn’t handle changes in IP very well.
  13. !=

  14. Implementing Devops processes is hard • Hindsight is 20/20 •

    Mastery takes time & effort • Well worth it
  15. References 1. By GitHub - https://github.com/github/octicons, MIT, https://commons.wikimedia.org/w/index.php?curid=33440579 2. https://kubernetes.io/docs/tasks/administer-cluster/out-of-resource/#node-oom-behavior

    3. https://brorlandi.github.io/StarWarsIntroCreator/ 4. https://12factor.net/ 5. https://github.com/kubernetes/charts/issues/1892 6. https://github.com/hashicorp/consul/issues/1580