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년 전321회 조회
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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인