Hello,I am new to server management and deployment stuff..

My question is whether I should deploy a different droplet for database or should I install the database software in the same droplet where cam running my application backend..

Thank You

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.

Submit an Answer
1 answer

Welcome to the wonderful (sometimes head banging) world of doing cool server stuff!

There’s unfortunately no easy answer to your question other than “it depends”.

The old Unix philosophy is “do one thing and do it well”. This certainly can be applied to servers and infrastructure (e.g. a server dedicated to your database).

You can totally get by with everything on a single server but depending on your requirements and expected usage/growth you might want to roll out a distributed solution.

One of the things that I suffered with when I was new to servers was over engineering and premature optimization. Embrace that “done is better than perfect” and go from there!