Integrating multiple TTN applications in AWS

I’ve just started looking into integrating TTN applications in AWS. And after some back and forth I got the integration template working and am adding data to a DynamoDB database table. So far so good.

But from what I can see, a good workflow in TTN is to have one application per payload type (i.e. sensor type / product model). What then is a good way to integrate multiple applications to AWS? And will that create an integration and an Elastic Beanstalk environment for each application? If so, I’m very curious if integrating e.g. ten different applications will cause a massive AWS resource overhead rather than reusing existing AWS resources.

Any thoughts on this?

We are using Node-red for all integrations (node-red-contrib-ttn). This gives a lot of options to connect TTN to what-ever-you-like. The connection is done per application, so your structure in TTN reflects directly in Node-Red.

Are you running Node-RED in a vm in AWS then? And are you able to e.g. store data in a database in AWS from Node-RED?

you can run node-red on the cloud, but there are other options, as node-red can also be running behind a router or Firewall. For some time we have used an old Raspi in our private network to connect to TTN.

As you can connect via MQTT to TTN, there are plenty of options to run your integrations where ever you lilke.

see also: using mqtt with things network