Hello, we are starting a project with nodejs in the backend, with a postgresql database and react + nextjs in the front. We would like to know what services we would need from digital ocean. We are going to need a production environment and a preproduction environment. What could be the monthly cost?
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!
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.
Hi @tonymorella,
There a couple of ways you can go about this. You can either use a Droplet/s or DigitalOcean’s App Platform.
The Droplet/s you will have to manage yourself. This means, install everything you’ll need to run your environment. The good thing is it’s highly customizable and there are no limits since you’ll be managing everything. You can have one Droplet for backend and fronted or you can have multiple ones.
Alternatively, you can use a Droplet for frontend and for backend use DigitalOcean’s Managed Database products:
https://docs.digitalocean.com/products/databases/
DigitalOcean’s Managed Databases are a fully managed, high performance database cluster service. Using managed databases is a powerful alternative to installing, configuring, maintaining, and securing databases by hand.
Clusters include daily backups with point-in-time recovery (PITR), standby nodes for high availability, and end-to-end SSL encryption. Managed databases are multi-region and scalable, and their automated failover means even single-node plans add resiliency to your infrastructure. When you create a new managed database cluster, the cluster is placed in a VPC network by default.
The other solution I said is the App Platform. You can use that instead of a Droplet for frontend and you’ll need to use the Managed Database product:
https://docs.digitalocean.com/products/app-platform/
As for price, you can use the calculator here:
https://www.digitalocean.com/pricing/calculator
Hi there,
I could suggest using the following pricing calculator where you could add the services that you would need and get the monthly cost for them:
https://www.digitalocean.com/pricing/calculator
For a Node.js application, you could either go with a Droplet:
https://www.digitalocean.com/pricing/droplets
Or you could use the App Platform would allow you to only focus on your app itself rather than server management and maintenance:
https://www.digitalocean.com/pricing/app-platform
For more information on the difference between the two, I would recommend this page here:
https://www.digitalocean.com/solutions/nodejs-hosting
Hope that this helps!
Best,
Bobby