AWS IoT Greengrass
Developer Guide

Configure Subscriptions

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

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

  2. Configure the subscription.

    • Under Select a source, choose Devices, and then choose HelloWorld_Publisher.

    • Under Select a target, choose Devices, and then choose HelloWorld_Subscriber.

    • Choose Next.

     

    
                            Screenshot of the Select your source and target page with
                                HelloWorld_Publisher, HelloWorld_Subscriber, and the Next button
                                highlighted.
  3. For Topic filter, enter hello/world/pubsub, choose Next, and then choose Finish.

    Note

    You can delete subscriptions from the previous modules. On the group's Subscriptions page, choose the ellipsis () associated with a subscription, and then choose Delete.

  4. Make sure that the AWS IoT Greengrass daemon is running, as described in Deploy Cloud Configurations to a Core Device.

  5. On the group configuration page, from Actions, choose Deploy.

    
                Screenshot of the Group page with the Deploy action 
                    highlighted.

    This deploys the group configuration to your AWS IoT Greengrass core device. For troubleshooting help, see Troubleshooting AWS IoT Greengrass.

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