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.

Docker Service Broker for Cloud Foundry


Published on

Silicon Valley Cloud Foundry Meetup: "Docker, Cloud Foundry & BOSH: Reimagining applications runtime and packaging"

Docker Service Broker for Cloud Foundry slides

Published in: Engineering

Docker Service Broker for Cloud Foundry

  1. 1. Docker Service Broker for Cloud Foundry Ferran Rodenas @ferdy Cloud Foundry Platform Engineering Team @ Pivotal
  2. 2. Cloud Foundry Services Cloud Foundry Services enables application developers to provision a service on demand and bind it to an application using a really simple and agile workflow
  3. 3. Cloud Foundry Services Broker API
  4. 4. Cloud Foundry Services • Where do I find services ready for Cloud Foundry? • Do I need to create an specific service broker? • Do I need to create a BOSH release?
  5. 5. Docker Service Broker for Cloud Foundry An easy and convenient way to expose development and testing services to your applications without the overhead of creating an specific service broker by just using Docker images Disclaimer: Everything stated in this presentation is to be considered my wife’s opinion, I have none (in my opinion). Actual mileage may vary. Price does not include tax, title, and license. Some assembly required. Each sold separately. Batteries not included. Objects in mirror are closer than they appear. If conditions persist, contact a physician. Keep out of reach of children. Avoid prolonged exposure to direct sunlight. Keep in a cool dark place.
  6. 6. Docker Service Broker for Cloud Foundry • Services Catalog: predefined Docker services • Provision an instance: create and start a predefined Docker container and assign random credentials via environment variables • Bind an instance to an application: send service credentials hash back to the bound application • Unbind an instance • Unprovision an instance: destroy Docker container • Expose a management dashboard: top processes, stdout/stderr logs, … • Syslog drain URL: drain your application logs to a Docker syslog (logstash, …)
  7. 7. Docker Service Broker for Cloud Foundry It can be deployed as a standalone application, as a Docker container (frodenas/cf-containers-broker) OR Using the Docker BOSH Release: • Deploy it on your choice of IaaS • Service broker application self-healing • VM self-healing • Resize persistent data without data loss • Drain containers logs to a remote syslog
  8. 8. Services Marketplace
  9. 9. Credentials Hash
  10. 10. Management Dashboard
  11. 11. Show Demo Time
  12. 12. Wanna learn more? Blog Post: Youtube videos: • Part 1: Provision services using Docker containers • Part 2: Binding applications to services • Part 3: Multi-database engines tests • Part 4: Draining application events and logs