What does this AWS Solutions Implementation do?

This solution implementation provides operational technology (OT) managers with secure machine and industrial equipment connectivity to the AWS Cloud. This solution automatically deploys and configures AWS IoT Greengrass and provides integration with AWS IoT SiteWise. Machine and industrial asset telemetry data can then be published to AWS IoT SiteWise and Amazon Simple Storage Service (Amazon S3), populating an industrial data lake with machine telemetry to support insights through visualization, analytics, and machine learning. This solution provides support for OPC Data Access (OPC-DA) and OPC Unified Architecture (OPC-UA) protocols.

Benefits

Automate deployment of AWS IoT Greengrass
Automate the creation and configuration of AWS IoT Greengrass resources on edge devices to simplify implementation, helping them get set up and running quickly.
Customize with different secure protocols
.
Robust data ingestion from sources using the AWS IoT SiteWise Connector with either the OPC DA or OPC UA protocol. Use this solution as a reference to build secure cloud connectivity for additional industrial protocols based on the requirements of your factory equipment.
Publish data to multiple destinations in AWS Cloud
Send data to an AWS IoT Core topic or AWS IoT SiteWise for analytics and monitoring; or store your data in an industrial data lake using Amazon S3 to leverage additional analytics and machine learning services. The creation and management of connections between the industrial data sources and the AWS services is provided by a web user interface included with the solution.

AWS Solutions Implementation overview

The diagram below presents the architecture you can automatically deploy using this solution's implementation guide and accompanying AWS CloudFormation template.

Machine to Cloud Connectivity Framework | Architecture Diagram
 Click to enlarge

Machine to Cloud Connectivity Framework architecture

The AWS CloudFormation template deploys the following infrastructure:

  1. An Amazon CloudFront user interface that deploys into an Amazon Simple Storage Service (Amazon S3) bucket configured for web hosting.
  2. An Amazon API Gateway API provides the user interface for client requests.
  3. An Amazon Cognito user pool authenticates the API requests.
  4. AWS Lambda functions power the user interface, as well as the configuration and deployment mechanism for AWS IoT Greengrass and AWS IoT SiteWise gateway resources. These Lambda functions send messages to the m2c2/job/<connectionName> AWS IoT topic (AWS IoT Core), then AWS IoT Greengrass subscribes to the messages. Amazon DynamoDB tables store the connection metadata.
  5. An AWS IoT SiteWise gateway configuration for any OPC UA data sources.
  6. An Amazon Kinesis Data Streams data stream, Amazon Kinesis Data Firehose, and an Amazon S3 bucket to store telemetry data.
  7. AWS IoT Greengrass is installed and used on an on-premises industrial gateway to run protocol connector Lambda functions to connect and read telemetry data from your OPC UA and OPC DA servers.
  8. Lambda functions are deployed onto AWS IoT Greengrass Core software on the industrial gateway to connect to the servers and to send the data to the configured destination(s).
  9. Lambda functions that collect the telemetry data write to AWS IoT Greengrass stream manager streams. The publisher Lambda functions read from the streams.

In step 10, publisher Lambda functions forward the data to the appropriate endpoint.

Machine to Cloud Connectivity Framework

Version 3.0.0
Last updated: 07/2021
Author: AWS

Estimated deployment time: 5 min

Estimated cost  Source code  CloudFormation template 
Use the button below to subscribe to solution updates.

Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.  

Did this Solutions Implementation help you?
Provide feedback 
Build icon
Deploy a Solution yourself

Browse our library of AWS Solutions Implementations to get answers to common architectural problems.

Learn more 
Find an APN partner
Find an APN Partner

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

Learn more 
Explore icon
Explore Solutions Consulting Offers

Browse our portfolio of Consulting Offers to get AWS-vetted help with solution deployment.

Learn more