Question

How do I set up a SaaS product?

Hello everyone, I had a web application developed for a client using PHP which I hosted for them on a regular web host, now I have a good web app that I thought I could offer to other companies but on a monthly basis something similar to SaaS. I am not familiar with how to deploy a Saas application and was wondering how I can do that with digitalocean. Basically I want to offer my clients this web app installed on a cloud server, now as I understand I can do that to maybe 1 or 10 clients by creating a separate droplet for each client, is there any way to do it for lets say hundreds or even thousands of clients using Digitalocean? How many droplets does digitalocean allow? and is there a better way to do this? please let me know. Thanks


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

Depending on the configuration and access level needed for your users there are two ways you can go about this:

  • Create a new droplet for each user - this provides additional flexibility and is easier to configure but is a bit more costly
  • Set up each user’s software in a different virtualhost - this way you can host multiple instances of the software on each droplet lowering your costs. This requires your setup to add additional virtualhost configuration files to your web server and will likely require a restart of the service when you add a new user to a node for their virtualhost to begin accepting requests.

If going with option 1 you can create a snapshot image with your software by spinning up a droplet and setting up your default configuration, then powering it off and snapshotting it. This will allow you to spin up new droplets via the API or control panel already configured with your software.

By default new accounts do have a droplet limit of 5. This is an anti-fraud measure intended to prevent a fraudulent account from quickly creating lots of droplets to launch attacks or send spam. This limit can be increased by opening a ticket with our support team. There is no ceiling on the droplet limit (we have users with limits of 1000 droplets or more).

@ryanpq, Will explore in detail how to use Saas or suggest me an article about it And Saas means maintaintace of software installed on machine is digital ocean look out?? r