How to take your broker global
In this section, we will discuss the two major options that we have to grant internet access to our existing projects.
There are two ways to obtain access to a global MQTT broker:
- Online MQTT brokers: Several online MQTT brokers provide you with a ready-to-use MQTT broker (credentials are provided). These are available on a subscription basis (monthly, quarterly, or annually).
Some popular sites for this are HiveMQ, Paho, CloudMQTT, and Adafruit IO. These can be seen in the following diagram:
Figure 7.2 – Some popular online MQTT brokers
We will be using the HiveMQ platform to test this later. We will use the free plan provided by the platform, wherein you will be given the following features:
Figure 7.3 – Free plan provisions
- Virtual Server: If you want more customization and additional features, you can get a virtual server from AWS, Azure, Google Cloud Platform...