Pre-requisite: You should be able to do ssh without entering password. See [this](https://apple.stackexchange.com/a/210133) Steps (Fig 1 and 2) 1. Open project in PyCharm 2. Make directory on server 3. Test you can ssh without entering password. (Save your rsa key on server) 4. Preferences -> Deployment 5. Enable automatic upload https://www.jetbrains.com/help/pycharm/deployment-in-pycharm.html#upload-to-default-server 6. First time upload your directory. Right click project folder -> deployment -> deploy to 7. Add multiple directories if want to deploy on different servers. https://www.jetbrains.com/help/pycharm/creating-a-remote-server-configuration.html https://www.jetbrains.com/help/pycharm/deployment-in-pycharm.html Add remote python interpreter (Fig 3 and 4 in the comment) https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-ssh.html 1. Preferences -> Project interpreter -> ssh interpreter -> new/existing 2. Select exact conda path : /scratch/../anaconda3/env/name/python If you have a code using relative paths: (Fig 5) 1. Right click folder -> Mark as -> source root For AWS, similarly the steps can be followed as mentioned here: https://www.codementor.io/abhishake/pycharm-setup-for-aws-automatic-deployment-m7n8uu2n4