Yes, this tech stack could be set up on a single $5/mo Droplet. However the size of the server would depend on the complexity of the app, the amount of traffic and the resources that the app needs.
What I usually suggest is:
- Setup a small Droplet
- Configure it by installing all of the necessary services
- Then deploy your app
- Finally, run some load tests as per this tutorial here:
That way you will be able to tell how much traffic your app can handle with the resources that you’ve selected.
If you see any bottlenecks like CPU or RAM, then you could upgrade the Droplet accordingly. This way you would know how much traffic you can handle and be ready for production.
In case that you need this, there are a lot of resources on the DigitalOcean community site that would help you with the installation and configuration of the Droplet. For example:
- Here is how to set up Node.js for production on an Ubuntu server:
- Here is also a quick video on how to do that too:
Hope that this helps.
In this article, we'll talk about the server side of web performance optimization: how fast can your server respond to your user's requests? We'll review the general landscape of load testing, step through a plan to find your server's maximum practical response rate, and discuss some options for open source load testing software.