This section explains how to migrate your devices from The Things Stack Community Edition to The Things Stack Cloud.
You can migrate your devices from The Things Stack Community Edition to The Things Stack Cloud using The Things Stack Console, the CLI or the migration tool, depending on if you want to migrate them with or without their existing session, and how many devices you wish to migrate.
Prerequisites
- A user account on The Things Stack Community Edition with an application containing registered devices.
- A user account on The Things Stack Cloud.
We recommend testing migration on a single end device or a small batch of end devices in order to make sure the migration process goes as expected.
Add Application in The Things Stack Cloud
You first need to add a new application in The Things Stack Cloud. See Adding Applications for detailed instructions.
When adding an application in The Things Stack Cloud, the Application ID does not have to be the same as the one in The Things Stack Community Edition.
Add Payload Formatters and Integrations in The Things Stack Cloud
After creating an application in The Things Stack Cloud, you need to add the associated elements like application-level payload formatters and integrations. Commonly, you can copy-paste payload formatters from The Things Stack Community Edition to The Things Stack Cloud, and you can recreate all integrations on The Things Stack Cloud in the same way as you created them on The Things Stack Community Edition.
See Payload Formatters and Integrations for more info.
Migrate End Devices and Gateways
Instructions for migrating your devices will differ depending on if you are using OTAA or ABP devices, and if you want to preserve their active session or not. Migrating your gateway will be needed in some cases. Choose your scenario and find the instructions in the following subsections.