# Minimum requirements to set up a highly available PostgreSQL cluster with Patroni

**URL:** <https://forums.percona.com/t/minimum-requirements-to-set-up-a-highly-available-postgresql-cluster-with-patroni/30212>\
**Category:** Percona Distribution for PostgreSQL\
**Created:** [May 10, 2024, 7:03am UTC](https://forums.percona.com/t/minimum-requirements-to-set-up-a-highly-available-postgresql-cluster-with-patroni/30212 "2024-05-10T07:03:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paolo.varalta](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/paolo.varalta/32/16377_2.png) [@paolo.varalta](https://forums.percona.com/u/paolo.varalta)\
**Post date:** [May 10, 2024, 7:03am UTC](https://forums.percona.com/t/minimum-requirements-to-set-up-a-highly-available-postgresql-cluster-with-patroni/30212/1 "2024-05-10T07:03:26Z")

</div>

Hi

I would like to know the minimum requirements to set up a highly available PostgreSQL cluster with Patroni on Debian virtual machines. I already have an HAproxy load balancer on top of the infrastructure. Where can I find the minimum requirements for each of the three VMs of the PostgreSQL cluster, in terms of CPU, RAM and HD?

Thanks in advance  
Kind regards  
Paolo

---

<div class="post-metadata">

**Author:** ![mateusz.henicz](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mateusz.henicz/32/6935_2.png) [@mateusz.henicz](https://forums.percona.com/u/mateusz.henicz)\
**Post date:** [May 13, 2024, 11:46am UTC](https://forums.percona.com/t/minimum-requirements-to-set-up-a-highly-available-postgresql-cluster-with-patroni/30212/2 "2024-05-13T11:46:04Z")

</div>

Hey Paolo,  
Welcome to Percona Community Forum!

Hardware requirements always depend on what kind of application will connect to your cluster.  
But the recommended minimum would be 4CPU, 8GB RAM and 30GB disk space. Depending on how much data you will keep in your database, you could use even lower disk space, but I would stick to 4CPU and 8GB of RAM minimum.

Hope it helps! If you have any other questions, do not hesitate to reach out!

Cheers,  
Mateusz
