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:
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+