Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member197386
Active Contributor
My intention by writing this article is only to guide beginners interested in Cloud Foundry environment available in SAP Cloud Platform. Moreover, if you took 6 or 7 mn to complete described steps to deploy the very basic application, please don't send me your lawyers 🙂At the end of this blog, you will be able to deploy your first application on SAP Cloud Platform (SCP), built on top of Cloud Foundry Application Runtime !

 

Sign Up for a Free Account


Go to https://cloudplatform.sap.com and sign up for an free account

Then, you just have to follow the form with some information. Note that your email will become your identifier to access the Platform and needs to be a valid one.

You will receive an email with an activation link.



At this point, you are able to connect to SCP with your email / password and discover the "Cockpit": this is the central place where you will pilot the platform.

 

Activate the Cloud Foundry environment


You have to be aware that two environments are co-existing on SAP Cloud Platform: the former one named Neo and the latest one based on Cloud Foundry.

By default, the Cloud Foundry environment is not activated. So, you have to request its creation before to get the possibility to deploy in this environment.

Several datacenters are available. please, choose the one closest to your location. In this blog, we will use Europe/Frankfurt on Amazon Web Services infrastructure.

The provisioning process will take a few seconds to complete.



At the end of this step, your Cloud Foundry environment is ready: an organization is created belong the subaccount. A space is also created into the organization.

Organization and space are both concepts coming from Cloud Foundry world. If you want to get more information, you can visit this page.

In the organization overview page, you will see information about the Cloud Foundry environment like the API Endpoint (upper left corner).

For now, no application is deployed yet.

 

Deploy your first application


For testing purpose, you will deploy a very simple java application using SCP Cockpit (no programming skill required).

Firstly, you have to download the application scphelloworld-0.0.1-SNAPSHOT.war from GitHub.

This is a simple "Hello World" application built upon Spring Boot (the source code is here).

 

Click on "Deploy Application" and then select the location of the WAR file you've just downloaded.

Uncheck "Use Manifest". Be careful because "Application Name" must be globally unique on the platform! You can simply append your own identifier at the end of the name. leave others fields with their default values.

 

Click "Deploy" and wait for the application state "Started".

Then, click on the application name to go to the detail page.

Finally, here you will find the absolute URL of your application.

Click on the link and add "/hello" at the end of the URL to see your first application running of SAP Cloud Platform into the Cloud Foundry environment.

Congratulations!

Welcome to any comments/questions 🙂
2 Comments