Public edge #178

Open
opened 2026-11-27 16:44:28 -05:00 by bobby · 0 comments
Owner

Part of #73 (spec: #72)

What to build

The CCM NodeBalancer (TCP, Proxy Protocol v2, throttle: 20, firewall 443 only) fronts Envoy Gateway (2 replicas, PDB), which enforces TLS 1.3, h2/http1.1, 16 KiB headers, ~50 connections and ~20 req/s (burst 100) per IP, 30 s/60 s timeouts, 1 MiB bodies, and HSTS. One HTTPRoute goes to :8000. uvicorn trusts X-Forwarded-For only from the Gateway range.

Acceptance criteria

  • https://hapi.bobbypalko.com/v1/health works with a health Token
  • :8081 isn't reachable publicly
  • The limits are verified by test requests
  • Logs show the real client IP
Part of #73 (spec: #72) ## What to build The CCM NodeBalancer (TCP, Proxy Protocol v2, `throttle: 20`, firewall 443 only) fronts Envoy Gateway (2 replicas, PDB), which enforces TLS 1.3, h2/http1.1, 16 KiB headers, ~50 connections and ~20 req/s (burst 100) per IP, 30 s/60 s timeouts, 1 MiB bodies, and HSTS. One HTTPRoute goes to `:8000`. uvicorn trusts `X-Forwarded-For` only from the Gateway range. ## Acceptance criteria - [ ] `https://hapi.bobbypalko.com/v1/health` works with a health Token - [ ] `:8081` isn't reachable publicly - [ ] The limits are verified by test requests - [ ] Logs show the real client IP
bobby added the ready-for-human label 2026-11-27 16:44:28 -05:00
bobby added a new dependency 2026-11-27 16:44:29 -05:00
bobby added a new dependency 2026-11-27 16:44:29 -05:00
bobby added a new dependency 2026-11-27 16:44:34 -05:00
bobby added a new dependency 2026-11-27 16:44:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#178