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 Answer
1
Accepted Answer

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
EXPERT
Greg_B
answered 7 months ago
  • 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.

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