DigitalOcean LoadBalancer with Mosquitto MQTT

Posted January 7, 2020 2k views
Load Balancing

Hi all,

Have you all created a DigitalOcean Load Balancer with Mosquitto MQTT?
I trying to do a setup is

One LoadBalancer is listening to two Mosquitto MQTT brokers. Does it provide High Availability? Or I need to create an HAproxy as another droplet to handle?

Will the LoadBalancer support Mosquitto MQTT?

A few links that I looked (Not Mosquitto MQTT)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

I believe that the best solution would be to use HAProxy with KeepAlived, that way you will have a standby node that would be available in case that your main node crashes.