Scale the API Behind the Gateway

Three replicas behind Nginx. One problem announces itself with an error; the other is silent and is the one that matters.

Project labintermediate~40 minFree

What you'll do

  • ✓Remove the fixed host port that blocks scaling
  • ✓Configure a gateway that re-resolves its upstream
  • ✓Prove traffic reaches more than one replica
  • ✓State what Compose scaling cannot do

Lab outline

  1. 01Replicas
  2. 02Gateway
  3. 03Distribution

Before you start

  • Compose the Service Stack

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Docker labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

Scale the API Behind the Gateway — Docker lab | Kube Labs