Outline: (1) why one gateway is a bottleneck; (2) forward × reverse proxy; (3) L4 × L7, algorithms; (4) nginx.conf; (5) compose: nginx + gateway replicas; (6) run, verify, scale at runtime.
Ask first. The load balancer is what makes "several identical instances" look like one service.
The Run page has the commands (docker stop store-gateway-2, the loop, docker compose logs lb) and the step-by-step diagram.
The simulator sits on the overview (opening on Run) and in "When a replica stops" on the Run page.