How to use message queue over internet

2019-03-31 14:01发布

问题:

So basically we have a backend hosted in the cloud. This backend is composed of Web Servers (Django/Python), Databases (Postgresql), RabbitMQ, and Workers (Celery)

We also have hardwares components around the world. Those hardware need to get things to do from the backend. We were thinking using RabbitMQ to store their jobs and using a polling from hardware component to get jobs to do.

We saw that with Amazon SQS we can achieve this: they have a system allowing getting jobs in HTTPS with long-polling which is rally perfect. I was wondering if such solution existed for RabbitMQ or other messaging system we could host ourself ? I read that rabbitMq was not designed to be exposed on the internet and I was not able to find any relevant answer to my problem.

Thank you for your help.