Unsure about how to split services into multiple droplets


Im currently running my entire setup on one large dedicated server and Im planning to move everything into multiple droplets. The reason for that is that I mainly wanna give other people access to specific services.

My Services:

  • 4+ Wordpress Sites (All Sites are very small) [Apache + MySQL]
  • Java powered Web Crawler
  • MySQL [For Discord Bot + Web Crawler]
  • Discord Bot

Choice A:

  • 1# 2GB Droplet [4+ Wordpress Sites] + [MySQL]
  • 2# 2GB Droplet [Web Crawler] + [MySQL]
  • 3# 1GB Droplet [Discord Bot]

Choice B:

  • 1# 2GB Droplet [4+ Wordpress Sites]
  • 2# 1GB Database Droplet
  • 3# 1GB Droplet [Discord Bot]
  • 4# 2GB Droplet [Web Crawler]

My Question:

Im not too sure whether I should install a mysql server on multiple droplets or If I should have one seperate database droplet.


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.

NO WAY, I never recommend to have different CMS 2 sites on same server & database. Everything nowadays, comes down to the safety and security of web-systems.

You’d better keep every different CMS separated. because if one site hacked, everything (other sites) becomes accessible too.

I wouldn’t use a single droplet for your database. I’d recommend having 2 identical droplets with MySQL replication using master/master setup.

This will give you a resilience in the event of a server failure, and will allow you to take a DB server offline for upgrades (i.e. patching) without causing an outage.

Im thinking about maybe installing a mysql server instance on the website droplet since those websites are pretty much completely seperate from the rest.

Hi there @TechsCode,

Im not too sure whether I should install a mysql server on multiple droplets or If I should have one seperate database droplet.

Honestly, I think this comes down mostly to personal preference more than anything else. However, you should also consider the usability of each setup in the context of how you want to use it.

Personally, I would probably use a single, centralised database server for everything, so when I go to make backups of my database, I only have one server that I need to back up to complete this task.

Additionally, if you ever decided to host a website that relied on data within your bot’s database server, its all in the single db server and so connections can be simplified etc.

I hope that helps somewhat in guiding the decision you make! - Matt.