Module 5 - AWS IoT Core Services
Module 5 - AWS IoT Core Services
AWS IoT Core provides the services that connect your IoT devices to the AWS Cloud so that
other cloud services and applications can interact with your internet-connected devices.
Device gateway
Enables devices to securely and efficiently communicate with AWS IoT. Device
communication is secured by secure protocols that use X.509 certificates.
Message broker
Provides a secure mechanism for devices and AWS IoT applications to publish and
receive messages from each other. You can use either the MQTT protocol directly or
MQTT over WebSocket to publish and subscribe. Devices and clients can also use the
HTTP REST interface to publish data to the message broker.
The message broker distributes device data to devices that have subscribed to it and to
other AWS IoT Core services, such as the Device Shadow service and the rules engine.
AWS IoT Core for LoRaWAN
AWS IoT Core for LoRaWAN makes it possible to set up a private LoRaWAN
network by connecting your LoRaWAN devices and gateways to AWS without the
need to develop and operate a LoRaWAN Network Server (LNS). Messages received
from LoRaWAN devices are sent to the rules engine where they can be formatted and
sent to other AWS IoT services.
Rules engine
The Rules engine connects data from the message broker to other AWS IoT services
for storage and additional processing. For example, you can insert, update, or query a
DynamoDB table or invoke a Lambda function based on an expression that you
defined in the Rules engine. You can use an SQL-based language to select data from
message payloads, and then process and send the data to other services, such as
Amazon Simple Storage Service (Amazon S3), Amazon DynamoDB, and AWS
Lambda. You can also create rules that republish messages to the message broker and
on to other subscribers.
To create a job, you specify a description of the remote operations to be performed and
a list of targets that should perform them. The targets can be individual devices, groups
or both.
Registry
Organizes the resources associated with each device in the AWS Cloud. You register
your devices and associate up to three custom attributes with each one. You can also
associate certificates and MQTT client IDs with each device to improve your ability to
manage and troubleshoot them.
Security and Identity service
Provides shared responsibility for security in the AWS Cloud. Your devices must keep
their credentials safe to securely send data to the message broker. The message broker
and rules engine use AWS security features to send data securely to devices or other
AWS services.
Device shadow
A JSON document used to store and retrieve current state information for a device.
Device Shadow service
The Device Shadow service maintains a device's state so that applications can
communicate with a device whether the device is online or not. When a device is
offline, the Device Shadow service manages its data for connected applications. When
the device reconnects, it synchronizes its state with that of its shadow in the Device
Shadow service. Your devices can also publish their current state to a shadow for use
by applications or other devices that might not be connected all the time.