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.
Press Ctrl+Alt+S to open the IDE settings and select
.On the Marketplace tab, search for the Cloud Foundry plugin.
Install the cloud plugin and restart the IDE if prompted.
Deploy artifacts to the cloud
Sign up for a user account at the cloud service provider website.
Make sure that the Cloud Foundry plugin is installed and enabled.
For more information, see Enable cloud support.
Register your cloud user account in IntelliJ IDEA.
In the Settings dialog (Ctrl+Alt+S), select and click to add a cloud provider account.
Specify the cloud account credentials and click OK to save the changes.
For information about cloud user account settings, see Cloud Foundry.
Create an artifact configuration for your application.
Build the artifact.
You can build artifacts separately with
, or add it as a task when launching the corresponding run configuration.Create a Cloud Foundry Deployment run configurtion for deploying your artifact or code to the cloud under .
Execute the run configuration to deploy your artifact or code to the cloud.