SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Deploy CAP Java App to SAP Business Technology Platform

Deploy the recently built bookstore application to SAP Business Technology Platform using the Cloud Foundry CLI.

Overview

🎓 beginner 15 min. SAP Cloud Application Programming ModelBeginnerSAP Business Technology PlatformJavaSAP Business Application Studio

You will learn

  • How to prepare project configuration for deployment using cds add commands
  • How to deploy an application to SAP Business Technology Platform Cloud Foundry (SAP BTP) environment
René Jeglinsky R René Jeglinsky December 10, 2024
Created by December 10, 2024
Contributors

Prerequisites

Steps

Intro

In the previous tutorial you added authentication to your application. In this tutorial, you will deploy the application to SAP BTP, Cloud Foundry environment and have it running fully in the cloud.


Step 1 Provision an Instance of SAP HANA Cloud

You first need to provision your SAP HANA Cloud instance, which is a prerequisite to later on create a SAP HANA HDI Container to deploy your database artifacts to.

  1. Follow the tutorial Provision an Instance of SAP HANA Cloud (Step 1+2). Make sure to allow access to your SAP HANA Cloud from all IPs and that the instance of the SAP HANA you have created is mapped to your subaccount and space (Step 1) where you working with this tutorial.
Step 2 Enhance project configuration for production
+
Step 3 Enable application for Cloud Foundry
+
Step 4 Update `xs-security.json`
+
Step 5 Identify SAP BTP Cloud Foundry endpoint
+
Step 6 Log into SAP BTP Cloud Foundry environment
+
Step 7 Deploy using cf deploy
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Provision an Instance of SAP HANA Cloud 2. Enhance project configuration for production 3. Enable application for Cloud Foundry 4. Update `xs-security.json` 5. Identify SAP BTP Cloud Foundry endpoint 6. Log into SAP BTP Cloud Foundry environment 7. Deploy using cf deploy

Learn more →