Example Service Brokers
Page last updated: September 28, 2015
The following example service broker applications have been developed - these are a great starting point if you are developing your own service broker.
Ruby
- GitHub repo service - this is designed to be an easy-to-read example of a service broker, with complete documentation, and comes with a demo app that uses the service. The broker can be deployed as an application to any Cloud Foundry instance or hosted elsewhere. The service broker uses GitHub as the service back end.
- MySQL database service - this broker and its accompanying MySQL server are designed to be deployed together as a BOSH release. BOSH is used to deploy or upgrade the release, monitors the health of running components, and restarts or recreates unhealthy VMs. The broker code alone can be found here.
Java
- Spring Boot Service Broker - This implements the rest contract for service brokers and the artifacts are published to the spring maven repo. This greatly simplifies development: include a single dependency in gradle, implement interfaces, and configure. A sample implementation has been provided for MongoDB.
- MySQL Java Broker - a Java port of the Ruby-based MySQL broker above.
Go
- Asynchronous Service Broker for AWS EC2 - This broker implements support for the experimental Asynchronous Service Operations, and calls AWS APIs to provision EC2 VMs.