Associate client devices - 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).

Associate client devices

To use cloud discovery, associate client devices with a core device so that they can discover the core device. Then, they can use the Greengrass discovery API to retrieve connectivity information and certificates for their associated core devices.

Likewise, disassociate client devices from a core device to stop them from discovering the core device.

Manage client device associations (console)

You can use the Amazon IoT Greengrass console to view, add, and delete client device associations.

To view client device associations for a core device (console)
  1. Choose Core devices.

  2. Choose the core device to manage.

  3. On the core device's details page, choose the Client devices tab.

  4. In the Associated client devices section, you can see which client devices (Amazon IoT things) are associated with the core device.

To associate client devices with a core device (console)
  1. Choose Core devices.

  2. Choose the core device to manage.

  3. On the core device's details page, choose the Client devices tab.

  4. In the Associated client devices section, choose Associate client devices.

  5. In the Associate client devices with core device modal, do the following for each client device to associate:

    1. Enter the name of the Amazon IoT thing to associate as a client device.

    2. Choose Add.

  6. Choose Associate.

    The client devices that you associated can now use the Greengrass discovery API to discover this core device.

To disassociate client devices from a core device (console)
  1. Choose Core devices.

  2. Choose the core device to manage.

  3. On the core device's details page, choose the Client devices tab.

  4. In the Associated client devices section, select each client device to disassociate.

  5. Choose Disassociate.

  6. In the confirmation modal, choose Disassociate.

    The client devices that you disassociated can no longer use the Greengrass discovery API to discover this core device.

Manage client device associations (Amazon CLI)

You can use the Amazon Command Line Interface (Amazon CLI) to manage client device associations for a core device.

To view client device associations for a core device (Amazon CLI)
To associate client devices with a core device (Amazon CLI)
To disassociate client devices from a core device (Amazon CLI)

Manage client device associations (API)

You can use the Amazon API to manage client device associations for a core device.

To view client device associations for a core device (Amazon API)
To associate client devices with a core device (Amazon API)
To disassociate client devices from a core device (Amazon API)