By Effection
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!
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.