What does this AWS Solution do?

Monitoring IoT devices in real-time can provide valuable insight that can help you maintain the reliability, availability, and performance of your IoT devices. You can track time series data on device connectivity and activity. This insight can help you react quickly to changing conditions and emerging situations.

To help customers more easily leverage Kinesis Data Analytics, Amazon Web Services (AWS) offers the Real-Time IoT Device Monitoring with Kinesis Data Analytics solution, a reference implementation that automatically provisions the services necessary to collect, process, analyze and visualize IoT device connectivity and activity data in real-time. This solution is designed to provide a framework for analyzing and visualizing metrics, allowing you to focus on adding new metrics rather than managing the underlying infrastructure.

AWS Solution overview

AWS offers a solution that uses AWS IoT to ingest device data, Amazon Kinesis Data Firehose to archive the data, Kinesis Data Analytics to compute metrics in real-time, and Amazon Simple Storage Service (Amazon S3) and Amazon DynamoDB to durably store metric data. The solution features a dashboard that visualizes your device connectivity metrics in real-time.

 Click to enlarge

Real-Time IoT Device Monitoring with Kinesis Data Analytics solution architecture

When AWS IoT ingests data from your connected devices, an AWS IoT rule sends the data to a Kinesis data delivery stream. The delivery stream archives the events in an Amazon S3 bucket and sends the data to a Kinesis Data Analytics application for processing.

The application sends the data to an AWS Lambda function that sends it in real-time to a DynamoDB table to be stored. The application also sends processed data to a second Kinesis data delivery stream which archives it in an Amazon S3 bucket.

The solution also creates an Amazon Cognito user pool, an Amazon S3 bucket, an Amazon CloudFront distribution, and a real-time dashboard to securely read and display the account activity stored in the DynamoDB table.

Real-Time IoT Device Monitoring with Kinesis Data Analytics

Version 1.0
Last updated: 12/2018
Author: AWS

Estimated deployment time: 10 min

Source code  CloudFormation template 


Real-Time IoT Device Monitoring with Kinesis Data Analytics reference implementation

Leverage the Real-Time IoT Device Monitoring with Kinesis Data Analytics out of-the-box, or as a reference implementation for building your own IoT device monitoring solution.

Device monitoring dashboard

The solution features a simple dashboard that loads data from Amazon DynamoDB into line charts every 10 seconds and bar charts every minute.

Amazon Kinesis data analytics application

This solution includes an Amazon Kinesis Data Analytics application with SQL statements that compute metrics for the built-in dashboard.

Anomaly detection

The Real-Time IoT Device Monitoring with Kinesis Data Analytics solution leverages the built-in anomaly detection of Amazon Kinesis.
Explore all AWS Solutions

Browse our portfolio of AWS-built solutions to common architectural problems.

Learn more 
Find a Partner

Find AWS certified consulting and technology partners to help you get started.

Learn more 
Start building in the console

Sign-up and start exploring our services.

Get started