I have already built a nodejs webapp that I want to make available as a service, but I don't know the next steps to automate the whole thing given the following steps :
people come to my website and create an account for a free trial by providing what could possibly be the domain name for their version of my app ( what will become a subdomain on my server)
an image of the app is automatically set up and launched on provideddomain.mywebsite.com
they log to their account to start configuring their version of my app
if they like the app they can purchase or transfert a domain so that their version of the app can be accessible from provideddomain.mywebsite.com to newdomain.com
Basically, I wish to offer a platform where my customers can use an image of my app ( behind the fomain namr of their choosing domain).
I think I can use containers and kubernetes to have something like a paas, but I don't know if they are the right tools for achieving what I'm looking for.
I already know how to deploy an app on openshift (containers) and I figured there must be a way to automate the whole process. Much like what WordPress does when you create an account and have a subdomain and everything, ready for you to use.
Can anyone point me to the right resources ?
any other tips, hints on some steps I didnt mention will also be greatly appreciated.