A key feature of the integration is synchronizing the thing registries of AWS IoT and The Things Network.
Synchronization happens in two ways: devices on The Things Network are created as things on AWS IoT, and things on AWS IoT are created as devices on The Things Network. In addition, changes to AWS IoT things are applied to The Things Network devices.
The integration process synchronizes the thing registry by default every 10 minutes, see the AWS CloudFormation stack parameters in the Quick Start.
- Log in to the AWS Management Console
- In Services under Internet Of Things, go to AWS IoT
- In the menu on the left under Manage, go to Things
- Here you see all devices of your application in The Things Network
Click on one device to see its attributes:
Create Thing in AWS IoT
- In AWS IoT, under Manage, go to Things
- Click Create
- Click Create a single thing
- Give your thing a distinctive name, e.g.
- For Thing Type, select
- Enter the searchable attributes app_id, dev_eui and dev_id
Add the attributes app_eui and app_key to enable Over The Air Activation (OTAA)
The app_eui and dev_eui are 8 byte hex values and app_key is a 16 byte hex value.
- Click Next
Click Create thing without certificate
The integration has full access to AWS IoT; there is no need for a certificate per thing.
- Log in to The Things Network Console
- Under your application, go to Devices
After a synchronization took place, you will see your newly created device:
Managing devices manually in The Things Network Console is typically easier and less error prone than in AWS IoT. However, thing registry synchronization with AWS IoT allows you and your applications to work with LoRaWAN things like any other things in AWS IoT.