Step 3: Install the Amazon IoT Greengrass Core software - Amazon IoT Greengrass
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Step 3: Install the Amazon IoT Greengrass Core software

Follow the steps in this section to set up your Raspberry Pi as a Amazon IoT Greengrass core device that you can use for local development. In this section, you download and run an installer that does the following to configure the Amazon IoT Greengrass Core software for your device:

  • Installs the Greengrass nucleus component. The nucleus is a mandatory component and is the minimum requirement to run the Amazon IoT Greengrass Core software on a device. For more information, see Greengrass nucleus component.

  • Registers your device as an Amazon IoT thing and downloads a digital certificate that allows your device to connect to Amazon. For more information, see Device authentication and authorization for Amazon IoT Greengrass.

  • Adds the device's Amazon IoT thing to a thing group, which is a group or fleet of Amazon IoT things. Thing groups enable you to manage fleets of Greengrass core devices. When you deploy software components to your devices, you can choose to deploy to individual devices or to groups of devices. For more information, see Managing devices with Amazon IoT in the Amazon IoT Core Developer Guide.

  • Creates the IAM role that allows your Greengrass core device to interact with Amazon services. By default, this role allows your device to interact with Amazon IoT and send logs to Amazon CloudWatch Logs. For more information, see Authorize core devices to interact with Amazon services.

  • Installs the Amazon IoT Greengrass command line interface (greengrass-cli), which you can use to test custom components that you develop on the core device. For more information, see Greengrass Command Line Interface.

The Amazon IoT Greengrass Core software and local development tools run on your device. Next, you can develop a Hello World Amazon IoT Greengrass component on your device.