Successfully reported this slideshow.

ContainerDays 2015

0

Share

Loading in …3
×
1 of 34
1 of 34

More Related Content

Related Books

Free with a 14 day trial from Scribd

See all

ContainerDays 2015

  1. 1. THE CONTAINER PLATFORM Continuous Delivery & Management of your Multi-container Apps with DockerHub and Tutum by Borja Burgos
  2. 2. • @borja_burgos • CEO @ Tutum • Computers, gadgets, hardware… • Telecom, cloud, security… • Started using docker v0.4 • CaaS in Fall 2013 w/ docker v0.6 • Container Platform in Fall 2014 ABOUT ME – BORJA BURGOS @tutumcloud
  3. 3. What is Tutum? @tutumcloud
  4. 4. Develop Deploy ManageBuild @tutumcloud
  5. 5. Develop Deploy ManageBuild CI CD Code repo Image repo Monitoring Logging Scaling Networking Storage Service Discovery Composability Security Many Hosts Public Cloud Private CloudAcross: Environments @tutumcloud
  6. 6. Develop Deploy ManageBuild CI CD Code repo Image repo Monitoring Logging Scaling Networking Storage Service Discovery Composability Security Many Hosts Public Cloud Private CloudAcross: Environments
  7. 7. Develop Deploy ManageBuild CI CD Code repo Image repo Monitoring Logging Scaling Networking Storage Service Discovery Composability Security Many Hosts Public Cloud Private CloudAcross: Environments TUTUM CONTAINER PLATFORM
  8. 8. @tutumcloud TUTUM CONTAINER PLATFORM App Infrastructure ManagedSimple Flexible Hybrid + Agnostic Operating System Container
  9. 9. • Public beta • 320,000+ containers deployed on 22,000+ nodes (VMs/hosts) around the World TUTUM TODAY @tutumcloud
  10. 10. How does it work? I need 1 small node for staging Infrastructure Provider
  11. 11. How does it work? Staging Infrastructure Provider
  12. 12. How does it work? Deploy my app to Staging Staging Infrastructure Provider
  13. 13. How does it work? I need 3 large nodes for production Staging Production Infrastructure Provider
  14. 14. How does it work? Deploy my app to staging with a load balancer and make it highly available Staging Production Infrastructure Provider
  15. 15. 1-click Docker Upgrades Overlay Network Aggregate-logging Scaling Monitoring Image Cleanup Service Discovery Log rotation Continuous Delivery Free Private Image Registry Data Volumes 0-downtime deployments Stacks + Docker Compose docker build docker exec *
  16. 16. Continuous Delivery Git push Build Deploy @tutumcloud WORKSHOP
  17. 17. WORKSHOP
  18. 18. WORKSHOP @tutumcloud 1. Up & running Github DockerHub Tutum Infrastructure
  19. 19. WORKSHOP @tutumcloud CACHE APP CACHE APP LOGICAL REPRESENTATION PHYSICAL REPRESENTATION @tutumcloud
  20. 20. WORKSHOP @tutumcloud 2. Continuous Build using Github and DockerHub Automated Build Git push Build
  21. 21. WORKSHOP @tutumcloud 3. Continuous Deployment using DockerHub and Tutum’s Redeploy Trigger Build Deploy
  22. 22. Continuous Delivery Git push Build Deploy @tutumcloud WORKSHOP
  23. 23. APP APP APP CACHE APP APP APP LB CACHE APP LB LOGICAL REPRESENTATION PHYSICAL REPRESENTATION @tutumcloud WORKSHOP
  24. 24. APP APP APP CACHE APP APP APP LB CACHE APP LB LOGICAL REPRESENTATION PHYSICAL REPRESENTATION @tutumcloud WORKSHOP LB
  25. 25. WORKSHOP @tutumcloud 4. Blue/Green Deployment
  26. 26. @tutumcloud lb: image: 'tutum/haproxy:latest' autorestart: always links: - web-blue ports: - '80:80' roles: - global deployment_strategy: high_availability redis: image: 'tutum/redis:latest' autorestart: always environment: - REDIS_PASS=password web-blue: image: 'borja/containerdays:v1' autorestart: always links: - redis target_num_containers: 3 deployment_strategy: high_availability web-green: image: 'borja/containerdays:v1' autorestart: always links: - redis target_num_containers: 1 deployment_strategy: high_availability
  27. 27. CACHE APPv1 LB @tutumcloud WORKSHOP APPv1 Starting point
  28. 28. CACHE APPv1 LB Update Blue to v2 @tutumcloud WORKSHOP APPv2
  29. 29. CACHE APPv1 LB Point LB to Blue @tutumcloud WORKSHOP APPv2
  30. 30. CACHE APPv1 LB @tutumcloud WORKSHOP APPv2 Rollback to v1 by pointing LB to Green
  31. 31. CACHE APPv1 LB @tutumcloud WORKSHOP APPv2 Point to Blue v2 again
  32. 32. CACHE APPv3 LB @tutumcloud WORKSHOP APPv2 Update Green to v3
  33. 33. CACHE APPv3 LB @tutumcloud WORKSHOP APPv2 Point LB to Green v3
  34. 34. @tutumcloud tutum.co info@tutum.co thank you

×