Replies: 3 comments 14 replies
-
Hello @DZsolt01 A minimum of 3 servers is required to ensure high availability. This requirement primarily applies to DCS (etcd), why this is so can be viewed here The database cluster itself can consist of at least 2 nodes. In your case, you could (in order to save costs - to start) deploy etcd cluster on database servers (2 nodes) + 1 small VM for the third node of the DCS cluster. or even install 1 etcd on the application server. But I recommend thinking about dedicated VMs for the etcd cluster for production. |
Beta Was this translation helpful? Give feedback.
-
also, your diagram shows the HAProxy node, but since there is only one, this is a bottleneck. Consider installing it on database servers, or (better) use a Hetzner load balancer. I'm currently working on a cloud integration PR (#464) and here's how you can deploy a cluster of 3 nodes + Hetzner load balancer with one command:
Note: Install PgBouncer pooler (pgbouncer_install=true) if you need it for your project, or start without it and you can add it later. Example: #464 (comment) |
Beta Was this translation helpful? Give feedback.
-
hmm, please take a look at this issue #589 You may wish to participate in this project. |
Beta Was this translation helpful? Give feedback.
-
Hello,
What will be the bare minimum number of nodes to start with?
Nodes in this case means VPS.
The basic idea would be to make a budget start.
Use case: (Hetzner VPS provider)
I will attach an image which represent the current idea..
I am a web developer and want to manage my clients application and I come up with a small infrastructure which I think it should be enough for my 1-2 clients. (Mostly the applications are Node.js based, Next.js-frontend, Nest.js - backend)
My question would be it is a possibility for this arhitecture to work?
Later on I would like to add more to every part of it. Just for the start I want to keep it small.
Beta Was this translation helpful? Give feedback.
All reactions