• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Inexpensive server for a MQTT broker

Q&A Forum › Category: ESP8266 › Inexpensive server for a MQTT broker
0 Vote Up Vote Down
drzrudsky asked 6 years ago

I am making a MQTT broker project for a couple of dozen friends as a gift. Most of my friends are not computer literate, so I will make it simple for them to create an account & subsequently use the stand alone project. If they pass it onto a few of their friends, I would expect we might need a max, of 100 accounts.
I can’t in all fairness use the Random Nerds servers for this project.
Does anyone know of a free server, or an inexpensive rental service that could meet my needs? 

2 Answers
0 Vote Up Vote Down
DK answered 6 years ago

Hi

I use mosquitto … its free and great for LAN

It supports SSL

I have the mosquitto broker running on windows tablet

just forward a port on your router for internet access

You can use Android phones, tablets, and PC’s

  • http://www.steves-internet-guide.com/install-mosquitto-broker/
  • https://www.youtube.com/watch?v=xzHbMlFOu1E
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Hello for broker that you have full control and can easily handle dozens of connections, I would recommend using Digital Ocean.

You can setup a $5 per month cloud broker that sounds likes it would handle your project requirements. They have a guide on how to install it:

  • https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-ubuntu-16-04

Your devices would simply connect to your digital ocean IP address, you could setup user/password for Mosquitto for each user too.

You can also follow what @DK suggested and run a local broker that has a port forward (so you can access if from anywhere).

Regards,

Rui

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.