Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Configure subscriptions - AWS IoT Greengrass

AWS IoT Greengrass Version 1 entered the extended life phase on June 30, 2023. For more information, see the AWS IoT Greengrass V1 maintenance policy. After this date, AWS IoT Greengrass V1 won't release updates that provide features, enhancements, bug fixes, or security patches. Devices that run on AWS IoT Greengrass V1 won't be disrupted and will continue to operate and to connect to the cloud. We strongly recommend that you migrate to AWS IoT Greengrass Version 2, which adds significant new features and support for additional platforms.

AWS IoT Greengrass Version 1 entered the extended life phase on June 30, 2023. For more information, see the AWS IoT Greengrass V1 maintenance policy. After this date, AWS IoT Greengrass V1 won't release updates that provide features, enhancements, bug fixes, or security patches. Devices that run on AWS IoT Greengrass V1 won't be disrupted and will continue to operate and to connect to the cloud. We strongly recommend that you migrate to AWS IoT Greengrass Version 2, which adds significant new features and support for additional platforms.

Configure subscriptions

In this step, you enable the HelloWorld_Publisher client device to send MQTT messages to the HelloWorld_Subscriber client device.

  1. On the group configuration page, choose the Subscriptions tab, and then choose Add.

  2. On the Create a subscription page, do the following to configure the subscription:

    1. For Source type, choose Client device, and then choose HelloWorld_Publisher.

    2. Under Target type, choose Client device, and then choose HelloWorld_Subscriber.

    3. For Topic filter, enter hello/world/pubsub.

      Note

      You can delete subscriptions from the previous modules. On the group's Subscriptions page, select the subscriptions to delete, and then choose Delete.

    4. Choose Create subscription.

  3. Make sure that automatic detection is enabled so the Greengrass core can publish a list of its IP addresses. Client devices use this information to discover the core. Do the following:

    1. On the group configuration page, choose the Lambda functions tab.

    2. Under System Lambda functions, choose IP detector, and then choose Edit.

    3. In the Edit IP detector settings, choose Automatically detect and override MQTT broker endpoints, and then choose Save.

  4. Make sure that the Greengrass daemon is running, as described in Deploy cloud configurations to a core device.

  5. On the group configuration page, choose Deploy.

The deployment status is displayed below the group name on the page header. To see deployment details, choose the Deployments tab.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.