Multi Tennant and Organisation

Hello, is there some user guide or examples of multi tenants configuration. For instance if our device profiles, applications are the same but our devices and gateways are different but are spread over many tenants, how can this be best accomplished. Is this available or any thoughts would help.

Thanks

Further information on the business case

Here is the use case specifics:

For many buildings owned by different owners and using the same “certified” products:

For each building there are:

  1. Thousands of same brand, model sensors for water detection (working with same custom made CODEC) - thats one application
  2. Hundreds of same brand, model actuators for valve shut downs (working with same custom made CODEC) - thats another application
  3. A couple of gateways in each buildings

How would you go about setting up the organisations, the device profiles, the applications so that we minimize the repetitive tasks.

Also, how do we load thousands of devices per buildings quickly, is there a bulk mode load available.

Thank you for your help.

The “bulk load” would be the API.
We have some golang tools helping us do some GitOps and decoder development.
There is no way currently on chirpstack to have “template sensors/profiles” so you have to replicate the same configuration across organizations. We have a repository of “know decoders” and generate the necessary profiles in each orga that needs it. We also use that to onboard new devices. Keys get stored in a secret manager and are referenced in the config. The tool pulls the secrets and creates the devices with keys. Storing the secrets depends on how we got the keys, a lot of sellers send you a spreadsheet or a cvs. Some just paste the content on an email and some give you a paper sheet on order. That’s a problem I’m not quite sure how to automate, so there is still a tedious manual secret ingestion, but once they are in the secret store it get’s easier.

Instead of using a GitOps approach, you could have an HTTP-Service with a GUI for some sort of “operator” to click/order stuff, which loads some set of approved decoders/templates and sends requests to the application server.

1 Like

Thanks for the reply. let me digest this and get back.