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 réponse
1
Réponse acceptée

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
répondu il y a 8 mois
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions