How much RAM/CPU will this need?

Posted January 26, 2017 7k views
Linux BasicsGetting StartedDigitalOceanApplicationsUbuntu 16.04Storage

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).

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.

Submit an Answer
2 answers

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


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.