AWS IoT Greengrass Developer Guide
User Manual:
Open the PDF directly: View PDF
Page Count: 432 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- AWS IoT Greengrass
- Table of Contents
- What Is AWS IoT Greengrass?
- AWS IoT Greengrass Core Software
- AWS IoT Greengrass Groups
- Devices in AWS IoT Greengrass
- SDKs
- Supported Platforms and Requirements
- AWS IoT Greengrass Downloads
- We Want to Hear from You
- Configure the AWS IoT Greengrass Core
- Getting Started with AWS IoT Greengrass
- Requirements
- Create an AWS Account
- Module 1: Environment Setup for Greengrass
- Module 2: Installing the Greengrass Core Software
- Module 3 (Part 1): Lambda Functions on AWS IoT Greengrass
- Module 3 (Part 2): Lambda Functions on AWS IoT Greengrass
- Module 4: Interacting with Devices in an AWS IoT Greengrass Group
- Module 5: Interacting with Device Shadows
- Module 6: Accessing Other AWS Services
- Module 7: Simulating Hardware Security Integration
- OTA Updates of AWS IoT Greengrass Core Software
- Reset Deployments
- Create Bulk Deployments For Groups
- Run Lambda Functions on the AWS IoT Greengrass Core
- SDKs for Greengrass Lambda Functions
- Reference Lambda Functions by Alias or Version
- Controlling Execution of Greengrass Lambda Functions by Using Group-Specific Configuration
- Communication Flows for Greengrass Lambda Functions
- Lifecycle Configuration for Greengrass Lambda Functions
- Lambda Executables
- Running AWS IoT Greengrass in a Docker Container
- Prerequisites
- Step 1: Get the AWS IoT Greengrass Container Image from Amazon ECR
- Step 2: Create and Configure the Greengrass Group and Core
- Step 3: Run AWS IoT Greengrass Locally
- Step 4: Configure "No container" Containerization for the Greengrass Group
- Step 5: Deploy Lambda Functions to the AWS IoT Greengrass Docker Container
- Step 6: (Optional) Deploy Devices that Interact with Greengrass Running in the Docker Container
- Stopping the AWS IoT Greengrass Docker Container
- Troubleshooting AWS IoT Greengrass in a Docker Container
- Access Local Resources with Lambda Functions
- Supported Resource Types
- Requirements
- Group Owner File Access Permission
- How to Configure Local Resource Access Using the AWS Command Line Interface
- How to Configure Local Resource Access Using the AWS Management Console
- Prerequisites
- Step 1: Create a Lambda Function Deployment Package
- Step 2: Create and Publish a Lambda Function
- Step 3: Add the Lambda Function to the Greengrass Group
- Step 4: Add a Local Resource to the Greengrass Group
- Step 5: Add Subscriptions to the Greengrass Group
- Step 6: Deploy the AWS IoT Greengrass Group
- Test Local Resource Access
- Perform Machine Learning Inference
- How AWS IoT Greengrass ML Inference Works
- Machine Learning Resources
- Requirements
- Runtimes and Precompiled Framework Libraries for ML Inference
- How to Configure Machine Learning Inference Using the AWS Management Console
- Prerequisites
- Step 1: Configure the Raspberry Pi
- Step 2: Install the MXNet Framework
- Step 3: Create an MXNet Model Package
- Step 4: Create and Publish a Lambda Function
- Step 5: Add the Lambda Function to the Greengrass Group
- Step 6: Add Resources to the Greengrass Group
- Step 7: Add a Subscription to the Greengrass Group
- Step 8: Deploy the Greengrass Group
- Test the Inference App
- Next Steps
- Configuring an NVIDIA Jetson TX2
- How to Configure Optimized Machine Learning Inference Using the AWS Management Console
- Prerequisites
- Step 1: Configure the Raspberry Pi
- Step 2: Install the Amazon SageMaker Neo deep learning runtime
- Step 3: Create an Inference Lambda Function
- Step 4: Add the Lambda Function to the Greengrass Group
- Step 5: Add Amazon SageMaker Neo Optimized Model Resource to the Greengrass Group
- Step 6: Add Your Camera Device Resource to the Greengrass Group
- Step 7: Add Subscriptions to the Greengrass Group
- Step 8: Deploy the Greengrass Group
- Test the Inference Example
- Configuring an Intel Atom
- Configuring an NVIDIA Jetson TX2
- Troubleshooting AWS IoT Greengrass ML Inference
- Next Steps
- Deploy Secrets to the AWS IoT Greengrass Core
- Secrets Encryption
- Requirements
- Specify the Private Key for Secret Encryption
- Allow AWS IoT Greengrass to Get Secret Values
- See Also
- Working with Secret Resources
- How To Create a Secret Resource (Console)
- Prerequisites
- Step 1: Create a Secrets Manager Secret
- Step 2: Add a Secret Resource to a Greengrass Group
- Step 3: Create a Lambda Function Deployment Package
- Step 4: Create a Lambda Function
- Step 5: Add the Lambda Function to the Greengrass Group
- Step 6: Attach the Secret Resource to the Lambda Function
- Step 7: Add Subscriptions to the Greengrass Group
- Step 8: Deploy the Greengrass Group
- Test the Function
- See Also
- Integrate with Services and Protocols Using Greengrass Connectors
- Requirements
- Using AWS IoT Greengrass Connectors
- Configuration Parameters
- Inputs and Outputs
- Logging
- AWS-Provided Greengrass Connectors
- Getting Started with Greengrass Connectors (Console)
- Prerequisites
- Step 1: Create a Secrets Manager Secret
- Step 2: Add a Secret Resource to a Greengrass Group
- Step 3: Add a Connector to the Greengrass Group
- Step 4: Create a Lambda Function Deployment Package
- Step 5: Create a Lambda Function in the AWS Lambda Console
- Step 6: Add a Lambda Function to the Greengrass Group
- Step 7: Add Subscriptions to the Greengrass Group
- Step 8: Deploy the Greengrass Group
- Test the Solution
- See Also
- Getting Started with Greengrass Connectors (CLI)
- Prerequisites
- Step 1: Create a Secrets Manager Secret
- Step 2: Create a Resource Definition and Version
- Step 3: Create a Connector Definition and Version
- Step 4: Create a Lambda Function Deployment Package
- Step 5: Create a Lambda Function
- Step 6: Create a Function Definition and Version
- Step 7: Create a Subscription Definition and Version
- Step 8: Create a Group Version
- Step 9: Create a Deployment
- Test the Solution
- See Also
- Greengrass Discovery RESTful API
- Use Greengrass OPC-UA to Communicate with Industrial Equipment
- AWS IoT Greengrass Security
- Configuring Greengrass Security
- Device Connection Workflow
- Greengrass Messaging Workflow
- MQTT Core Server Certificate Rotation
- AWS IoT Greengrass Cipher Suites
- Hardware Security Integration
- Requirements
- Hardware Security Configuration for an AWS IoT Greengrass Core
- Provisioning Practices for AWS IoT Greengrass Hardware Security
- Supported Cipher Suites for Hardware Security Integration
- Configure Support for Over-the-Air Updates
- Backward Compatibility with Earlier Versions of the AWS IoT Greengrass Core Software
- Hardware Without PKCS#11 Support
- See Also
- Monitoring with AWS IoT Greengrass Logs
- AWS IoT Device Tester for AWS IoT Greengrass User Guide
- Prerequisites
- Download the Latest Version of AWS IoT Device Tester for AWS IoT Greengrass
- Create and Configure an AWS Account
- Install the AWS Command Line Interface (CLI)
- Configure the AWS IoT Greengrass Service Role
- Verify AWS IoT Greengrass Dependencies on the Device Under Test
- Configure the AWS IoT Greengrass Software
- Configure Your Host Computer to Access Your Device Under Test
- Root Access
- Setting Configuration to Run the AWS IoT Greengrass Qualification Suite
- Testing Infrastructure
- Test Organization
- Troubleshooting
- Permissions Policy Template
- Test Group Descriptions
- Prerequisites
- Troubleshooting AWS IoT Greengrass
- Document History for AWS IoT Greengrass