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,
![image](https://private-user-images.githubusercontent.com/79136090/328127358-743e7221-dcaa-4687-828a-5303c0d80501.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0NjI1MTEsIm5iZiI6MTcyNDQ2MjIxMSwicGF0aCI6Ii83OTEzNjA5MC8zMjgxMjczNTgtNzQzZTcyMjEtZGNhYS00Njg3LTgyOGEtNTMwM2MwZDgwNTAxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDAxMTY1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU5ZjM0OGM0M2Y4ODQ1NzdlY2E4YTk3ZGZhZWQyYWFlZWQ5ZjI2YzRhNTEzMjg2ZjcwMDhjMWM3YTMyZjFlODkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.C4z_TXujPov78os6OioxU71iPiQQnv89pHnb9shILYQ)
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