Coder.comC
Coder.com3y ago
2 replies
JanL

Recommendations for HA Setup

I want to start moving our PoC deployment to a more production-ready setup now. I plan to have at least two coder instances running to allow rolling updates. What is the recommended way to set this up?

I see that I can deploy coder in Kubernetes, but I'm not 100% sure if this is the best way, as it adds quite a bit to the list of infra-dependencies and complexity. I'm currently tending more towards having two VMs with a separate loadbalancer in front of it.

- Would this be a sensible choice?
- Is the TF state synchronized via the postgres-db?
- What would you recommend as a loadbalancer? I would naturally choose HA-Proxy, but I see in your examples that you prefer Caddy.
- Will the DERP traffic also be loadbalanced or will this go to specific instances?
- Do I need special infrastructure in an Air-Gapped environment (like a STUN server)?

Thank you!
Was this page helpful?