You can use the Cloud Foundry Command Line Interface (cf CLI) to create service instances.
-
Download and install the cf CLI and log on to Cloud Foundry.
For more information, see Download and Install the Cloud Foundry Command Line Interface and Log On to the Cloud Foundry Environment Using the Cloud Foundry Command Line Interface.
-
If you are working in an enterprise account, you need to add quotas to the services you purchased in your subaccount before they appear in the service marketplace. Otherwise, only default free-of-charge services are listed. Quotas are automatically assigned to the resources available in trial accounts.
For more information, see Configure Entitlements and Quotas for Subaccounts.
-
(Optional) Open a command line and enter the following string to list all services and service plans that are available in your org:
cf marketplace
-
Run the following command to create a service instance:
cf create-service SERVICE PLAN SERVICE_INSTANCE
Specify the following parameters:
-
SERVICE
: The name of the service you want to create an instance of. -
PLAN
: The name of the service plan you want to use. -
SERVICE_INSTANCE
: The new name for your service instance. Use only alphanumeric characters, hyphens, and underscores.
-
Related Information
Binding Service Instances to Applications