Need Help In Understanding Server Deployment Strategy

March 22, 2018 795 views
Applications Initial Server Setup Deployment Node.js MongoDB Ubuntu

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

1 Answer
eddiezane MOD March 22, 2018
Accepted 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!

Have another answer? Share your knowledge.