- SAP Cloud Platform - Discussion
- SAP Cloud Platform - Useful Resources
- SAP Cloud Platform - Quick Guide
- Developer Responsibilities
- Trial Limitations
- Backend System Connection
- HTML App Development
- Site Authors
- Access Management
- Cloud Repositories
- Transferring Sites
- Translating Site
- Other Site Activities
- Publishing Site
- Creating Service Key
- Binding an Instance to Application
- Creating New Instance
- Cloud Foundry Environment
- Site Themes
- Site Design
- New Site Creation
- Checklist for Site Planning
- Service Description
- SAP Cloud Platform - Free Trial
- SAP Cloud Platform - Introduction
- SAP Cloud Platform - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Binding an Instance to Apppcation
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
Select Bind Instance in the Actions column for your service instance as shown below.
Select your apppcation from drop down and you can also specify parameters in the JSON format or select a JSON file → Save.
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)