Using Elastic Beanstalk with PyCharm/IDEA

Since there is no official working solution that lets you deploy your app to AWS with Elastic Beanstalk from IntelliJ IDEA (PyCharm/RubyMine/whatever), you’re stuck with using your console to deploy the project.

Or are you? Actually not.

Since EB CLI that you typically use for deployment via the terminal is just a python script, you can set up a new Python Run configuration in IDEA.

First find out where the eb is located:

which eb

Then copy the output and use it as Script Path in a new Python Run Configuration:

Image for post

You can use all the parameters that eb supports in Parameters field, e.g.: deploy, open, etc.

Now you can deploy your app without leaving your favourite IDE.

P.S. Yes, I am aware of Elastic Beanstalk plug-ins in the IDEA plugin directory, but they don’t support even 2018 version of IDE, let alone 2019+

Written by

CTO at / Indie Game Developer / CoFounder at / More projects:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store