By workers I mean a python script that runs some task in an infinite loop. This script should be deployed to a separate EC2 instance and run forever (perhaps using supervisor).
I'm successfully using Elastic Beanstalk to deploy the web app with git aws.push and that works fine. However, the set-up for a worker needs to be a little different, because
the workers don't need a web server or an elastic IP. They are also started with a different command.
From what I've read I think what I want is pretty similar to Heroku's worker dynos vs web dynos, but I don't have any experience with Heroku either, so I could be wrong.
So is this possible with Elastic Beanstalk? Or should I be using something completely different for deployment?
By the way I'm using linux and the Elastic Beanstalk's CLI.