What does this AWS Solution do?

This AWS Solution 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. You can then publish machine and industrial asset telemetry data 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 supports both the OPC Data Access (OPC-DA) and OPC Unified Architecture (OPC-UA) protocols, and supports OSIsoft PI through the OSIsoft PI Web API.

Click here for related content 


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
Harness robust data ingestion from sources using the AWS IoT SiteWise Connector with either the OPC-DA or OPC-UA protocol, or with the OSIsoft PI Web API. Use this solution as a reference to build secure cloud connectivity for additional industrial protocols based on your factory equipment requirements.
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. This solution includes a web user interface that allows you to create and manage connections between the industrial data sources and the AWS services.

AWS Solution overview

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

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 AWS IoT Greengrass components to connect and read telemetry data from your OPC UA, OPC DA, and OSIsoft PI Web API servers.
  8. AWS IoT Greengrass components 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. AWS IoT Greengrass components that collect the telemetry data write to AWS IoT Greengrass stream manager streams. The publisher AWS IoT Greengrass components read from the streams.
  10. Publisher AWS IoT Greengrass components forward the data to the appropriate endpoint.

Machine to Cloud Connectivity Framework

Version 4.1.0
Last updated: 09/2022
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 
AWS Architecture Blog
Securely Ingest Industrial Data to AWS via Machine to Cloud Solution
As a manufacturing enterprise, maximizing operational efficiency and optimizing output are critical factors in this competitive global market. However, many manufacturers are unable to collect data, link data together, and generate insights to help them optimize performance.
Learn how the Machine to Cloud Connectivity Framework solution allows manufacturers to securely ingest their shop floor data into various data destinations in AWS.
Read the full blog post 
Back to top 
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