Resilient AWS IoT Events Alarm for AWS IoT SiteWise
Publication date: April 5, 2021 (Diagram history)
With this architecture, you can efficiently monitor AWS IoT SiteWise metrics by using an AWS IoT Events alarm on an unstable network connection. This architecture uses AWS IoT Greengrass, AWS IoT SiteWise, AWS IoT Core, AWS Lambda, and Amazon CloudWatch.
Resilient IoT Events alarm architecture diagram
The following steps describe the architecture:
-
AWS IoT Greengrass configures a gateway to send industrial internet of things (IIoT) data to AWS IoT SiteWise.
-
AWS IoT SiteWise collects, stores, organizes, and monitors data from industrial equipment at scale. Operational technology (OT) can quickly compute industrial performance metrics for remote monitoring.
-
AWS IoT Core rules interact with MQTT topics of AWS IoT SiteWise metrics that OT wants to monitor. The rule augments data with an AlarmID so data goes to a specific alarm detector instance.
-
An Lambda function normalizes the JSON payload to extract the AlarmID and metric property values. It then sends them as inputs to AWS IoT Events.
-
(Optional) The Lambda function sends all AlarmID records to Amazon DynamoDB for future use.
-
CloudWatch Logs collects the AWS IoT SiteWise Gateway.Heartbeat metric to monitor health.
-
An CloudWatch alarm tracks CloudWatch Logs events where heartbeat signals are missing due to an internet or AWS service outage. The alarm then transitions to the ON state.
-
Amazon EventBridge triggers an Lambda function when the CloudWatch alarm turns ON.
-
EventBridge triggers an Lambda function to send the switch-off signal with AlarmID records to the AWS IoT Events alarm. You can obtain multiple AlarmIDs from DynamoDB.
-
The AWS IoT Events alarm detects a breach of metric property values. This alarm switches off automatically when the network is intermittent or disconnected.
-
AWS IoT Events sends an Amazon Simple Notification Service (Amazon SNS) notification if the alarm triggers.
Further reading
For additional information, see the following resources:
Diagram history
To be notified about updates to this reference architecture diagram, subscribe to the RSS feed.
| Change | Description | Date |
|---|---|---|
Initial publication | Reference architecture diagram first published. | April 5, 2021 |
RSS subscription
To subscribe to RSS updates, you must have an RSS plugin enabled for the browser that you are using.