Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Deploying Couchbase Server Using Docker: Couchbase Connect 15

4,572 views

Published on

By automating the deployment of application inside software containers, Docker makes life easier for everyone – and by providing an always-on, scalable, flexible NoSQL database, Couchbase Server is enabling you to build applications like never before, with performance that was once unattainable. In this session, Docker’s Patrick Chanezon and Couchbase’s Tim Stephan will discuss how to combine the simplicity of Docker with the power of Couchbase to streamline your application development and deployment process. Developers – get the infrastructure out of the way and focus on your app. Architects – be secure in the knowledge that your applications will perform at scale.

Published in: Technology
  • Be the first to comment

Deploying Couchbase Server Using Docker: Couchbase Connect 15

  1. 1. Patrick Chanezon, Docker Inc. @chanezon With slides from @jpetazzo @vieux Couchbase on Docker
  2. 2. French Polyglot Platforms San Francisco Developer Relations @chanezon
  3. 3. 1995 2015
  4. 4. Docker in the cloud market
  5. 5. Cloud Market PublicHybridPrivate IT Pros Devops DevelopersArchitects
  6. 6. 7
  7. 7. 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
  8. 8. Happy birthday!
  9. 9. Why Docker success now? • Cloud adoption • Portability • Hybrid • Devops
  10. 10. It’s an ecosystem
  11. 11. Linux Container Ecosystem
  12. 12. Docker
  13. 13. Docker now  A platform to build, ship, and run any app, anywhere  docker engine  docker hub  docker-machine  docker-compose  docker-swarm  kitematic
  14. 14. Isolation using Linux kernel features namespaces  pid  mnt  net  uts  ipc  user cgroups  memory  cpu  blkio  devices
  15. 15. Docker for developers https://registry.hub.docker.com/_/java/
  16. 16. docker-compose: running multiple containers  Run your stack with one command: docker-compose up  Describe your stack with one file: docker-compose.yml web: build: . command: python app.py ports: - "5000:5000" volumes: - .:/code links: - redis:redis redis: image: redis
  17. 17. docker-machine docker-machine create -d azure —azure-subscription-id="c4f51be3-784c-xxx-7c50ad9e1b7c" --azure-subscription-cert="/Users/pat/.ssh/docker-azure- cert.pem" --azure-location="East US" --azure-size=Small --azure-username="pat" pat-docker-machine-n
  18. 18. Docker Hub
  19. 19. Docker Hub Enterprise
  20. 20. Docker Swarm
  21. 21. Docker CLI Docker CLI Docker CLI Docker Engine
  22. 22. us-west us-east Docker CLI Docker CLI Docker Swarm Swarm
  23. 23. Swarm in a nutshell  Docker REST API (>85%)  Resource management (CPU, Mem, Networking)  Advanced scheduling with constraints and affinities  Multiple Discovery Backends (hub, etcd, consul, zookeeper)  TLS: Encryption & Authentication
  24. 24. Swarm beta integrations  Fully integrated with Machine  Partially integrated with Compose  Mesos integration has started in collaboration with Mesosphere.
  25. 25. Kitematic
  26. 26. Deploy almost anywhere
  27. 27. Docker, the community  >700 contributors  ~20 core maintainers  >40,000 Dockerized projects on GitHub  >60,000 repositories on Docker Hub  >25000 meetup members, >140 cities, >50 countries  >2,000,000 downloads of boot2docker
  28. 28. Docker Inc, the company  Headcount: ~130  Revenue:  t-shirts and stickers featuring the cool blue whale  SAAS delivered through Docker Hub  Support & Training  soon: Docker Hub Enterprise, behind the firewall
  29. 29. It’s all about Devops
  30. 30. Separation of concerns: Dave the Developer  Inside my container:  my code  my libraries  my package manager  my app  my data
  31. 31. Separation of concerns: Oscar the Ops guy  Outside the container:  logging  remote access  network configuration  monitoring
  32. 32. Plugins
  33. 33. Weave
  34. 34. Flocker
  35. 35. Powerstrip Prototyping Docker Plugins https://clusterhq.com/blog/powerstrip-prototype-docker-extensions-today/
  36. 36. Couchbase on Docker
  37. 37. Couchbase image docker run -d -v ~/couchbase:/opt/couchbase/var -p 8091:8091 —name my-couchbase-server couchbase https://registry.hub.docker.com/_/couchbase/
  38. 38. Couchbase image
  39. 39. Sample travel app https://github.com/tleyden/try-cb-nodejs
  40. 40. docker-compose file
  41. 41. docker-compose up
  42. 42. Demo
  43. 43. Fire up your first container today! Ride the Whale!
  44. 44. Learning • http://docs.docker.com/ • http://slideshare.net/chanezon • https://github.com/chanezon/azure-linux • https://registry.hub.docker.com/_/couchbase/ • https://github.com/tleyden/try-cb-nodejs
  45. 45. We’re hiring! https://www.docker.com/company/careers/
  46. 46. 10 3 References • talk about cloud platforms: Managing complexity in giant systems http://www.slideshare.net/chanezon/tackling- complexity-in-giant-systems-approaches-from-several-cloud-providers • talk about Devops, the Microsoft Way http://www.slideshare.net/chanezon/devops-the-microsoft-way • MS Open Tech https://msopentech.com/ Blog, VM Depot • P@ Linux on Azure pages https://github.com/chanezon/azure-linux/ • Tim’s CoreOS tutorial https://github.com/timfpark/coreos-azure • Tim’s Deis documentation • @jpetazzo’s presentations http://www.slideshare.net/jpetazzo/ • @bcantrill’s deck http://www.slideshare.net/bcantrill/docker-and-the-future-of-containers-in-production • @vieux deck on Swarm • @htchen deck on Mesos + Swarm https://speakerdeck.com/tnachen/docker-swarm-plus- mesos
  47. 47. Q&A

×