How would that work if you deploy both database and rabbitmq? How will you know which one gets which device?