This lab introduces learners to the core concepts of AWS IoT Greengrass and guides them through the process of deploying custom components to a Greengrass core device. Through hands-on activities, learners will gain practical experience in creating a Greengrass core device, developing custom components, and deploying those components to the core device.
Objectives
- Set up a Greengrass core device.
- Create and run a custom component on the core device.
- Use the Greengrass CLI to interact with the core device.
- Register a custom component with Greengrass using the AWS IoT console.
- Create a Greengrass deployment to a core device using the AWS IoT console.
- Update a Greengrass deployment using the AWS CLI.
Prerequisites
- Familiarity with basic navigation of the AWS Management Console.
- Comfort with Linux command line usage and AWS CLI.
- Understanding of foundational AWS services: Amazon Elastic Compute Cloud (Amazon EC2), Amazon Simple Storage Service (Amazon S3), AWS Identity and Access Management (IAM), and AWS IoT Core.
Outline
Task 1: Set up a Greengrass core device
Task 2: Create a custom component on the core device
Task 3: Perform a local deployment to run and verify the custom component
Task 4: Register a custom component using the AWS IoT console
Task 5: Create a Greengrass deployment to a core device using the AWS IoT console
Task 6: Create a Greengrass deployment to a thing group using the AWS CLI