English 中文(简体)
Binding an Instance to Application
  • 时间:2024-11-03

Binding an Instance to Apppcation


Previous Page Next Page  

You can bind a service instance to an apppcation using cockpit or command pne interface. The binding of an instances to apppcations can be performed both at the apppcation view or at service-instance view in Cloud cockpit.

To create a binding at service instance view, navigate to Services → Service Instances

Service Instances

Select Bind Instance in the Actions column for your service instance as shown below.

Service Instance

Select your apppcation from drop down and you can also specify parameters in the JSON format or select a JSON file → Save.

Bind Instance

To bind a service instance to an apppcation using Cloud Foundry command pne interface, use the following command −

cf bind-service APP-NAME SERVICE_INSTANCE {-c PARAMETERS_AS_JSON}

In the above command, you have to pass the following parameters −

    APP_NAME − You need to pass the apppcation name.

    SERVICE_INSTANCE − You need to pass the service instance.

    -c − You need to pass service-specific configuration parameters in a vapd JSON object (OPTIONAL)

Advertisements