LATEST VERSION: 3.0 - RELEASE NOTES
Spring Cloud Services v3.0

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 Config Server service instance named my-config-server with the john space in the current org, run:

$ cf share-service my-config-server -s john

To share a Config Server service instance named my-config-server with the charles space in the development org, run:

$ cf share-service my-config-server -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 Config Server service instance named my-config-server with the john space in the current org, run:

$ cf unshare-service my-config-server -s john

To stop sharing a Config Server service instance named my-config-server with the charles space in the development org, run:

$ cf unshare-service my-config-server -o development -s charles

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

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