Load Balancer

In App Platform, a load balancer is the part of your app's infrastructure that handles incoming requests. Load balancing is a built-in part of how App Platform works, meaning you don't need enable or configure it.

Load balancers have two primary functions:

  • Distributing incoming requests evenly across all containers that pass a health check and are tasked with providing capacity to your service. Distributing requests this way is what enables your service's high availability.

  • Routing incoming requests from the HTTP and HTTPS ports (80 and 443, respectively) to an internal port that App Platform calls the HTTP Port (8080 by default).

How to add capacity to your app in App Platform by scaling the number of containers.