Associate client devices - AWS IoT Greengrass

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 AWS IoT Greengrass console to view, add, and delete client device associations.

To view client device associations for a core device (console)

  1. Navigate to the AWS IoT Greengrass console.

  2. Choose Core devices.

  3. Choose the core device to manage.

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

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

To associate client devices with a core device (console)

  1. Navigate to the AWS IoT Greengrass console.

  2. Choose Core devices.

  3. Choose the core device to manage.

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

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

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

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

    2. Choose Add.

  7. 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. Navigate to the AWS IoT Greengrass console.

  2. Choose Core devices.

  3. Choose the core device to manage.

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

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

  6. Choose Disassociate.

  7. 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 (AWS CLI)

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

To view client device associations for a core device (AWS CLI)

To associate client devices with a core device (AWS CLI)

To disassociate client devices from a core device (AWS CLI)

Manage client device associations (API)

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

To view client device associations for a core device (AWS API)

To associate client devices with a core device (AWS API)

To disassociate client devices from a core device (AWS API)