# Guidance for Predictive Maintenance with Amazon Monitron

## Overview

This Guidance helps you generate actionable insights for predictive maintenance management in industrial environments using Amazon Monitron and other AWS services. Machine and process failures often lead to reactive responses and require costly preventive maintenance, which can result in over-maintaining or missed issues. Amazon Monitron allows you to implement proactive, predictive maintenance and reduce unplanned downtime, so you can improve equipment health and uptime while maximizing productivity and quality. This Guidance also enables ingestion of Amazon Monitron insights and the creation of real-time reporting visualizations to support efficient asset management and strategic operational planning.

## How it works

These technical details feature an architecture diagram to illustrate how to effectively use this solution. The architecture diagram shows the key components and their interactions, providing an overview of the architecture's structure and functionality step-by-step.

[Download the architecture diagram](https://d1.awsstatic.com/solutions/guidance/architecture-diagrams/predictive-maintenance-with-amazon-monitron.pdf)

![Architecture diagram](/images/solutions/predictive-maintenance-with-amazon-monitron/images/predictive-maintenance-with-amazon-monitron-1.png)

1. **Step 1**: Install Amazon Monitron sensors on equipment and Amazon Monitron gateway in the factory.
1. **Step 2**: Create Amazon Kinesis Data Streams using Amazon Monitron as the data source.
1. **Step 3**: Configure Kinesis Data Streams from the Amazon Monitron managed account to the customer account.
1. **Step 4**: Configure an Amazon Simple Storage Service (Amazon S3) bucket as the delivery destination of Amazon Kinesis Data Firehose. Amazon S3 serves as the storage foundation for an industrial data lake.
1. **Step 5**: Configure Amazon S3 notifications to send events to the Amazon EventBridge destination.
1. **Step 6**: Configure an AWS Lambda function as the target of EventBridge destination rules. The Lambda function processes the Amazon S3 event and sends it to an AWS IoT Events state machine.
1. **Step 7**: AWS IoT Events responds to the sensor warning state and creates an enterprise resource planning (ERP) work order using Lambda.
1. **Step 8**: AWS IoT Events responds to the sensor warning state and notifies personnel using an Amazon Simple Notification Service (Amazon SNS) topic through SMS, mobile push, and email.
1. **Step 9**: Connect AWS Glue Data Catalog to an S3 bucket. Schedule an AWS Glue job through EventBridge to update Data Catalog. Amazon Athena queries Amazon S3 data as defined by Data Catalog.
1. **Step 10**: Visualize Internet of Things (IoT) metrics and state from Athena queries using Amazon Managed Grafana.
## Deploy with confidence

Everything you need to launch this Guidance in your account is right here.

- **Let's make it happen**: Ready to deploy? Review the sample code on GitHub for detailed deployment instructions to deploy as-is or customize to fit your needs.

[Go to sample code](https://github.com/aws-solutions-library-samples/guidance-for-predictive-maintenance-with-amazon-monitron)


## Well-Architected Pillars

The architecture diagram above is an example of a Solution created with Well-Architected best practices in mind. To be fully Well-Architected, you should follow as many Well-Architected best practices as possible.

### Operational Excellence

Amazon Monitron reduces downtime and enhances operational excellence through predictive maintenance. CloudFormation enforces consistency in deployment, reducing errors associated with manual updates. Amazon CloudWatch provides monitoring, tracking, and auditing for operational controls. [Read the Operational Excellence whitepaper](/wellarchitected/latest/operational-excellence-pillar/welcome.html)


### Security

AWS Identity and Access Management (IAM) and AWS Key Management Service (AWS KMS) manage user access and data encryption. These services support data security for Amazon Monitron users. AWS CloudTrail provides auditing and tracking to support security compliance needs. [Read the Security whitepaper](/wellarchitected/latest/security-pillar/welcome.html)


### Reliability

Kinesis provides reliable data streaming, supporting continuous data ingestion and data flow. Kinesis streams data in real time so your team can act on issues before they impact business continuity across your operations. [Read the Reliability whitepaper](/wellarchitected/latest/reliability-pillar/welcome.html)


### Performance Efficiency

Athena is optimized for fast query performance with Amazon S3. Athena automatically executes queries in parallel, so that you get query results in seconds, even on large data sets. With Athena, you don’t have to worry about managing or tuning clusters to get fast performance. Managed Grafana automatically provisions, configures, and manages the operations of Grafana workspaces. The service auto scales to meet dynamic usage demands and simplifies data visualization for performance monitoring. [Read the Performance Efficiency whitepaper](/wellarchitected/latest/performance-efficiency-pillar/welcome.html)


### Cost Optimization

Amazon S3 provides cost-effective, scalable data storage and tiering for large-scale IoT data. Amazon S3 Intelligent-Tiering optimizes storage costs with minimal user intervention. Additionally, Amazon S3 is an optimal destination for Kinesis Firehose and serves as the foundation for a data lake. [Read the Cost Optimization whitepaper](/wellarchitected/latest/cost-optimization-pillar/welcome.html)


### Sustainability

This serverless architecture diagram enhances sustainability by reducing manual and unnecessary maintenance of factory equipment. This, in turn, reduces the related carbon footprint of such maintenance while improving equipment uptime. Additionally, the cloud-based services in this Guidance help ensure high availability to facilitate sustainable predictive maintenance activities. [Read the Sustainability whitepaper](/wellarchitected/latest/sustainability-pillar/sustainability-pillar.html)


[Read usage guidelines](/solutions/guidance-disclaimers/)

