Services are reusable building blocks that provide specific functionalities to your applications, enhancing development efficiency and scalability. These services range from managed services (fully maintained by SAP) to user-provided services (provided and managed by you). They encapsulate complex logic, infrastructure, and data access, allowing you to focus on your core application logic rather than reinventing the wheel.
Services are grouped into two types:
- Business services: These services enable, facilitate, or accelerate the development of business process components or provide industry-specific functionalities or content within a business application. For example: SAP Document Management service.
- Technical services: These services enable, facilitate, or accelerate the development of general or domain-independent content within a business application, independent of the application's business process or task. For example: SAP Application Autoscaler or SAP Authorization and Trust Management Service, and so on.
A service instance is a single instantiation of a service running on SAP BTP, created using a specific service plan, which is a configuration variant of a service. To use a service in your application, you need to create a service instance and bind it to your application.
For an already running application, a restage is required if bindings change, as the binding information is incorporated into the droplet during the staging process. A simple restart will not be sufficient. More information about restage and restart will be discussed in Lesson "Mastering Cloud Foundry Application Lifecycle Events" of the Unit "Optimizing and Managing Applications in SAP BTP, Cloud Foundry Runtime" in this Learning Journey.
Watch the following video to discover the steps for using services in Cloud Foundry.
To view services in the SAP BTP cockpit, navigate to the Cloud Foundry space where you want to use the service, and choose Services → Service Marketplace. The Service Marketplace provides a detailed overview of each service along with information about any service plans, along with the tools needed to create a service instance and bind it to an application.
Service Binding
When you deploy an application to the SAP BTP that requires another service such as the xsuaa service. Make sure that the service instance must be available so that service binding can take place.
You can list all bindings of a respective service, for example, in the SAP BTP cockpit. For this, go to Services → Instances and Subscriptions. From here, select an instance, and you'll see all bindings to deployed applications.