Architecture

The following diagram explains the architecture of the solution:

The Things or smart devices connect over MQTT-S with AWS IoT Core. Then the device is authenticated, authorized, and validated and the connection gets established. For authentication, we are using a device certificate that we generated while registering a device. Once the connection is established, the device can create its own MQTT topics and then publish or subscribe to them.

But in our example, we are not going to create new topics. Instead, we are going to work with a concept named Device Shadow provided by AWS IoT Core.

All the data that goes through the AWS ...

Get Enterprise Internet of Things Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.