Ubuntu 20.04 server on smallest droplet?

Posted May 3, 2020 1.9k views

Is it feasible to run Ubuntu 20.05 LTS on the smallest (1GB ram) droplet?

Currently running one with 18.04 on the smallest, I’d like to create a new one and migrate things over from the old.

I think the heaviest thing I’m running is postgres under Ghost blog engine (which I’ll have to migrate over to mysql). Couple of static websites, openvpn server.

I’d like to make use docker more in a new droplet, hosting most/all of the above.

Can I stick to Ubuntu, will I need something slimmer? Don’t want to step up in tiers.

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
1 answer

Hi there @romeozor,

As far as I can see Ubuntu 20.04 requires 512 MB RAM (system memory) and 1 vCPU so the smallest Droplet should be sufficient for your needs.

I would recommend adding a 1GB SWAP partition as well just so that you have some buffer:

As you deploy more and more service and Docker containers, the RAM consumption would go up, so I would recommend keeping a close eye on your resources’ utilization and upgrade your Droplet in case you notice a trend.

Hope that this helps!

by Brian Boucheron
One of the easiest way of guarding against out-of-memory errors in applications is to add some swap space to your server. In this guide, we will cover how to add a swap file to an Ubuntu 18.04 server.