AlgoViz

Cloud load balancing

medium 25 min

A cloud load balancer is a load balancer you rent.

Where it shows up

The same pattern appears across everyday software.

  • A shop on AWS

    One application balancer, host rules for shop and admin, target groups for containers, AWS WAF in front, access logs in S3. Fits on one page of infrastructure code.

  • A game with UDP

    A network balancer: UDP, one static address per zone that players' firewalls can allow. No HTTP rules are needed, so layer 7 would add cost and nothing else.

  • A news site for the world

    The global application balancer on Google Cloud, with Cloud CDN. One anycast address, articles cached at the edge, backends in two regions.

  • An insurance company on Azure

    Front Door takes users to the right region and filters attacks. Application Gateway in each region routes paths and keeps its backends private.

  • Inspecting all traffic

    A bank sends traffic through a fleet of firewall machines. A gateway balancer spreads packets over them and drops the ones that fail, so the firewalls can be replaced one by one.

  • Internal services

    A balancer does not need to be public. Private ones inside the network give services one name, with the same checks and draining.