Create, bind, or unbind services

Services are integral to the application development life cycle. Applications inside a Space consume services in different ways:

  • Applications consume dynamic services by provisioning services in the Space.
  • Applications consume pre-provisioned services by using PE/SO to attach to an already provisioned service.

Create a dynamic service

As an application operator or an application developer you can provision a new dynamic service directly inside your Space and bind it to your application.

To create a dynamic service:

  1. Log on to Tanzu Hub.
  2. Go to Application Spaces > Spaces.
  3. Select a Space in which to create the service.
  4. Go to Services.
  5. Click Create Service.
  6. In the service creation wizard click Dynamic Service.
  7. Select the service you want from the table that is available for provisioning dynamic services.
  8. Click Next.
  9. Enter service details in the fields, including Name, Description, and Contact.
  10. Enter service parameters, including the Storage GB field.
  11. Click Create Service to finish the wizard.

Attach to a pre-provisioned service

As a service operator or platform engineer, you can allow apps in specific Spaces of a project to bind to a service instance that you pre-provisioned in the cloud or on-premises.

To attach a pre-provisioned service:

  1. Log on to Tanzu Hub.
  2. Go to Application Spaces > Spaces.
  3. Select a Space in which to create the service.
  4. Go to Services.
  5. Click Create Service.
  6. In the service wizard, click Pre-provisioned Service and then click Next.
  7. Enter service details in the fields, including Name, Description, and Contact.

Enter binding connector details

Binding connectors are the available slots on the service side to which an application can connect. You can configure binding connectors per availability target or you can use one configuration for all availability targets in which the Space is scheduled.

To enter binding connector details:

  1. Enter the connector name and connector type.
  2. Select your choice of whether to configure the connector the same way for all availability targets.
  3. If you chose the same configuration for all availability targets, populate the connection details for the connector. If you did not choose that, select the availability targets that you want to configure, and then for each availability target populate the connection details for the connector in that availability target.
  4. Click Add Binding connector to configure another connector, or click Next to proceed to the next step.
  5. Proceed to the optional next section to enter application binding details, or click Create Service to close the wizard.

(Optional) Enter application binding details

This section tells you how to bind to an application after the service is attached. You can do this optional task later from within Service Details or Application Details.

To enter application binding details:

  1. To configure an application binding as part of the attachment flow, select which application you want to bind to this service.
  2. Select the application binding alias. This alias is the binding slot on the application side that connects to the binding connector on the service side.
  3. Select the defined binding connectors that you want to bind this application to.
  4. Click Add Service Binding to configure another application or click Create Service to finish the wizard.
check-circle-line exclamation-circle-line close-line
Scroll to top icon