Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April 2016 Online Meetup

1,759 views

Published on

In our April Rancher Online meetup, Darren Shepherd and Shannon Williams walked through a handful of best practices for running your apps successfully using Docker and Rancher. We have posted a recording and the slides below. During the video, we discuss how to leverage web hooks to scale up and redeploy environments using Cowbell, how to manage secrets with Vault, how to deploy a dashboard for capacity management with Prometheus, and how to clean up orphaned images and volumes with Janitor.

We were also joined by Rancher Dir. of DevOps Bill Maxwell who introduces a new Rancher integration with Vault.

Finally, Brandon Papworth shared how he and the team at app design studio Dom & Tom, migrated their apps to Docker and Rancher.

Watch the video: http://rancher.com/event/tips-tricks-and-tools-for-running-containers-like-a-pro-april-2016-online-meetup/

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,759
On SlideShare
0
From Embeds
0
Number of Embeds
1,195
Actions
Shares
0
Downloads
59
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April 2016 Online Meetup

  1. 1. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Tips Tricks and Tools for Running Containers like a Pro April 28, 2016 #ranchermeetup
  2. 2. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Shannon Williams Co-Founder/VP Marketing @smw355 1 Darren Shepherd Co-Founder/Chief Architect @ibuildthecloud Freenode: darren0 #ranchermeetup
  3. 3. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Brandon Papworth Director of Web Dom & Tom @brandonpapworth 2 Bill Maxwell Sr. Devops Lead Rancher Labs @cloudnautique #ranchermeetup
  4. 4. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . First things first… This is a not a ! 3 #ranchermeetup
  5. 5. © 2015 Rancher Labs, Inc.4 There are rules for a meetup! • We won’t be done on time • Questions are always welcome • There are no bad questions • Demo, then demo some more • Things will break, be patient #ranchermeetup
  6. 6. © 2015 Rancher Labs, Inc.5 Join the conversation on Twitter #ranchermeetup
  7. 7. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Agenda • Building Your Rancher Tool Box – Shannon • Demo: Prometheus, Janitor & Web hooks– Darren • Managing Secrets with Vault – Bill • Demo: Vault – Bill • User Story: Rancher at Dom & Tom – Brandon • Demo – Brandon • Latest Rancher Update – Darren 6 #ranchermeetup
  8. 8. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Rancher Labs 7 #ranchermeetup
  9. 9. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Building a Container Service 8 Container Service Linux Linux Linux Linux Linux Linux
  10. 10. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . How to deploy a container service 9 Container Service Linux Linux Linux Linux Linux Linux App Catalog Orchestration Scheduling Monitoring Access Control Network Storage Distributed DB Registry Engine Security Helm, … Compose, Kubernetes, Marathon, Swarm, Kubernetes, Mesos, … cAdvisor, Sysdig, Datadog, … LDAP, AD, GitHub, … DockerHub, Quay.io, … Docker, Rkt, … Notary, Vault, … VXLAN, IPSEC, HAProxy, … Ceph, Gluster, Swift, … Etcd, Consul, MongoDB, …
  11. 11. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Rancher Overview 10 Microservice Catalog AD/LDAP Leverage existing tools: - CI/CD - Code Repository - Monitoring Environment 1 Environment N … Network Services Storage Services Container Orchestration and Scheduling User Mgmt Ops Mgmt Environment 2
  12. 12. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .#ranchermeetup Tips, Tricks and Tools for Running Containers Like a Pro
  13. 13. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Building your container tool box 12 Registry - Code Repository - CI/CD – Logging – Monitoring – Storage – Data Services
  14. 14. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .13
  15. 15. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Building Rancher Tools 14 • Design extension to run as a container • Leverage API & Metadata services • Distribute through the catalog • Provide scheduling and configuration options
  16. 16. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Four tools we’re demoing today 15
  17. 17. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Scale-up, Scale-down, Upgrade & Redploy with Cowbell 16 • Container service that exposes a web hook and talks to the Rancher API and CLI • Can be integrated with CI/CD or other systems • Deployed from the catalog into each environment
  18. 18. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Building Dashboards with Prometheus 17 • Prometheus originally created by SoundCloud • Catalog deployment created by the team at Infinity Works and NHS in the UK • Integrated with Rancher API
  19. 19. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Building Dashboards with Prometheus 18
  20. 20. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Cleaning up environments with Janitor 19 • Based on Meltwater/Docker- Cleanup • Service developed by Steve Shipway at the University of Auckland • Identifies Docker images no longer in use, and removes them from hosts.
  21. 21. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Managing secrets with Vault 20 • Developed by Hashicorp • Includes secret storage, key rotation and audit logging • Initial Vault catalog item will be available in the next week
  22. 22. © 2015 Rancher Labs, Inc.
  23. 23. © 2015 Rancher Labs, Inc.22
  24. 24. © 2015 Rancher Labs, Inc.23
  25. 25. © 2015 Rancher Labs, Inc.24
  26. 26. © 2015 Rancher Labs, Inc.25
  27. 27. © 2015 Rancher Labs, Inc.26
  28. 28. © 2015 Rancher Labs, Inc.27
  29. 29. © 2015 Rancher Labs, Inc.28
  30. 30. © 2015 Rancher Labs, Inc.29
  31. 31. © 2015 Rancher Labs, Inc.30
  32. 32. © 2015 Rancher Labs, Inc.31
  33. 33. © 2015 Rancher Labs, Inc. Latest Rancher Enhancements 32 1.0.1 • Rancher Multi-node Simplification #ranchermeetup 1.1-dev1 (releasing next week) • Experimental Mesos support • F5 Load balancer integration • Customizable Docker Machine UI
  34. 34. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Getting Started Rancher and RancherOS are in GitHub – Get Involved! 33 #ranchermeetup http://github.com/rancher
  35. 35. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . New eBook: Building a CI/CD Pipeline with Docker & Rancher 34 http://info.rancher.com/cicd-with-docker-ebook
  36. 36. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Thank you rancher.com #ranchermeetup
  37. 37. © 2015 Rancher Labs, Inc.36
  38. 38. © 2015 Rancher Labs, Inc.37
  39. 39. © 2015 Rancher Labs, Inc.38
  40. 40. © 2015 Rancher Labs, Inc.39
  41. 41. © 2015 Rancher Labs, Inc.40
  42. 42. © 2015 Rancher Labs, Inc.41
  43. 43. © 2015 Rancher Labs, Inc.42
  44. 44. © 2015 Rancher Labs, Inc.43
  45. 45. © 2015 Rancher Labs, Inc.44

×