By DoloresIpsum
Hello, I am fairly new to this hosting business. I am currently making Discord and Twitter bots using Node.JS. I have one that uses a mongo database and one that will use SQLite. They each have their own accounts. My question is, will I be able to run them both at the same time on a single droplet? Or will I need to get two droplets?
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!
This comment has been deleted
Yes, you can run multiple Node.JS applications on single Droplet. You just need to make sure they’re not running on the same port, but as long as they aren’t, you can.
For that, you can use something such as pm2, to easily manage applications. Check out the How To Set Up a Node.js Application for Production on Ubuntu 16.04 to learn how to use pm2 to manage your applications.
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.