Working with Cloud Platforms
- Supported cloud platforms
- Overview of the cloud support
- Working with a cloud platform: Process overview
- Cloud integration plugins
- Cloud run configurations
Supported cloud platforms
PyCharm allows building and deploying applications in the clouds. These clouds are supported, when the respective plugins are enabled:
- Docker - Docker integration.
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
- Sign up for a user account at the cloud service provider website.
- Make sure that the corresponding cloud integration plugin is enabled.
Register your cloud user account in PyCharm.
You can do that:
- Separately, in the Settings dialog: Ctrl+Alt+S , etc.
- When creating a project or module for working with a cloud, e.g. , etc.
- When creating a cloud run configuration: , etc.
For information on cloud user account settings, see Docker.
- 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.)
- Build the artifact. You can do that separately ( ), or when executing the corresponding run configuration. (In the case of deploying code to Heroku or OpenShift, an artifact is unnecessary.)
- Create a cloud run configuration for deploying your artifact or code to the cloud. (PyCharm can create such a run configuration automatically.)
- 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:
- Run/Debug Configuration: CloudBees Deployment
- Run/Debug Configuration: Cloud Foundry Deployment
- Run/Debug Configuration: Google App Engine Deployment
- Run/Debug Configuration: Heroku Deployment
- Run/Debug Configuration: OpenShift Deployment