Starting with Digital Ocean (Infrastructure and Price)

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?

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.

Site Moderator
Site Moderator badge
January 3, 2023

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:

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:

As for price, you can use the calculator here:

Bobby Iliev
Site Moderator
Site Moderator badge
January 3, 2023

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:

For a Node.js application, you could either go with a Droplet:

Or you could use the App Platform would allow you to only focus on your app itself rather than server management and maintenance:

For more information on the difference between the two, I would recommend this page here:

Hope that this helps!



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up