During the Index 2018 conference in San Francisco, CA, IBM hosted a CF Day with multiple speakers from the Cloud Foundry community. Following is a summary of one talk during that meeting; we’ll provide a full overview for the whole day in an upcoming post.

This post is co-authored with Swetha Repakula, IBM Engineer, and Meaghan Kjelland, Google Engineer.

In 2017, one of the major advances in the Cloud Foundry community was the release of the Open Service Broker API (OSBA) specification. Spearheaded by Pivotal, IBM, SAP, Google, and others in the CNCF community, the goal of this project is to extract the well-known and loved Service Broker API from Cloud Foundry and make it a usable standard across projects in the broader CNCF community.

To show the value of this new API, the IBM team from Silicon Valley Lab (Swetha Repakula, Jonathan Berkhahn, and Morgan Bauer) gave a presentation with demo that can serve as a primer for using OSBA services within Cloud Foundry. The presenters provided a scenario that showed various details of how brokers are used and managed.

The team from IBM created a simple “Cats and Dogs” preference voting app in Golang — deployed using a docker image — that uses a database service via an OSBA broker to keep track of the apps’ voting info. They showed the steps needed to connect the app to a service instance, as well as to change it to a user-provided one.

In order to display the results of live voting, the team demonstrated how to connect their application to another separate service that generates a live pie chart of the results. The point was to show how multiple service instances running in heterogeneous locations can be used with CF applications.

Finally, the team concluded with a quick overview of what it takes to manage service instance brokers and enable them for organizations and spaces in a CF environment.

Hybrid Cloud with Cloud Foundry and GCP Services

As another example of the value and power of the Open Service Broker APIs standard in hybrid environments, Google engineer Meaghan Kjelland demonstrated the already extensive collection of Google services exposed through OSBA brokers.

Some example services exposed using Google’s OSBA broker include the highly scalable Google Big Table, Cloud SQL, and Spanner databases, as well as a collection of services for speech and natural language recognition and a suite of developer tools that go by the general name “Stackdriver.” Meaghan gave a live demo of many of the services with sample applications showcasing the power of each.

To close, Meaghan showed how the Stackdriver debugger can be used to step into live code by simply binding a debugger service instance with the running CF app. The debugger is live in a browser window and enables developers with most of what modern IDE debuggers can do, such as setting up breakpoints, stepping in/out of code, and displaying live details about the application’s objects as it is running!

Join The Discussion

Your email address will not be published. Required fields are marked *