Report this

What is the reason for this report?

How much RAM/CPU will this need?

Posted on January 26, 2017

I’m going to run the following software on an Ubuntu droplet:

  • PostgreSQL
  • An ASP.NET Core Server app
  • A Discourse Server (has it’s own PostgreSQL)

I will be running these each in Docker containers behind NGINX. How much RAM/CPU will I need? Assume the server will get an average amount of steady traffic (nothing too big/small).



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.

Just pick one that seems right and monitor your droplet to determine whether you need more or less.

@qudware

Since it looks like you’ll be running two instances of PostgreSQL and ASP.NET, I would recommend at least a 2GB Droplet to start with, though you may want to consider the 4GB Droplet to give you a little room to breath. Docker, on its own, doesn’t require a ton of resources, though when you’re running a number of containers, it can begin to add up.

Database Servers, such as PostgreSQL, MySQL/MariaDB, Percona and similar tend to need more a little more RAM, so having the extra room will be beneficial.

Hello there,

Choosing the right Droplet plan depends on your workload. An oversized Droplet would underuse its resources and cost more, but an undersized Droplet running at full CPU or memory would suffer from degraded performance or errors.

To help you pick the best Droplet plan for your use case, this article explains the differences between shared and dedicated CPUs, goes into detail on each Droplet plan, and concludes with how to make a data-driven decision.

You can also resize a Droplet to a larger plan after creation, including resizing to a larger Droplet plan of a different kind. For example, you can resize from a Basic Droplet plan to a larger CPU-Optimized Droplet plan. See the Droplet pricing page for a full list of plans and prices.

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.