IoT Telemetry and Analytics Platform on AWS
Device telemetry streams through IoT Core and Kinesis into two paths: Firehose archives records to S3 for Athena and QuickSight, while Lambda updates OpenSearch and publishes threshold alerts through EventBridge and SNS.
Explore diagramOpen editable diagramExplore on mobile. Create and edit manually or with AI on a computer.
Architecture diagram
Explore diagramEdit this exact diagram
Explore diagramOpen on the canvasAWS IoT diagram with IoT Core and Kinesis feeding S3, Athena, and QuickSight history alongside Lambda, OpenSearch, EventBridge, and SNS alerts. Open the image to explore this ready-made diagram.The image links to a fully editable BuildPlane starter.
Overview
Registered devices authenticate with AWS IoT Core, which sends telemetry into Amazon Kinesis. Firehose archives readings in S3 for Athena queries and QuickSight history dashboards. A parallel Lambda processor updates OpenSearch, evaluates thresholds, and publishes alerts through EventBridge and SNS, keeping immediate operational decisions separate from buffered historical analysis.
Components
- Device Ingress: IoT Core brokers MQTT while the registry authenticates devices by certificate.
- Streaming: Kinesis buffers real-time telemetry; Firehose batches it into the raw lake.
- Processing: A transform Lambda derives metrics from the stream.
- History + Search: Athena queries the S3 telemetry archive for QuickSight trends; OpenSearch indexes transformed readings for operational search.
- Alerts: The transform evaluates thresholds and publishes breach events through EventBridge to SNS.
Telemetry Flow
- Devices authenticate via the registry and publish telemetry to IoT Core.
- IoT Core streams messages into Kinesis, which feeds Firehose and the transform Lambda.
- Firehose archives raw telemetry to S3 while the transform writes normalized readings to OpenSearch.
- The transform Lambda evaluates thresholds and publishes alert events to EventBridge, which notifies operators through SNS.
- Athena queries the S3 archive and QuickSight visualizes historical fleet trends.
Customize First
- Add device shadows, OTA updates, or Greengrass for edge processing.
- Invoke a SageMaker endpoint from the transform when a trained anomaly model adds value.
- Tune S3 partitions, archive retention, and OpenSearch index lifecycle for query performance and cost.
Related AWS guides
Understand the decisions behind this diagram
Use these practical explanations to compare services, failure boundaries, and operating tradeoffs before adapting the architecture.
DevOps
Operational Strategies for Safe Deployments of Real-Time Systems
Real-time systems need frequent change without turning every release into a global gamble. The answer is smaller exposure, useful signals, and fast recovery.
Read the guideArchitecture
Latency vs Throughput: How to Optimize Application Performance
Latency measures how long one request takes. Throughput measures how much work the system completes. They trade against each other, and tuning one without watching the other is how a fast system becomes a slow one under load.
Read the guideDesign rationale
Decisions that shape this architecture
Authenticate devices independently
The IoT registry and certificates give each device an identity and policy boundary. Shared credentials make revocation and blast-radius control much harder.
Preserve raw telemetry before enrichment
Firehose archives source messages to S3 while Lambda builds derived views. Raw retention supports replay, model changes, and incident analysis.
Separate operational decisions from historical analysis
Lambda evaluates thresholds as records arrive and maintains the OpenSearch view. Athena queries the S3 archive for QuickSight trends after delivery and refresh, so dashboard lag does not delay threshold alerts.
Before production
Operational checks
Automate certificate provisioning, rotation, revocation, and fleet audit.
Define behavior for late, duplicated, out-of-order, and malformed readings.
Tune Kinesis shards and downstream concurrency from measured ingest volume.
Apply retention to OpenSearch and S3, and monitor archive delivery and dashboard freshness.
Scope and tradeoffs
What this diagram does not solve
Connectivity is not guaranteed
Devices need local buffering, reconnect behavior, sequence handling, and an offline operating model. Cloud architecture alone cannot make an unreliable network reliable.
Archive and search have different guarantees
Define how the OpenSearch projection is rebuilt from retained data, how late readings are reconciled, and how deletion requirements reach both stores. Historical dashboards depend on Firehose delivery, Athena metadata, and refresh cadence.
Common questions
Frequently asked questions
Why use Kinesis after IoT Core?
Kinesis provides a scalable stream that can feed multiple ordered processing and delivery paths with independent consumers.
Why use both OpenSearch and an S3 archive?
OpenSearch supports operational discovery over indexed readings. S3 retains history for replay and Athena analysis without requiring the search index to hold every event indefinitely.
Where should IoT alerts be evaluated?
In this starter, the Lambda stream processor evaluates thresholds and publishes alert events. More complex anomaly detection can be added when its latency, state, and model requirements are clear.
Keep exploring
Related AWS architectures

Governed Data Lake and Analytics Platform on AWS
This architecture supports both near-real-time processing and batch-oriented curation. Kinesis fans data into a fast Lambda path and a Firehose landing path, Glue creates query-ready datasets, and Lake Formation applies governance across Athena, Redshift, and QuickSight.
Explore the architecture
Event-Driven Order Processing Architecture on AWS
This design accepts an order through an authenticated API, publishes a durable domain event, and uses a saga to coordinate payment, inventory, fulfillment, and notification. It separates request latency from business processing while preserving explicit recovery paths.
Explore the architecture
Machine Learning Batch Inference Platform on AWS
This architecture runs scheduled or on-demand scoring as a durable workflow. Step Functions coordinates jobs, AWS Batch supplies container compute, ECR pins the runtime, an approved SageMaker model supplies the artifact, and S3 preserves inputs and predictions.
Explore the architectureReady-made AWS diagramFrom reference to working draft
Explore this AWS architectureAdapt this architecture with your AWS AI Agent
Open the diagram from this guide and explore how it works. Create and edit manually or with AI on a computer.Start from the exact diagram in this guide. Change requirements, challenge a decision, or ask what fails first, while keeping the architecture editable.