Spring Cloud Services v1.3

Creating an Instance

Page last updated:

You can create a Circuit Breaker Dashboard service instance using either the Cloud Foundry Command Line Interface tool (cf CLI) or Pivotal Cloud Foundry (PCF) Apps Manager.

Using the cf CLI

Begin by targeting the correct org and space.

$ cf target -o myorg -s development

API endpoint: (API version: 2.43.0)
User:           user
Org:            myorg
Space:          development

If desired, view plan details for the Circuit Breaker Dashboard product using cf marketplace -s.

$ cf marketplace
Getting services from marketplace in org myorg / space development as user...

service                       plans          description
p-circuit-breaker-dashboard   standard       Circuit Breaker Dashboard for Spring Cloud Applications
p-config-server               standard       Config Server for Spring Cloud Applications
p-mysql                       100mb-dev      MySQL service for application development and testing
p-rabbitmq                    standard       RabbitMQ is a robust and scalable high-performance multi-protocol messaging broker.
p-service-registry            standard       Service Registry for Spring Cloud Applications

TIP:  Use 'cf marketplace -s SERVICE' to view descriptions of individual plans of a given service.

$ cf marketplace -s p-circuit-breaker-dashboard
Getting service plan information for service p-circuit-breaker-dashboard as ...

service plan   description     free or paid
standard       Standard Plan   free

Run cf create-service, specifying the service, plan name, and instance name.

$ cf create-service p-circuit-breaker-dashboard standard circuit-breaker-dashboard
Creating service instance circuit-breaker-dashboard in org myorg / space development as admin...

Create in progress. Use 'cf services' or 'cf service circuit-breaker-dashboard' to check operation status.

As the command output suggests, you can use the cf services or cf service commands to check the status of the service instance. When the service instance is ready, the cf service command will give a status of create succeeded:

$ cf service circuit-breaker-dashboard

Service instance: circuit-breaker-dashboard
Service: p-circuit-breaker-dashboard
Bound apps:
Plan: standard
Description: Circuit Breaker Dashboard for Spring Cloud® Applications
Documentation url:

Last Operation
Status: create succeeded
Started: 2016-06-29T19:13:13Z
Updated: 2016-06-29T19:16:19Z

Note: You may notice a discrepancy between the status given for a service instance by the cf CLI (e.g., by the cf service command) versus that shown on the Service Instances dashboard. The dashboard is updated frequently (close to real-time); the status retrieved by the cf CLI is not updated as frequently and may take time to match the dashboard.

Using Apps Manager

Log into Apps Manager as a Space Developer. In the Marketplace, select Circuit Breaker.


Select the desired plan for the new service instance.

Select plan

Provide a name for the service instance (for example, “circuit-breaker-dashboard”). Click the Add button.

Instance name

In the Services list, click the listing for the new service instance.

Service successfully added

Click the Manage link.

Manage link

It may take a few minutes to provision the service instance; while it is being provisioned, you will see a “The service instance is initializing” message. Once the instance is ready, its dashboard will load automatically.

The Circuit Breaker Dashboard instance is now ready to be used. For an example of using a circuit breaker in an application, see the Writing Client Applications topic.

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