migrate IoT Core things from one account to another

0

i have a fleet of devices in my aws iot core service. is there the way to migrate from one aws account to another? without device reflashing with new certificates. i have tried to transfer certificates and attach same policies and rules as in source account as it is described in the manual: "https://docs.aws.amazon.com/iot/latest/developerguide/transfer-cert.html" but after transferring certificate the thing can not connect to aws

1 個回答
1
已接受的答案

Hi. How does your device get the data endpoint? Unless you are using a custom domain, you would also need to change the endpoint on the device. Have you done that? Sounds like it may still be trying to connect to the old account.

profile pictureAWS
專家
Greg_B
已回答 8 個月前
  • Hi Greg. Thank you for your quick response! Indeed device was trying to connect to the old accounts endpoint, after modifying files that contain endpoint on device through wired connection, it was working as we wanted. But our main issue is that we have a fleet of devices , that are not locally available, so we are trying to change all credentials through AWS IoT Console. So we were searching for a way to transfer IoT devices to new AWS account without re-flashing them or changing their files.

  • Hi. You can transfer certificates, or you can copy certificates to the new account (using DescribeCertificate, then RegisterCertificate or RegisterCertificateWithoutCA API operations: https://docs.aws.amazon.com/iot/latest/apireference/API_Operations_AWS_IoT.html). However you must also reconfigure/reprogram the devices with the new endpoint, else they won't connect to the new account.

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

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

回答問題指南