Question

Which server distribution does fit the best?

Hi there!

I’ve set up a Droplet with Node and Vue running on it. In front there is a reverse proxy (nginx). It works fine so far. Now, I want to set up my database with MongoDB and my Redis that stores invalid tokens and remembers consecutive failed login attempts.

I wonder whether it’s smart to put MongoDB and Redis on the same Droplet and put a reverse proxy in front of them as well? The expected traffic is not tremendous.

Thanks!


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.

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.

Cool, it works! Thanks KDSYs!

Hi @Effection,

Yes, you can use the Firewall to cut of external traffic and allow only from your Droplet 1. It’s the best and proper way!

Regards, KDSys

Hi @Effection,

I’ll cling to your words the traffic not being much and as such, I think it’s okay to put MongoDB and Redis on the same droplet. Please note that increase in traffic might force you to actually need a separate droplets for both services apart from an upgrade as well.

Generally speaking however, the above scenario shouldn’t happen in the near future except in the case of your application increasing traffic daily.

Regards, KDSys