We recently upgraded to v2019.8.3 of the Octopus deployment software which has enabled us to start using multi-tenancy and I was after some advice to confirm that I have set it up correctly.
We are a software company that has multiple servers on which we host our customers.
We have ServerA which has a polling tentacle installed on it. There are several target roles that we have created for various projects, but the one in question is the multi-tenancy environment. This is the one that I need to make this work in multi-tenanted mode, I think.
There are 10 customers on this hosted server. I have a tenant for each of those customers with their specific information configured in the variables (customer number, sql db connection info, etc.). On the server, our code is separate for each customer by folder structure in C:.
Previously I have had to schedule the release of new software in a staggered scheduled deployment. For example, I’d start customer 1 at 9:00pm, customer 2 at 9:30, customer 3 at 10:00, and so on.
To use multi-tenanted releases, do I just need to add the “multitenancy-environment” target role, and that’s it, or is there other configuration that needs to happen at the tentacle level, or tenant level? I haven’t been able to find anything starting that in the documentation.
I have created location tags for each tenant pointing to their own server (deployment target) so that hopefully, I can deploy to that entire group instead of clicking deploy for each individual still. Does this setup sound correct for what I’m doing?