Publicité
Publicité

Contenu connexe

Présentations pour vous(20)

Publicité
Publicité

Docker: Redistributing DevOps cards, on the way to PaaS

  1. www.usievents.com #USI2014 Docker : Redistributing DevOps cards, on the way to PaaS 16th june, 2014 Arnaud MAZIN DevOps consultant Octo Technology @ArnaudMazin Adrien BLIND DevOps coach @adrienblind
  2. www.usievents.com #USI2014
  3. www.usievents.com #USI2014
  4. www.usievents.com #USI2014 #1 What is Docker? #2 Opportunities leveraged by Docker #3 Take-away
  5. www.usievents.com #USI2014 #1 What is Docker? #2 Opportunities leveraged by Docker #3 Take-away
  6. www.usievents.com #USI2014 « A technology enabling to standardize packaging and deployment operations »
  7. www.usievents.com #USI2014 #1 What is Docker ? Docker key properties PO DI LI SORTABLE SPOSABLE VE CIAL
  8. www.usievents.com #USI2014 #1 What is Docker ? PO DI LI SORTABLE SPOSABLE VE CIAL
  9. www.usievents.com #USI2014 IsolationVirtualisation PORTABLEDILISO VM VMVM Hypervisor Hardware App. MDW App. MDW App. MDW Kernel Kernel Kernel OS base OS base OS base Kernel Hardware or VM Container App. OS base MDW Container App. OS base MDW Container App. MDW OS base
  10. www.usievents.com #USI2014 PORTABLEDILISO Limited adherence with the subsequent OS Only a recent Linux kernel is required Docker lightweight agent to be installed Few parametrization required DB_IP=1.2.3.4 DB_LOGIN=dblogin 20Kg Max
  11. www.usievents.com #USI2014 #1 What is Docker ? PO DI LI SORTABLE SPOSABLE VE CIAL
  12. www.usievents.com #USI2014 Rebuild vs Upgrade PODISPOSABLELISO Reduce building and deployment costs
  13. www.usievents.com #USI2014 PODISPOSABLELISO FROM ubuntu:latest RUN apt-get install -y memcached EXPOSE 11211 CMD ["/usr/bin/memcached"] USER daemon Cattle vs Pet
  14. www.usievents.com #USI2014 Using applicative storage services Amazon S3, OpenStack Swift MongoDB, Hadoop, Cassandra, Elastic Search, Amazon RDS... By default, you can leverage on traditional system Containers dedicated to data Mounting points on the host Extract data from the container PODISPOSABLELISO
  15. www.usievents.com #USI2014 Two major trends Frequency of application deployments Commoditization and consumerization of the infrastructure (Low-cost/SLA) High availability and scalability to be handled by the application better than the infrastructure PODISPOSABLELISO Impacts on application architecture
  16. www.usievents.com #USI2014 #1 What is Docker ? PO DI LI SORTABLE SPOSABLE VE CIAL
  17. www.usievents.com #USI2014 Versionned and incremental images File system Configuration parameters (ports, processes...) « Git style » Diffs Version trees Version labelling PODILIVESO
  18. www.usievents.com #USI2014 PODILIVESO
  19. www.usievents.com #USI2014 #1 What is Docker ? PO DI LI SORTABLE SPOSABLE VE CIAL
  20. www.usievents.com #USI2014 Registries PODILISOCIAL Docker Hub Console Registry Collaboration tools Automated build service WebHooks DockerHub API Community tools Public registries Vote for valuable images Trusted images « Official » images Continuous build tooling Enterprise, private registries
  21. www.usievents.com #USI2014 #1 What is Docker ? Docker technology Copy on Write storage • AUFS • Device Mapper • Btrfs Resources isolation • LXC • cGroups, namespaces • IpTables DockerEngine API Docker Engine Major actorsDocker Hub
  22. www.usievents.com #USI2014 #1 What is Docker? #2 Opportunities leveraged by Docker #3 Take-away
  23. www.usievents.com #USI2014 #1 What is Docker? #2 Opportunities leveraged by Docker #2.1 Docker invented the CaaS #2.2 Docker eases PaaS adoption #3 Take-away
  24. www.usievents.com #USI2014 #2.1 Docker invented the CaaS IaaSCapacity (VM, Stockage…) PaaSApplication (code) SaaSService
  25. www.usievents.com #USI2014 #2.1 Docker invented the CaaS IaaSCapacity (VM, Stockage…) PaaSAppli. (code) SaaSService CaaSApplicative containers
  26. www.usievents.com #USI2014 #2.1 Docker invented the CaaS Apps team In the container Ignore where the container run (dev computer, prod…) Knows how to build the container and operate applications “You build it, you run it!” Infra team Out of the container Ignore how the container images are built Knows how to deal with huge amount of containers
  27. www.usievents.com #USI2014 Deploy #2.1 Docker invented the CaaS [Apps Side] Continuous integration of Apps « Build once, run everywhere » Public registry Enterprise registry Dev SCM Soft. factory TEST Container(s) UAT Container(s) PROD Container(s) Test
  28. www.usievents.com #USI2014 Internal or external offer from the enteprise Whished properties Deal with IaaS topics (multi-host, multi-tenancy…) Expose an API enabling to manage containers Expose a transversal services API (load balancers, DNS, service directories such as ZooKeeper…) Integrate support functions (Manage accounting, billing...) #2.1 Docker invented the CaaS [Ops Side] Infrastructure offers an on-demand container service
  29. www.usievents.com #USI2014 « Containerized » products From the community registry to a real marketplace ? #2.1 Docker invented the CaaS Emergence of a virtual appliance offer (Source: docker.io)
  30. www.usievents.com #USI2014 #1 What is Docker? #2 Opportunities leveraged by Docker #2.1 Docker invented the CaaS #2.2 Docker eases PaaS adoption #3 Take-away
  31. www.usievents.com #USI2014 #2.2 Docker eases PaaS adoption Source code is the « real » portable content Git PaaS Pilote & push code Docker may contribute off the hood
  32. www.usievents.com #USI2014 #2.2 Docker eases PaaS adoption Several new initiatives leverage on Docker Flynn, Deis, OpenShift Objective : propose a PaaS OpenSource solution By proposing an Heroku style interface (git push) By implementing their own Docker CaaS Technical services Docker images ready to install «buildpacks»
  33. www.usievents.com #USI2014 #1 What is Docker? #2 Opportunities leveraged by Docker #3 Take-away
  34. www.usievents.com #USI2014 #3 Take-away Combine both PaaS & CaaS approaches P a a S Code C a a S Use both models to address all cases Image
  35. www.usievents.com #USI2014 #3 Take-away Cloud DevOps CaaS PaaS Continuous Delivery Architecture Organization Time to market Qualité € Opportunities
  36. www.usievents.com #USI2014 Web giants already started to move on Create you own Docker sandbox Contribute to the community #3 Take-away The product gets mature, use it!
Publicité