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
已提問 2 年前檢視次數 320 次
1 個回答
0
已接受的答案

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
專家
已回答 2 年前
  • Thank you! This seemed to work.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南