Hetzner Cloud icon

Hetzner Cloud

Manage servers, volumes, networks and more in Hetzner Cloud

Load Balancer → Create

AI-generated

Summary

Create a Hetzner Cloud load balancer by sending its name, type, location or network zone, algorithm, and any extra JSON fields in a POST request. The operation returns the API response body for the created load balancer.

Inputs

  • Name (required) — Unique name for the load balancer.
  • Load Balancer Type (required) — Type name or ID; defaults to lb11.
  • Location — Location name. Provide this or Network Zone.
  • Network Zone — Network zone. Provide this or Location.
  • Algorithm — Traffic distribution algorithm: Least Connections or Round Robin; defaults to Round Robin.
  • Additional Body Fields (JSON) — Extra request body properties as JSON; defaults to {}.
  • Request Options — Optional batching, SSL certificate validation, proxy, and request timeout settings.

Output shape

A single load balancer record in the API response body.

The request creates the load balancer via POST /v1/load_balancers. The response is not unwrapped to a nested property by this operation.

Links

Discussion