Noob question. Should I create separate droplets for each website?

  • Posted April 22, 2013

What would be best? A single droplet with high specs containing 4-6 websites? Or 6 droplets (1 for each)?


Submit an 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.

ABOUT SECURITY ! ! ! ! ! !

No one mentioned, but putting all sites together is 10x increased risk to your business! In case 1 (from all 6 sites) is hacked, then all your other sites are hacked too!

I don’t know if there is a complete solution to separate domains from each-other COMPLETELY. It’s not enough to restrict only sFTP user. Instead, there should be access-jails (which will restrict APACHE PHP process) to have access to upper directory files in server. I am trying to find out if there is any way.

If you use 1 droplet for multiple websites, it means a single IP address is shared by multiple websites which are not good for SEO. Check this why a dedicated IP address is important for each site

if you are lucky to have web site load at different time spans 1 small droplet for all sites will fit you best.

The short answer ‘No you should not create separate droplets for each website (unless you know you have to)’. <br> <br>As you ask this question it looks you haven’t done any performance testing and tuning of the sites. You may start with one droplet, deploy the sites, do performance testing and tuning (6x times less configuration, administration and etc) and adjust droplet size. When finished you can decide whether it would be better for you to pay for N droplets + more administration or 1 droplet + possibly higher price in total for bigger droplet. Don’t forget one droplet might be more efficient for load balancing and if you are lucky to have web site load at different time spans you 1 droplet for 1 site will fit you best.

6 separate droplet will increase your management cost also! Think that your problem will be 6x more.

While its depend on use case, i suggest you to get 2 medium droplet. One for Database and one for website(nginx+X)

It all depends on how much traffic those websites get and what kind of content they host. You can indeed run 50 low end websites with low trafics from a droplet with 2GB that won’t be a problem.

I’m not an expert, but base system installation - MySQL, Apache, Mail etc - will eat about 200MB of droplet’s memory and a few GBs of the disk so I would vote for a single, big enough droplet. <br>Still depends on your requirements. <br>

It really depends on how busy the sites are… I personally know people who have 50+ low traffic sites on a 2GB VPS instance (including cPanel - MySQL, Apache, Mail + DNS services). <br> <br>