Is it possible/recommended for 2 separate installs of M2 to share the same RabbitMQ install? Is there a way to separate their data like with Elastic Search where you define a separate prefix?

3 Answers 3


I think the easiest way is to install multiple instances of RabbitMQ on different ports on the same machine, I think this resource might help https://lazareski.com/multiple-rabbitmq-instances-on-1-machine/.

Cheers and good luck!


I don't know why the suggestion to create another virtual host in rabbitmq was downvoted, because it must be the easiest way to achieve what was requested.

Sure, running multiple rabbitmq instances on a single server makes them completely separated, but when it comes to management - for me it's easier to handle single rabbitmq instance, also it would use less system resources.


You can create separate virtual host and configure it in Magento configuration (see virtualhost)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.