O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Docker Enterprise Workshop - Intro

437 visualizações

Publicada em

Introduction deck for Docker Enterprise Champion workshop

Publicada em: Software
  • Hello! Get Your Professional Job-Winning Resume Here - Check our website! https://vk.cc/818RFv
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui
  • Hello! Get Your Professional Job-Winning Resume Here - Check our website! https://vk.cc/818RFv
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui

Docker Enterprise Workshop - Intro

  1. 1. Patrick Chanezon Chief Developer Advocate @chanezon The Tao of Docker
  2. 2. French Polyglot Platforms Software Plumber San Francisco Developer Relations @chanezon
  3. 3. “The future is already here — it's just not very evenly distributed” William Gibson, Neuromancer
  4. 4. Dreams of my childhood
  5. 5. The Singularity… in a galaxy far far away
  6. 6. Great Science Fiction
  7. 7. Instead, here and now!
  8. 8. Moore’s Law… hardware only!
  9. 9. Developer Productivity
  10. 10. 1995 2015
  11. 11. Agility
  12. 12. Agile methodologies (circa 1999)
  13. 13. Low MTBIAMSH MTBIAMSH (Mean Time Between Idea And Making Stuff Happen)
  14. 14. Devops
  15. 15. 25 Mainframe
  16. 16. Client-Server 26
  17. 17. 27 Web
  18. 18. 28 Cloud - Devops
  19. 19. Devops • Cultural movement • Inspired by agile methods • People, Processes & Tools • Continuous delivery • Infrastructure as code • Cross silo collaboration • Small iterations • Feedback loop, measurement Image from Patrick Debois http://www.slideshare.net/jedi4ever/devops-the-war-is-over-if-you-want-it http://www.slideshare.net/jedi4ever/devopsdays-downundervfinal
  20. 20. Devops: singing Kumbaya?
  21. 21. 28 http://highscalability.com/blog/2013/11/19/we-finally-cracked-the-10k-problem-this-time-for-managing-se.html Server/Sysadmin 1999: 5(Windows) - 50 (Linux) 2015: 10k-20k x2000
  22. 22. 28 https://blog.docker.com/2014/12/dockercon-europe-keynote-continuous-delivery-in-the-enterprise-by-henk-kolk-ing/ Henk Kolk, ING, DockerCon EU 2014 People, Processes, Products deployment time: 9 months -> 15 min 1500 deployments/week
  23. 23. Cloud
  24. 24. Cloud La La Land
  25. 25. Supta Virasana: pose du hero allonge Le cloud en vrai, ca marche mieux avec des accessoires! En theorie En pratique
  26. 26. There and back again: a journey to hybrid/multi cloud
  27. 27. PublicHybridPrivate Ops Devops Developers
  28. 28. Software Containers
  29. 29. History of containerization • 1960’s mainframe • 1990’s hardware virtualization • 1990’s OS virt precursors: BSD Jails, Solaris zones • 2006 Cloud IaaS • 2009 platform virtualization (PaaS) • 2013 Docker See @bcantrill’s deck http://www.slideshare.net/bcantrill/docker-and-the-future-of-containers-in-production
  30. 30. Isolation using Linux kernel features namespaces ● pid ● mnt ● net ● uts ● ipc ● user cgroups ● memory ● cpu ● blkio ● devices
  31. 31. Union File Systems & Image Layers
  32. 32. The Docker Platform
  33. 33. Traditional Micro services ISV / COTS IoT Big Data ML AI ...Serverless Cloud VM Bare Metal Edge Device Docker Platform
  34. 34. Docker Momentum Docker Hosts 21.0M Growth in Docker job listings 77K% Container downloads 24B Industry Standards
  35. 35. Enterprise Momentum Portability Agility Security 50% total cost savings
  36. 36. DEVELOPERS OPERATORS Applications Infrastructure The Docker Platform in a nutshell
  37. 37. INDEPENDENCE OPENNESS SIMPLICITY Core Principles of the Docker Platform
  38. 38. Docker Enterprise Edition Docker Community Edition containerd 1 2 3 4 The best container development workflow The best enterprise container security and management Native Kubernetes integration provides full ecosystem compatibility Industry-standard container runtime Docker with Swarm and Kubernetes
  39. 39. Open Source Standards and Projects
  40. 40. Docker is building a stack to program the Internet CE EEA commercial product, built on a development platform, built on infrastructure, built on standards.
  41. 41. OCI
  42. 42. Moby
  43. 43. Docker Community Edition Developers EnterpriseContainer Ecosystem The Docker Innovation Model Docker Enterprise Edition 9,149 Open Source Contributors 8800 PRs/Year
  44. 44. runc Notary Registry LibNetworkVPNKit DataKit HyperKitCompose
  45. 45. Governance: BDFL -> TSC https://github.com/moby/tsc
  46. 46. CNCF
  47. 47. containerd An open and reliable container runtime
  48. 48. containerd 1.0 Dec 2017 https://blog.docker.com/2017/12/cncf-containerd-1-0-ga-announcement/
  49. 49. Early History APRIL 2016 Containerd “0.2” announced, Docker 1.11 DECEMBER 2016Announce expansion of containerd OSS project, roadmap to 1.0 Management/Supervisor for the OCI runc executor Containerd 1.0: A core container runtime project for the industry
  50. 50. runc containerd Why Containerd 1.0? ▪ Continue projects spun out from monolithic Docker engine ▪ Expected use beyond Docker engine (Kubernetes CRI) ▪ Donation to foundation for broad industry collaboration ▫ Similar to runc/libcontainer and the OCI
  51. 51. Technical Goals/Intentions ▪ Clean gRPC-based API + client library ▪ Full OCI support (runtime and image spec) ▪ Stability and performance with tight, well- defined core of container function ▪ Decoupled systems (image, filesystem, runtime) for pluggability, reuse
  52. 52. Requirements - A la carte: use only what is required - Runtime agility: fits into different platforms - Pass-through container configuration (direct OCI) - Decoupled - Use known-good technology - OCI container runtime and images - gRPC for API - Prometheus for Metrics
  53. 53. Use cases - CURRENT - Docker (moby) - Kubernetes (cri- containerd) - SwarmKit (experimental) - LinuxKit - BuildKit - FUTURE/POTENTIAL - IBM Cloud/Bluemix - OpenFaaS - {your project here}
  54. 54. containerd 1.0 facts and figures • 1994 GitHub stars, 401 forks • 108 contributors • 8 maintainers from independents and and member companies alike including Docker, Google, IBM, ZTE and ZJU . • 3030+ commits, 26 releases
  55. 55. Resources To participate in containerd: github.com/containerd/containerd • Getting Started with containerd: http://mobyproject.org/blog/2017/08/15/containerd-getting-started/ • Roadmap: https://github.com/containerd/containerd/blob/master/ROADMAP.md • Scope table: https://github.com/containerd/containerd#scope • Architecture document: https://github.com/containerd/containerd/blob/master/design/architecture.md • APIs: https://github.com/containerd/containerd/tree/master/api/. • Learn more about containerd at KubeCon by attending Justin Cormack’s LinuxKit & Kubernetes talk at Austin Docker Meetup, Patrick Chanezon’s Moby session Phil Estes’ session or the containerd salon
  56. 56. Use Cases for Containers
  57. 57. Microservice architecture pattern Chris Richardson http://microservices.io/patterns/microservices.html
  58. 58. Worker Nodes Docker: a natural platform for microservices Node Manager Node Worker Node Manager Node Manager Node Worker Node Worker Node Worker docker universal control plane trusted registry
  59. 59. Modernizing Traditional Applications
  60. 60. Image Registry CI/CD Security scan & sign Traditional Third Party Microservices docker store DEVELOPERS IT OPERATIONS Control Plane Docker EE Platform to Modernize Traditional Apps And Beyond
  61. 61. The Innovation Challenge Average IT Spend By Type INNOVATION MAINTENANCE 20% 80% 20% 40% 60% 80% 100% 0% 1% Windows Server 2008 Windows Server 2012 Windows Server 2000 Windows Server 2003 Red Hat, Other Linux, Other OS Server OS Market Share Sources: Bank of America, Spiceworks, SolarWinds 18% 45% 24% 12%
  62. 62. The Modernization Journey App Existing Application Modern Methodologies Convert to a Docker EE Container Modern Infrastructure Ongoing Innovation
  63. 63. The Docker Modernize Traditional Apps POC Program Partner Consulting Services Partner Infrastructure Docker Enterprise Edition Portable Agile Secure Efficient < 5 days + + No Code Changes App Existing Application Convert to a Docker EE container Modern Infrastructure
  64. 64. Reducing total costs by 50% MTA POC Impact Hybrid Cloud-Ready Portability Agility 2x Faster Security Isolation & Integrity
  65. 65. 84 KEY CHALLENGES • Accumulated thousands of apps, 400+ systems of record and 5 infrastructures over 150 years • Difficult to innovate with majority of budget spent on maintenance SOLUTION • Leverage Docker MTA program to modernize the email opt- out app with Docker EE to drive down total costs Docker EE and MTA create self funding model for container adoption -70% VMs -67% Cores 10x Average CPU utilization + + -66% Total Cost of Ownership 593 Applications RESULTS • Modernization of single app completed in 1 day • Applying model to other apps built with same technology • Business case forecasts a 66% cost reduction
  66. 66. 85 KEY CHALLENGES • Maintenance costs of managing traditional apps on prem • Code quality was increasingly difficult with outsource software house • App delivery process was too slow for the pace of the business SOLUTION • Leverage Docker MTA program jointly with their trusted partner Accenture App Visibility and Consistency at 50% the Cost RESULTS • 50% savings across all applications • Unified architecture for the first time • New visibility into their outsourced applications
  67. 67. Container as a Service
  68. 68. After Greenfield CaaS Case Study: ADP DevOps and microservices transformation App Service App Service App A App B Auth …more App Reg Marketplace Logging Auth Session …more App Reg Logging Before App BAuth App Reg Marketplace Logging App Service Application Teams Universal Control Plane App AAuth App Reg Marketplace Logging App Service App BAuth App Reg Marketplace Logging App Service App AAuth App Reg Marketplace Logging App Service Portability Authorization App Registration Session Management Marketplace Integration Logging …more Trusted Registry
  69. 69. Use Case: Decentralized CaaS for hybrid and multi cloud portability Private datacenter for regulated apps Central Portal • Provision resources • RBAC to VPC / datacenter • Trusted Registry hosted application templates Cloud for all other apps VPC 1 VPC2 App 1 App 2 App App 1 App 2 App Cloud Portability App Portability
  70. 70. New Trends in Use Cases
  71. 71. 2015
  72. 72. Portable Serverless PlatformsGalactic Fog Nuclio Fn OpenFaaS OpenWhisk
  73. 73. Observability with service mesh: Istio, Linkerd
  74. 74. Kubernetes in Docker
  75. 75. What is a container orchestrator? Management of containers running in one or more container runtimes
  76. 76. Docker Enterprise Edition Docker Community Edition containerd The best container development workflow The best enterprise container security and management Docker: Now Powered by Swarm and Kubernetes Native Kubernetes integration provides full ecosystem compatibility Industry-standard container runtime
  77. 77. Test locally on Swarm and Kubernetes Develop with Docker Community Edition on your workstation Deploy to production in Swarm Deploy to production in Kubernetes Docker Community Edition All in one development for Swarm and Kubernetes
  78. 78. Kubernetes in Docker Desktop
  79. 79. Docker EE 2.0: A conformant kubernetes distribution
  80. 80. - Easy High Availability provisioning - Cryptographic node identity Features Swarm Support - Registry - Content Trust - Secure Scanning - Clean upstream integration - Full ecosystem compatibility - Role Based Access Control - Authorization, Authentication - Node Segmentation Secure Cluster Lifecycle Secure Supply Chain 100% Interoperability Secure Multi-tenancy Management Dashboard Supported and Certified on Windows Server and Major Linux Distributions Kubernetes Support Docker Enterprise Edition Management for Swarm and Kubernetes
  81. 81. The Tao of Docker
  82. 82. 之道 Tao, The Way
  83. 83. 之道 Tao
  84. 84. 无为 Wu-wei, Effortless action
  85. 85. 无为 Wu-wei, Effortless action
  86. 86. 自然 Ziran, Naturalness
  87. 87. 自然 Ziran, Naturalness container based No state No couplingbounded context
  88. 88. 无为 Wu-Wei: Modernize traditional applications without coding The Tao (之道) of Docker 自然 Ziran: create microservice applications with the container platform that started the container revolution
  89. 89. Penser les transformations Pour vos applicationsdes Enterprises
  90. 90. @chanezon www.docker.com

×