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.

edited by bobbyiliev

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.

×
1 answer

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

Submit an Answer