Question

Need Help In Understanding Server Deployment Strategy

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


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.

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!

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.