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

Captaining a Container Ship

Captaining a Container Ship

My talk about Docker orchestration with Kontena at DrupalCon Baltimore 2017

3abfc9128fe1aeae3058edc36936f360?s=128

Jochen Lillich
PRO

April 25, 2017
Tweet

Transcript

  1. DOCKER ORCHESTRATION WITH KONTENA CAPTAINING A CONTAINER SHIP

  2. None
  3. None
  4. None
  5. DOCKER ORCHESTRATION WITH KONTENA WHY ORCHESTRATION? ▸ With Docker, there’s

    never only one container, and they all need to be ▸ managed ▸ distributed ▸ scheduled ▸ load balanced ▸ Dependencies between containers require ▸ Links ▸ Service discovery ▸ Shared secrets
  6. “KONTENA IS AN OPEN SOURCE CONTAINER PLATFORM BUILT TO MAXIMISE

    DEVELOPER HAPPINESS. WORKS ON ANY CLOUD, EASY TO SETUP, SIMPLE TO USE.” DOCKER ORCHESTRATION WITH KONTENA
  7. DOCKER ORCHESTRATION WITH KONTENA WHY KONTENA? ▸ Simple ▸ Inexpensive

    ▸ Full-featured ▸ Production-ready ▸ Secure ▸ Flexible
  8. DOCKER ORCHESTRATION WITH KONTENA KONTENA IS SIMPLE ▸ Easy to

    install in < 1h ▸ Comes with all important functionality ▸ Extends docker-compose configuration syntax
  9. DOCKER ORCHESTRATION WITH KONTENA KONTENA IS INEXPENSIVE ▸ Open Source

    Software ▸ Supports Let’s Encrypt out of the box
  10. DOCKER ORCHESTRATION WITH KONTENA KONTENA IS FULL-FEATURED ▸ Private image

    registry ▸ Load balancer ▸ Service discovery ▸ Secrets storage (“Vault”) ▸ Key-Value store
  11. DOCKER ORCHESTRATION WITH KONTENA KONTENA IS PRODUCTION-READY ▸ User authentication

    and authorisation ▸ Health checks ▸ Support for stateful applications ▸ Real-time log and statistics streams ▸ Audit trail
  12. DOCKER ORCHESTRATION WITH KONTENA KONTENA IS SECURE ▸ Virtual networks

    with encrypted traffic ▸ VPN access
  13. DOCKER ORCHESTRATION WITH KONTENA KONTENA IS FLEXIBLE

  14. $ WHOAMI JOCHEN LILLICH ▸ CEO/CTO at freistil IT ▸

    Twitter: @geewiz ▸ Email: jochen@freistil.it
  15. Dev Ops Development Deployment Idea App

  16. USING KONTENA

  17. None
  18. DOCKER ORCHESTRATION WITH KONTENA KONTENA SERVER ▸ Controls the whole

    platform ▸ Access via OAuth tokens ▸ Kontena Cloud ▸ External OAuth providers
  19. DOCKER ORCHESTRATION WITH KONTENA CREATING A KONTENA SERVER

  20. DOCKER ORCHESTRATION WITH KONTENA GRIDS ▸ Separate groups of Kontena

    nodes ▸ Encrypted overlay network ▸ Direct access via VPN
  21. DOCKER ORCHESTRATION WITH KONTENA CREATING A GRID

  22. DOCKER ORCHESTRATION WITH KONTENA KONTENA NODES ▸ Automatic discovery ▸

    Permanent connection to Kontena server
  23. DOCKER ORCHESTRATION WITH KONTENA ADDING NODES TO A GRID

  24. KONTENA SERVICES

  25. DOCKER ORCHESTRATION WITH KONTENA SERVICES ▸ Container image ▸ Volumes

    ▸ Resources ▸ Links to other containers ▸ Environment variables ▸ Secrets ▸ Registration
  26. DOCKER ORCHESTRATION WITH KONTENA SERVICE DEPLOYMENT ▸ Strategy ▸ No

    of instances ▸ Affinity to other services ▸ Port to wait for ▸ Health check
  27. DOCKER ORCHESTRATION WITH KONTENA STATELESS SERVICE

  28. DOCKER ORCHESTRATION WITH KONTENA STATEFUL SERVICE

  29. DOCKER ORCHESTRATION WITH KONTENA SCALING A SERVICE

  30. KONTENA STACKS

  31. DOCKER ORCHESTRATION WITH KONTENA KONTENA STACKS ▸ Set of services

    ▸ Versioned ▸ Grid-local DNS domain
  32. DOCKER ORCHESTRATION WITH KONTENA DEPLOYING A STACK

  33. DOCKER ORCHESTRATION WITH KONTENA STACK DEFINITION: PREAMBLE

  34. DOCKER ORCHESTRATION WITH KONTENA STACK DEFINITION: VARIABLES

  35. DOCKER ORCHESTRATION WITH KONTENA STACK DEFINITION: SERVICES

  36. DOCKER ORCHESTRATION WITH KONTENA STACK DEFINITION: SERVICES (CONT.)

  37. LOAD BALANCING

  38. DOCKER ORCHESTRATION WITH KONTENA ADDING A LOADBALANCER

  39. SSL

  40. DOCKER ORCHESTRATION WITH KONTENA REGISTERING WITH LET’S ENCRYPT

  41. DOCKER ORCHESTRATION WITH KONTENA USING THE LE CERTIFICATE

  42. DOCKER ORCHESTRATION WITH KONTENA SUMMARY ▸ Kontena is... ▸ simple

    ▸ inexpensive ▸ full-featured ▸ production-ready ▸ secure ▸ flexible ▸ worth a try!
  43. DOCKER ORCHESTRATION WITH KONTENA RESOURCES www.freistilbox.com/drupalcon.html

  44. ONE MORE THING... JOIN US FOR CONTRIBUTION SPRINTS Friday, April

    28, 2017 First-Time Sprinter Workshop
 9:00am-12:00pm
 Room: 307-308 Mentored Core Sprint
 9:00am-12:00pm
 Room:301-303 General Sprints
 9:00am-6:00pm
 Room:309-310