I'm currently trying to build a MVP for a SaaS idea I had. I intend for every SaaS client to run their own instance of the application (for customisation and isolation purposes), so some sort of multi-tenant/multi-instance architecture. Currently to try to achieve this scenario, I have been thinking along these lines
Kubernetes Multi-tenant cluster (This seemed like the most promising as I've seen a couple of companies do this e.g Kolide. I haven't proceeded with this as I'm new to the Kubernetes scene, so the learning curve was crazy and I don't have that much time)
Switching databases depending on the subdomain value e.g client1.myapp.com switches to client1's database. (This didn't work out because the open source CMS I used doesn't support switching databases ☹️)
What tools/services are you using to handle such scenarios? Thanks for your time.