Deploy an App to SAP BTP, Cloud Foundry runtime
Use SAP BTP cockpit to deploy an app to the Cloud Foundry runtime, then explore what was deployed and created.
Overview
You will learn
- How to deploy an app to the SAP BTP, Cloud Foundry runtime using the cockpit
- What is created when an app is deployed
Prerequisites
Steps
Intro
This tutorial assumes you’ve completed the Download and Prepare App for Cloud Foundry Deployment tutorial, where you should have a folder containing a sample Node.js app with a deployment descriptor file. You’re going to package the app and deploy it directly from your machine using a feature in the SAP BTP cockpit itself.
To deploy your sample application on SAP BTP, create a zip file that contains the necessary files.
- Open the folder
cf-sample-app-nodejs-mainwhich contains your sample app. - Select the entire contents of this folder – all folders & files – and add them to a new
hello-nodejs.zipfile (if you’re on macOS, you can use the “Compress” feature and then change the filename fromArchive.ziptohello-nodejs.zip).

Be sure not to include the containing folder in the zip file – you must explicitly select only the contents of the
cf-sample-app-nodejs-mainfolder and not that folder itself.
In the SAP BTP cockpit, go to the Cloud Foundry dev space of your trial account.
Make sure that the Applications tab is selected in the navigation menu.
Choose Deploy Application.
Deploy button Choose Browse to select the
hello-nodejs.zipfile you created earlier.Enable Use Manifest.
Choose Browse to select the
manifest.ymlfile (the one that you edited in the previous tutorial) in the same folder.

- Choose Deploy.
The application is deployed to SAP BTP and starts automatically. It appears in the list of applications and the status will turn green if the application starts without problem.
Choose the application from the list of applications by clicking on its name.
The application overview opens.
In the Application Routes section, choose the URL to open the application you’ve just deployed.
Application Routes section A new tab opens that displays the app information.
CF application information
At this stage, you have your sample app deployed and running in Cloud Foundry on SAP BTP. Well done!
Resources
Discussion
Share feedback on this tutorial or join the conversation in SAP Community.