service broker - cfapps.io broker api summary ... • bind –create a binding between an app and...

14
Service Broker

Upload: hadat

Post on 07-Mar-2018

225 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

Service Broker

Page 2: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

Managed Services

Managed services must implement the Service Broker API.

Page 3: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

Service Broker API

REST based API over HTTP

=

Service Brokers can run anywhere

Page 4: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

Service Broker API Summary

• Catalog Mgmt – describe the plans offered by the service

• Provision – create a service instance

• Deprovision – delete a service instance

• Bind – create a binding between an app and service instance

• Unbind – delete binding

* Not a comprehensive list

Page 5: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

What should I provision?

Provision anything you want.

Page 6: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

CLICloud

ControllerCC_DB

(1) Create Service

Provision Sequence

MongoDBService Broker

Page 7: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

CLICloud

ControllerCC_DB

(1) Create Service

Provision Sequence

MongoDBService Broker

(2) Provision

Page 8: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

CLICloud

ControllerCC_DB

(1) Create Service

Provision Sequence

MongoDBService Broker

(2) Provision

(3) Reserve Resources

Page 9: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

Binding

Provide unique credentials per binding.

Page 10: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

CLICloud

ControllerCC_DB

(1) Bind Service

Bind Sequence

MongoDBService Broker

Page 11: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

CLICloud

ControllerCC_DB

(1) Bind Service

Bind Sequence

MongoDBService Broker

(2) Bind Service

Page 12: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

CLICloud

ControllerCC_DB

(1) Bind Service

Bind Sequence

MongoDBService Broker

(2) Bind Service

(3) Obtain credentials

Page 13: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind

CLICloud

ControllerCC_DB

(1) Bind Service

Bind Sequence

MongoDBService Broker

(2) Bind Service

(3) Obtain credentials

(4) Store Credentials

Page 14: Service Broker - cfapps.io Broker API Summary ... • Bind –create a binding between an app and service instance • Unbind –delete binding ... Cloud Controller CC_DB (1) Bind