Hey everyone, I just published the Cloud Relay block on balenaHub. It forwards MQTT data messages to the IoT facility of any of the major cloud providers – AWS, Azure, or Google Cloud.
The value for a data generator is that you only need to send the data to a generic MQTT broker on the device rather than manage the specifics of the cloud provider’s messaging API. I also created some other tools to automate provisioning a balena device with the provider’s IoT facility. You can learn more in the project README.
I included a couple of docker-compose examples in the repository doc directory based on the Sensor block. One is used in the project README for WiFi signal strength data, and another integrates with balenaSense for I2C sensor data. But of course you can push whatever data you like.
Let me know how it works for you.