Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Guidance needed in setting up production servers
I am planning to setup a production environment for a startup. My product architecture has Node as App server, Redis as cache, and Mongo as DB. I am planning to take 3 droplets on Digital ocean
I want to open only my node server port (443 via Nginx) to outside world. Mongo and Redis ports have to be accessed only from my Node server.
I dont want to expose my Redis and Mongo to outside world.
Please guide in setting up Redis and Mongo as available only from internal network in my account.
This process could be very simple to Ops people, but this is the first time I am setting up a production environment.
Thanks in advance.
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.×