AWS IoT Basics

AWS IoT Basics

Tags
IoT
AWS
Created
Mar 25, 2022 05:19 AM
Edited
Mar 24, 2022
Description
AWS IoT by far is the easiest and most efficient development tool for IoT industries I have ever used. It provides a serverless message queue with predefined topics. It is convenient to use AWS IoT for device configuration, device jobs, device authentication/registration, and data streaming. Also, it is well integrated with other AWS services, such as Lambda, SQS, and S3.

Thing

Fleet Index

  • For search or aggregate query

Advanced thing search

connectivity.connected:true
shadow.hasDelta:true
shadow.desired.version > 1

Run aggregations

shadow.desired.version > 1
notion image

Thing groups

  • Put the same things together for better organization

Dynamic Thing Group

  • Will change based on queries
{
"status": "ACTIVE",
"indexName": "AWS_Things",
"thingGroupName": "RoomTooWarm",
"thingGroupArn": "arn:aws:iot:us-west-2:123456789012:thinggroup/RoomTooWarm",
"queryString": "attributes.temperature>60\n",
"version": 1,
"thingGroupMetadata": {
"creationDate": 1548716921.289
},
"thingGroupProperties": {},
"queryVersion": "2017-09-30",
"thingGroupId": "84dd9b5b-2b98-4c65-84e4-be0e1ecf4fd8"
}
https://docs.aws.amazon.com/iot/latest/developerguide/dynamic-thing-groups.html

Static Thing Group

  • Contain a group of things that are managed by using the console, CLI, or the API
  • Allow to manage several things at once by categorizing them into groups

IoT Job

AWS IoT Job

IoT Shadow

AWS IoT Shadow

IoT Rule

AWS IoT Rule

Reference