Communication between devices connected with the internet (such as sensors, smart appliances, or embedded microcontrollers) and the AWS cloud is provided by AWS IoT. This communication is secured and bi-direction.
AWS IoT is based on the following components:
Device Gateway is used to provide secure and efficient communication between devices with AWS.
It enables things and AWS IoT application to receive and publish messages from each other also provides a mechanism which is very secure.
The process of the message and its integration with other AWS services is done by Rules Engine. We can use language based on SQL to choose data from message payload, process, and the data is then sent to other services such as AWS Lambda, AWS DynamoDB, and Amazon s3.
Identity and Security Services:
In the AWS cloud, security responsibility is provided by identity and secure services. In keeping things safe and sending data to the message broker securely. The security features of AWS are used by Rules Engine and Message Broker so that data is sent securely to the other devices.
It is also known as Device Registry. The resources connected with a single thing is organized by Thing Registry. We have done registration of things and their association with three custom attributes. In order to manage and troubleshoot things more easily, MQTT and a client ID can also be associated with each thing.
It is also known as Device Shadow. The information for thing for the current state is being stored and retrieved by a JSON document.
Thing Shadow Service:
It is used in representing things in the AWS cloud. The information on the current state of things can also be published to it.