capabilities.work

Rotate Load Balancer

A 3-step recipe with Cloudflare. We can help you get access.

Recipe · 3 steps

Rotate Load Balancer

Create, update, and delete a load balancer in a single lifecycle.

  1. Create the load balancer with its initial pool configuration.
  2. Update the load balancer to use the replacement default pools.
  3. Delete the load balancer now that the update is complete.
What you'll need to have ready
  • zoneId: The unique identifier of the zone.
  • name: The DNS hostname the load balancer answers for.
  • defaultPools: Ordered list of pool ids used as the initial default pools.
  • fallbackPool: The pool id used when all other pools are unhealthy.
  • newDefaultPools: The replacement ordered list of default pool ids.
For your developer

Arazzo workflow cloudflare:rotate-load-balancer, 3 operations: load-balancers-create-load-balancer → load-balancers-update-load-balancer → load-balancers-delete-load-balancer. Specs on APIs.io.