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.
Configure subscriptions
In this step, you enable the HelloWorld_Publisher client device to send MQTT messages to the HelloWorld_Subscriber client device.
-
On the group configuration page, choose the Subscriptions tab, and then choose Add.
-
On the Create a subscription page, do the following to configure the subscription:
-
For Source type, choose Client device, and then choose HelloWorld_Publisher.
-
Under Target type, choose Client device, and then choose HelloWorld_Subscriber.
-
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.
-
Choose Create subscription.
-
-
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:
-
On the group configuration page, choose the Lambda functions tab.
-
Under System Lambda functions, choose IP detector, and then choose Edit.
-
In the Edit IP detector settings, choose Automatically detect and override MQTT broker endpoints, and then choose Save.
-
Make sure that the Greengrass daemon is running, as described in Deploy cloud configurations to a core device.
-
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.