Deployment

Deploy on SAP Cloud Platform

YaaS Market is a marketplace for services. You can deploy the services that you get here on any deployment platform that you want.

SAP recommends SAP Cloud Platform as a platform-as-a-service solution. It provides two environments:

  • Cloud Foundry for developing microservices-based applications, services and applications using non-Java runtimes, and IoT and machine learning scenarios.
  • Neo for developing HTML5 and complex Java applications.

The SAP Cloud Platform free trial includes both environments. You can start with a trial account directly from the SAP Cloud Platform Cockpit.

For more information, see:

Cloud Foundry Environment

This procedure uses the Cloud Foundry command line interface (cf CLI). To work with the Cloud Foundry environment, you can download and set up the cf CLI.
See Download and Install Cloud Foundry Command Line Interface.

  1. Log on to the Cloud Foundry instance:

    cf api https://api.cf.<HOST>
    cf login
    cf target -o <ORG> -s <SPACE>
    

    To check the available hosts, see Regions and Hosts.

    See also Log On to the Cloud Foundry Instance Using the Console Client.

  2. Navigate to the project directory that you want to deploy.

  3. Use the cf push command from the cf CLI.

    cf push
    
  4. (Optional) Check the service URL.

    cf apps
    

For more options and detailed description of the cf CLI commands, see the Cloud Foundry Documentation.

You can also use the Cloud Foundry Eclipse Plugin to deploy and manage Java and Spring applications on a Cloud Foundry instance. See https://docs.run.pivotal.io/buildpacks/java/sts.html

Deploy a Builder UI module

To deploy a Builder UI module with Cloud Foundry, use the manifest.yml file in the root directory of the Builder UI module:

applications:
- name: {your module name}
  buildpack: https://github.com/cloudfoundry/staticfile-buildpack.git
  instances: 1
  memory: 128M
  domain: {target cf api domain}

Configure the manifest.yml file for your module, then deploy the Builder UI module with the cf push command.

A Builder UI module is typically static content, such as HTML and Javascript. Therefore, it is recommended you use the staticfile-buildpack buildback.

Neo Environment

To deploy a Java application or service on SAP Cloud Platform Neo environment, see Deploying and Updating Applications.

  • Send feedback

    If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.

  • Get Help

    Use our private help channel. Receive updates over email and contact our specialists directly.

  • hybris Experts

    If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.