-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specification/architecture for frontend cluster #36
Comments
|
Thanks for the feedback! I'll ask some further questions below:
I would prefer not to have a SPF on the load balancer. So if haproxy, we should run it in a HA setup.
Do you mean at the load balancer or at the frontend server?
Our current frontend is a low performance VM and has very little utilisation. However, within about a week we'll be integrated in the official IPFS GUI, so we should see some actual traffic soon. The index nodes have a highly variable load, typically between 30-70% (system load divided by no of CPU's).
Thinking about it now, perhaps that's premature optimisation. But let's keep this as an option for the future.
Reasonable usability is our objective. If our users max out the NVMe, we might want to call CloudFlare. ;)
This is the main question indeed. If we start out with several (e.g. 3) frontend servers configured exactly as our current frontend, I see several options: a. Round robin DNS (e.g. poor man's load balancing). Perhaps we could start with a. and move to b. as it becomes necessary? |
|
Thanks again for your thoughts on this. There's just one thing I'm not fully decided about yet: the SSL termination. Consideraitons around SSL terminationFrontend termination of SSLPro's
Con's
Hetzner LB terminationPro's
Con's
Tentative conclusionHaving read the above, I do think perhaps it makes sense to simply buy an old-school certificate and to continue working with that. I am currently investigating prices. Any further thoughts or feedback is welcome though. |
After some thinking and research, it does seem that ACME allows for multiple certificates for the same domain. We can then configure Hetzner's load balancer and, possibly later, a CDN for TCP-based, least-connections balancing with PROXY protocol. As for LetsEncrypt/ACME with CloudFlare using Ansible, I would suggest we keep using certbot, just set it up with Cloudflare plugin. |
I would suggest we start with a cluster of 3 frontend nodes. |
Thus far, we're serving all requests from a single
nginx
frontend node, running on a different provider.As we now have have experience with Hetzner Cloud and linking it to he bare metal, we are ready to setup an actual frontend cluster and/or load balancing.
This issue serves as a place to clarify the specifications, after which the frontend can be deployed.
Considerations / observations
Questions
The text was updated successfully, but these errors were encountered: