IntelliJ IDEA 2023.2 Help

Cloud Foundry

IntelliJ IDEA provides integration with Cloud Foundry.

Enable cloud support

Cloud support is not bundled with IntelliJ IDEA. Install and enable the corresponding plugin to deploy application artifacts to the cloud via a dedicated cloud run/debug configuration. You will also be able to monitor and control the deployment process, and view your application logs in the Services tool window.

  1. Press Control+Alt+S to open the IDE settings and then select Plugins.

  2. On the Marketplace tab, search for the Cloud Foundry plugin.

  3. Install the cloud plugin and restart the IDE if prompted.

Deploy artifacts to the cloud

  1. Sign up for a user account at the cloud service provider website.

  2. Make sure that the Cloud Foundry plugin is installed and enabled.

    For more information, refer to Enable cloud support.

  3. Register your cloud user account in IntelliJ IDEA.

    In the Settings dialog (Control+Alt+S), select Build, Execution, Deployment | Cloud Foundry and click The Add button to add a cloud provider account.

    Specify the cloud account credentials and click OK to save the changes.

    For more information about cloud user account settings, refer to Cloud Foundry.

  4. Create an artifact configuration for your application.

  5. Build the artifact.

    You can build artifacts separately with Build | Build Artifacts, or add it as a task when launching the corresponding run configuration.

  6. Create a Cloud Foundry Deployment run configuration for deploying your artifact or code to the cloud under Run | Edit Configurations.

  7. Execute the run configuration to deploy your artifact or code to the cloud.

Last modified: 08 September 2023