PyCharm 2016.1 Help

Working with Cloud Platforms

Supported cloud platforms

PyCharm allows building and deploying applications in the clouds. These clouds are supported, when the respective plugins are enabled:

To learn how to enable plugins, refer to the section Enabling and Disabling Plugins.

Overview of the cloud support

PyCharm lets you:

  • Deploy your application artifacts to the clouds.
  • Deploy your code to Heroku and OpenShift.
  • Debug applications on Heroku and OpenShift.

For all such purposes, PyCharm 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 PyCharm. You can do that:
    • Separately, in the Settings dialog: Ctrl+Alt+S | Build, Execution, Deployment | Clouds | add, etc.
    • When creating a project or module for working with a cloud, e.g. File | New | Project | Clouds, etc.
    • When creating a cloud run configuration: Run | Edit Configurations | add | <Cloud Name> Deployment, etc.

    For information on cloud user account settings, see Docker.

  4. Create an artifact configuration for your application. (For Heroku or OpenShift, 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, PyCharm 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 or OpenShift, an artifact is unnecessary.)
  6. Create a cloud run configuration for deploying your artifact or code to the cloud. (PyCharm 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, e.g. Heroku integration.

See also, Enabling and Disabling Plugins.

Cloud run configurations

There are run configurations for each of the supported clouds:

See Also


External Links:

Last modified: 23 March 2016