There are multiple ways that you can deploy the LoRa Gateway Bridge:
The most basic strategy is to connect all your gateways to a single instance of the LoRa Gateway Bridge. This is the easiest option, as installing the LoRa Gateway Bridge on the gateway might involve some additional steps. Please note that from a security perspective, it is the least secure option. The UDP protocol implemented by most gateways don’t support any form of authorization and checks that the received data is authentic. It is however an easy way to get started.
For performance and to make the LoRa Gateway Bridge highly available, you can run LoRa Gateway Bridge on multiple servers, each connecting to the same MQTT broker.
Important: In case you put a load-balancer in front of the LoRa Gateway Bridge cluster, make sure that each gateway connection is always routed to the same instance!
Depending on the capabilities of your gateway, you can deploy the LoRa Gateway Bridge on each of your gateways. This might require a few additional steps in the setup, but has the following advantages:
By using MQTT (which uses TCP) over UDP, the connection becomes more reliable in case packetloss is common.
It is possible to setup credentials for each gateway, meaning you know where your data is coming from.
The MQTT protocol supports SSL/TLS meaning that you are able to setup a secure connection between your gateways and your MQTT broker. This not only means that other people are not able to intercept any data, it also means nobody is able to tamper with your data.