Question

Is the 1-Click NodeJS Image from the marketplace secure enough by default in production?

Do i need to take in more steps to configure a droplet from a oneclick install or even use the digital ocean offering kubernetees just to run a nodejs app?

i know i have to place properly my secret and use ssh,use managed database,set https,snapshot and backup, other than that i don’t know.


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.

Hi there @Kommi,

If you are using the NodeJS 1-Click App from the Marketplace here:

https://marketplace.digitalocean.com/apps/nodejs

As stated in the description there, the image comes with enabled the UFW firewall to allow only SSH (port 22, rate limited), HTTP (port 80), and HTTPS (port 443) access. After you create a Node.js One-Click Droplet, Node.js and NPM will both be installed.

This One-Click application is ideal for learning and exploring with Node.js, but isn’t configured for production use. For example, some steps you should take before using Node.js One-Click Droplets in production include:

  • Using PM2, a process manager for Node.js that lets you daemonize applications so they can run in the background as a service.

  • Using a reverse proxy, like Nginx, to give users a way to access the application.

  • Adding SSL to the reverse proxy for additional security.

Hope that this helps! Regards, Bobby