I have worked with a certain php and mysql based crm application for a while as a developer and know it inside out. I have an idea to offer an on-demand saas based hosted version where the client and can purchase a plan based on the number of users. They will simply click a button and this will automatically spin up and deploy a brand knew instance of the application for them and they will then be able to log in and use the software but wont have any access to the actual web space apart the ability to download a dump of there data anytime they want. It will automatically assign a sub-domain and email them their login details when its ready. I basically want it to be as autonomous as possible.
I think I have three possible ways to go about this:
We’ll use digital ocean as an example provider
Out of all 3, number 3 is the most appealing to me but the one I know least about.
But realistically what is the best way to go about this?
The application can be quite database heavy if it has lots of data and users. Ill also have to consider that the clients can install additional custom modules in the the application and that Ill need a way to upgrade the version on mass when bug fix releases come out etc.
Regarding option 1, does such a script or software already exist that will let me create virtual hosts and deploy a php application within it automatically at the click of a button?
I know option 2 could be done using a snapshot of a droplet and some custom scripts using the Digital ocean api.
Regarding Option 3 I’m all ears?
All advice welcome thanks?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!