Running Python's Celery on Elastic Beanstalk w

2019-03-21 23:11发布

问题:

I'm considering a move to Elastic Beanstalk (on account of the pricing). The blockage is that I have no idea how to setup Celery on a python app (Django, in my case) deployed to the service. Has anyone managed to setup celery on Elastic Beanstalk? If so, please let me know how you managed to do it and what tools you used.

回答1:

Use the SQS service. Read this: Celery with Amazon SQS

and this:

http://docs.celeryproject.org/en/latest/getting-started/brokers/sqs.html