Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OSBAPI @ Hackovation

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →
Alex Ley
November 18, 2017

OSBAPI @ Hackovation

Intro to the OSBAPI project for the ABI Hackovation event in Munich

Alex Ley

November 18, 2017

Transcript

59 slides
  1. Outcomes • Understand problems developers face today accessing services •

    Learnt what the Open Service Broker API is and it’s history • How to offer services to CF & K8s • Hackathon Ideas • Know how to get involved 3
  2. 21 What is a service broker? • Provides a standardized

    API to externalize management of services from Cloud Application Platforms • Automates the lifecycle of a service including credential management https://docs.cloudfoundry.org/services/api.html @alexevade
  3. 22 Broker API Endpoints • /v2/catalog (GET) • /v2/service_instances/:id (PUT/PATCH/DELETE)

    • /v2/service_instances/:id/service_bindings/:id (PUT/DELETE) • /v2/service_instances/:id/last_operation (GET) • All are authenticated with basic auth @alexevade
  4. 24 What is OSBAPI? • It’s a specification… • Implemented

    by platforms that want to offer easy access to services • Implemented by service providers that want to offer managed services to platforms • It’s not about how the service is deployed @alexevade
  5. 25 Advertise a Service Catalog Service Broker Get catalog Return

    services & plans Cloud Platform @alexevade
  6. 27 Bind a Service username : admin password : secret

    Cloud Platform Service Binding Service Instance
  7. 28 Service Broker Using a Service username : admin password

    : secret Service Binding Info Service Instance App running on platform @alexevade
  8. 33 “By standardizing the industry on the Open Service Broker

    API, we can build a foundation for an ecosystem that transcends a single community” Abby Kearns Executive Director - Cloud Foundry @alexevade
  9. 35

  10. 37

  11. 38

  12. 43 Service plans •What is the service? •What does a

    user get? •How much does it cost? •What extra inputs can users send? @alexevade
  13. 44 Types of services •Vanilla Service Broker - Databases, APIs,

    etc! •Route Services - Security, API Management •Volume Services - Specialist Disk & Storage @alexevade
  14. 45 Create a Service Broker •Implement a service broker that

    conforms the the Service Broker API v2 Specification •Simple interface for developers •Choose synchronous or async provisioning @alexevade
  15. 48 Build a Service Broker Spring Cloud Service Broker Framework

    https://github.com/spring-cloud/spring-cloud-cloudfoundry-service-broker BrokerAPI: Golang Service Broker Framework https://github.com/pivotal-cf/brokerapi On-Demand Services SDK https://github.com/pivotal-cf/on-demand-service-broker-release @alexevade
  16. 49 Example Service Brokers https://github.com/openservicebrokerapi/servicebroker/blob/ v2.13/gettingStarted.md Ruby Example Broker https://github.com/cloudfoundry-samples/github-service-broker-ruby

    Spring Mongo DB Broker https://github.com/spring-cloud-samples/cloudfoundry-service-broker Golang Example Broker https://github.com/avade/cf-example-broker/ @alexevade
  17. 51 "plans": [{ "schemas": { "service_instance": { "create": <parameters>, "update":

    <parameters>, }, "service_binding": { "create": <parameters> } } }] http://json-schema.org/draft-04 Featured in v2.13 of the specification Configuration Schemas @alexevade
  18. 54 New & Enhanced Endpoints •Enhance the API to do

    something new and cool! •Build a broker to show this off! @alexevade
  19. Cloud Foundry 56 Istio Service Broker Kubernetes K8s Pod 56

    CF App Istio Control Plane Expose services via the Istio broker @alexevade
  20. 58 Get involved • Community interests on our weekly call

    (Tuesdays 9:30am PST)
 https://github.com/openservicebrokerapi/servicebroker/wiki/Weekly-Call
 • GitHub (includes Getting Started page)
 https://github.com/openservicebrokerapi/servicebroker
 • Slack / Google Group
 http://slack.openservicebrokerapi.org
 https://groups.google.com/forum/#!forum/open-service-broker-api @alexevade

More Decks by Alex Ley

Other Decks in Technology