> For the complete documentation index, see [llms.txt](https://ysfang82.gitbook.io/development-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ysfang82.gitbook.io/development-notes/aws-notes/service/data-engineering/iot.md).

# IoT

**Introduction**

* AWS IoT Core is a managed cloud service that lets connected devices interact with cloud applications and other devices.
* AWS IoT Events to trigger actions
* AWS IoT Greengrass let devices act locally on the data they generate, while still using the cloud for management, analytics, and durable storage.&#x20;
  * With AWS IoT Greengrass, connected devices can run Lambda / Docker even when not connected to the Internet
* AWS IoT Analytics is useful for understanding **long-term** device performance, performing business reporting, and identifying predictive fleet maintenance needs,&#x20;
  * Common latencies run from seconds to minutes. If you need to analyze IoT data in real-time for device monitoring, use **Kinesis Data Analytics**.

**Scenario**

* Implement AWS IoT Core to receive MQTT messages from smart home devices.&#x20;
* Create an IoT rule to&#x20;
  * Store the device messages in Amazon DynamoDB
  * Forward telemetry information to AWS IoT Events
  * Publish to SNS topics
* Have AWS IoT Analytics receive device messages from IoT Core for visualization with Amazon QuickSight
