/
๐Ÿ“

AWS IoT Core

https://dev.to/techmagic/aws-iot-platform-for-the-internet-of-things-benefits-examples-5fb0
awsiot
On this page
  • AWS IoT to Timestream architecture overview
  • How to Bridge Mosquitto MQTT Broker to AWS IoT

AWS IoT core could provide the scalability, agility, security and high availability.

AWS IoT to Timestream architecture overview

The following diagram illustrates a typical architecture that you can use to develop artifacts for ingestion and consumption of IoT data with Timestream.

How to Bridge Mosquitto MQTT Broker to AWS IoT

Why Bridge your MQTT Broker to AWS IoT?

If you have legacy IoT deployments, you might already have devices connected to an MQTT broker such as Mosquitto. In that scenario, your MQTT broker can be very close to where your sensors are deployed (local MQTT broker) or in a remote location like the Cloud.

sh
The Mosquitto Pub CLI
$> mosquitto_pub --cert thing-0.pem --key thing-0.prv --cafile aws-iot-rootCA.crt -h XXXXXXXXYYYYY.iot.us-west-2.amazonaws.com -p 8883 -t 'test/thing' -m "Hello from Mosquitto"
The Mosquitto Sub CLI
$ mosquitto_sub --cert thing-0.pem --key thing-0.prv --cafile aws-iot-rootCA.crt -h XXXXXXXXYYYYY.iot.us-west-2.amazonaws.com -p 8883 -t 'test/+'
Edit this page
logo
Code-related notes and snippets