Your first ngrok endpoint is live, awesome! The next step many teams hit is scale: how to keep traffic flowing if one endpoint slows or restarts. ngrok Endpoint Pools solves this problem.
Let’s make your app more resilient: use Endpoint Pools with traffic policies to balance requests between multiple replicas of your service using the following two ngrok http commands.
Create an endpoint pool with two of your ngrok endpoints. First, fire up one endpoint:
Traffic to https://myapp.ngrok.dev will now be load balanced between the two.
That's it. Truly.
When two or more endpoints share a URL, ngrok load-balances between them whether they're running on different machines, environments, networks, or even in different clouds.