IntelliJ IDEA 2019.1 Help

Working with Cloud Platforms

IntelliJ IDEA provides integration with the following cloud platforms:

Overview of the cloud support

IntelliJ IDEA lets you:

  • Deploy your application artifacts to the clouds.

  • Deploy your code to Heroku.

  • Debug applications on Heroku.

For all such purposes, IntelliJ IDEA provides corresponding cloud run/debug configurations.

You can also monitor and control the deployment process, and view your application logs in the Application Servers tool window.

Working with a cloud platform: Process overview

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

  2. Make sure that the corresponding cloud integration plugin is enabled.

  3. Register your cloud user account in IntelliJ IDEA.

    • Separately, in the Settings / Preferences dialog (Ctrl+Alt+S): Build, Execution, Deployment | Clouds | Add

    • When creating a project or module for working with a cloud provider: File | New | Project | Clouds

    • When creating a cloud run configuration: Run | Edit Configurations | Add | <Cloud Name> Deployment

    For information about cloud user account settings, see Clouds.

  4. Create an artifact configuration for your application. For Heroku, this may be unnecessary. You can deploy your source code to the cloud, and the cloud platform will do the rest of the work for you. For CloudBees and Cloud Foundry, IntelliJ IDEA can create the necessary configurations automatically.

  5. Build the artifact. You can do that separately (Build | Build Artifacts), or when executing the corresponding run configuration. In the case of deploying code to Heroku, an artifact is not necessary.

  6. Create a cloud run configuration for deploying your artifact or code to the cloud. IntelliJ IDEA can create such a run configuration automatically.

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

Cloud integration plugins

There is a separate cloud integration plugin for each of the supported cloud platforms. All the cloud integration plugins are bundled with the IDE and enabled by default.

The plugin names, normally, include the cloud name and the word integration, for example, Heroku integration.

For more information, see Managing plugins.

Last modified: 17 April 2019

See Also

Reference:

External Links: