Deleted Greengrass Core Device Reappearing in AWS Console

0

Hi. I have recently been deleting a few unused AWS things and two Greengrass core devices but noticed one particular core device will seemingly resurrect after being deleted. From my observations, the core device seems to stay deleted for a handful of hours and then will reappear in the AWS console and report its status as Healthy. When I navigate to the core device details, it specifically mentions: "This core device can't connect to AWS IoT Greengrass because its AWS IoT thing no longer exists. To fix this core device, set up a core device with the same name. Until you fix this core device, you can't edit its information on this page." For clarity, when I deleted the core device I also deleted the corresponding AWS thing (target), which has stayed deleted the entire time. I have deleted the core device multiple different times and have tried a different method each time (using the AWS console, using the AWS CLI, using my root account instead of a provisioned IAM account) so I am unsure how to proceed now. Can anyone offer solutions so that deleted devices will stay deleted? Thanks in advance.

mitty45
asked a year ago292 views
1 Answer
0
Accepted Answer

Hi,

you have a device with Greengrass Core software installed. Deleting the device from the Greengrass console would not affect the device, and when that device connects back to AWS, the Core Device is re-registered in the Greengrass backend. To avoid this situation you can:

  1. Remove the Greengrass Core software from the device (https://docs.aws.amazon.com/greengrass/v2/developerguide/uninstall-greengrass-core-v2.html)
  2. Delete the device certificate from the AWS IoT registry (https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html)

Cheers,

Massimiliano

AWS
EXPERT
answered a year ago
  • Thank you! This seemed to work.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions