Scalable App Server Setup with Press Console + ALB + ASG

Hey everyone :wave:

We’re self-hosting Frappe Cloud using Press Console and looking to scale the App Server layer using AWS Auto Scaling Groups + ALB.

Current challenge:
Press Console allows specifying a single public/private IP for each App server. But in a scalable setup:

  • We have multiple App servers behind an ALB
  • Each instance gets its own private IP
  • Press expects one private IP, so we’re unsure how to handle internal communication with DB, Proxy, etc.

We’re considering adding a reverse proxy (NGINX) EC2 in front of ALB with a static Elastic IP, then passing that as the App Server in Press.

Questions:

  1. Has anyone successfully done horizontal scaling with Press Console?
  2. Is there a native or recommended way to support multiple App servers behind an ALB?
  3. Any gotchas with how Press expects the App server’s private IP?

Open to suggestions or best practices! :raised_hands:
Thanks in advance