Deploy PAC/BTI test using a Greengrass thing group

In this section, you’ll use a Greengrass thing group to deploy a set of components, including your PAC/BTI test component, to both Greengrass core devices.

Create the deployment

  1. In the AWS Console, go to IoT Core > Greengrass > Deployments, then select Create.

Image Alt Text:Greengrass Deployments page showing the Create button to start a new deploymentGreengrass Deployments page

  1. Name your deployment and select the thing group My_PAC_BTI_Test_Devices, then select Next.

Image Alt Text:Greengrass deployment configuration showing the deployment name and the My_PAC_BTI_Test_Devices thing group selectedDeployment name and thing group selection

  1. Select the test component that you created in the previous section, as well as default Greengrass components, and then select Next.

Image Alt Text:Greengrass deployment step 2 showing component selection with default components listedDeployment component selection step

  1. Leave component configurations as default and select Next.

Image Alt Text:Greengrass deployment step 3 showing component configuration options at their defaultsDeployment component configuration step

  1. Leave advanced settings as default and select Next.

Image Alt Text:Greengrass deployment step 4 showing advanced configuration options at their defaultsDeployment advanced configuration step

  1. Scroll to the end of the page and select Deploy.

Image Alt Text:Greengrass deployment review page with the Deploy button at the bottom to confirm and start the deploymentDeployment review and Deploy button

  1. After deployment starts, Greengrass installs and prepares the custom component on both PAC/BTI test devices. Wait until the Execution overview shows 2 successful targets.

Image Alt Text:Greengrass deployment status page showing the Execution overview with 2 successful targets, confirming both devices received the componentDeployment status showing 2 successful targets

When both devices show successful deployment, you’re ready to run PAC/BTI tests on each device.

What you’ve accomplished and what’s next

You’ve now created a Greengrass deployment that targeted the thing group containing both PAC/BTI test devices. The deployment installed the PAC/BTI custom component on both the Raspberry Pi 5 and the Jetson Thor devices by following the YAML recipe.

Next, you’ll run PAC/BTI tests on each device using AWS IoT Core MQTT.

Back
Next