Deploy cloud configurations to a Greengrass core device - 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).

End of support notice: On October 7th, 2026, Amazon will discontinue support for Amazon IoT Greengrass Version 1. After October 7th, 2026, you will no longer be able to access the Amazon IoT Greengrass V1 resources. For more information, please visit Migrate from Amazon IoT Greengrass Version 1.

Deploy cloud configurations to a Greengrass core device

  1. Make sure that your Greengrass core device is connected to the internet. For example, try successfully navigating to a webpage.

  2. Make sure that the Greengrass daemon is running on your core device. In your core device terminal, run the following commands to check whether the daemon is running and start it, if needed.

    1. To check whether the daemon is running:

      ps aux | grep -E 'greengrass.*daemon'

      If the output contains a root entry for /greengrass/ggc/packages/1.11.6/bin/daemon, then the daemon is running.

    2. To start the daemon:

      cd /greengrass/ggc/core/ sudo ./greengrassd start

    Now you're ready to deploy the Lambda function and subscription configurations to your Greengrass core device.

  3. In the Amazon IoT console navigation pane, under Manage, expand Greengrass devices, and then choose Groups (V1).

  4. Under Greengrass groups, choose the group that you created in Module 2.

  5. On the group configuration page, choose Deploy.

  6. On the Lambda functions tab, in the System Lambda functions section, choose IP detector.

  7. Choose Edit and select Automatically detect and override MQTT broker endpoints. This enables devices to automatically acquire connectivity information for the core, such as IP address, DNS, and port number. Automatic detection is recommended, but Amazon IoT Greengrass also supports manually specified endpoints. You're only prompted for the discovery method the first time that the group is deployed.

The first deployment might take a few minutes. When the deployment is complete, you should see Successfully completed in the Status column on the Deployments page:

Note

The deployment status is also displayed below the group's name on the page header.

For troubleshooting help, see Troubleshooting Amazon IoT Greengrass.