LATEST VERSION: 2.0 - RELEASE NOTES
Spring Cloud Services v1.5

Service Instance Sharing

Spring Cloud Services supports Cloud Foundry service instance sharing. See the below sections for steps to share and unshare a Spring Cloud Services service instance across orgs and spaces.

Note: Service instance sharing requires Pivotal Cloud Foundry (PCF) version 2.1 or later.

Sharing a Service Instance

To share an existing Spring Cloud Services service instance, run the cf share-service command. Provide the service instance name, the space with which to share the service instance, and the org with which to share the service instance (if the space is not in the currently-targeted org).

To share a Service Registry service instance named service-registry with the john space in the current org, run:

$ cf share-service service-registry -s john

To share a Service Registry service instance named service-registry with the charles space in the development org, run:

$ cf share-service service-registry -o development -s charles

Unsharing a Service Instance

To unshare a Spring Cloud Services service instance from a space with which it has been shared, run the cf unshare-service command. Provide the service instance name, the space with which the service instance should no longer be shared, and the org of that space (if different from the current org).

To stop sharing a Service Registry service instance named service-registry with the john space in the current org, run:

$ cf unshare-service service-registry -s john

To stop sharing a Service Registry service instance named service-registry with the charles space in the development org, run:

$ cf unshare-service service-registry -o development -s charles

For more information about service instance sharing, see the Sharing Service Instances topic in the Cloud Foundry documentation.

Create a pull request or raise an issue on the source for this page in GitHub