Table of contents

Official Content

The purpose of this article is to explain the necessary steps to deploy an application to IBM Cloud. By using the Deploy Applications tool, it is possible to run Java applications on IBM Cloud.


A Cloud Foundry app using the IBM Cloud console needs to be defined. See Deploying to IBM Cloud prerequisites for detailed information on this topic.

Steps to deploy to IBM Cloud

1. Before making a deployment, you must configure your Data Store to connect to the database. See Configuring a GeneXus environment to be deployed on IBM Cloud.

2. Run a Build All.

3. Go to the Build menu and select the Deploy Application option.

4. On the Deployment screen:

1. Select the Main objects to be included in the deployment.

2. In Target, select the option "IBM Cloud (Cloud Foundry)" (*).

3. Set the following properties as indicated below:

  • User: Enter your IBM Cloud account.
  • Password: Enter your password.
  • Organization: Associated to the Cloud account.
  • Space: Defined for the IBM Cloud organization.
  • Application: The Cloud Foundry application previously defined (step 1)

After selecting the main objects and configuring the necessary properties for the automatic deployment, press the Deploy button. It will build the WAR package, as well as upload and deploy it in IBM Cloud.

You'll see an output similar to the following:

API endpoint: (API version: 2.54.0)
  cf push SummerReading -b liberty-for-java -p C:\Models\SummerReading2\SummerReading2\Deploy\JavaMySQL013\Bluemix\20160826102928\..\SummerReading2_20160826102928.war
  Updating app SummerReading in org / space GENEXUS-INVESTIGACION as
  Uploading SummerReading...

  Done uploading
  Stopping app SummerReading in org / space GENEXUS-INVESTIGACION as
  Starting app SummerReading in org / space GENEXUS-INVESTIGACION as
  -----> Downloaded app package (21M)
  -----> Downloaded app buildpack cache (336K)

You can check the Application URL, Status and Configuration from the IBM Cloud console.

For example, the URL could be:


If you've selected the "Only Package" checkbox, the WAR package is copied to the local file system, from where you can deploy it manually to IBM Cloud.

See Also

here for monitoring a java application on IBM Cloud, with JMX.

(*) IBM Cloud was formerly known as IBM Bluemix

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant