IONOS Cloud Load Balancing icon

IONOS Cloud Load Balancing

Manage IONOS Cloud Load Balancers (Classic, Network, Application, Target Groups). Developped with Love by Ascenzia (ascenzia.fr)

Actions28

Network Load Balancer → Create

AI-generated

Summary

Creates a network load balancer in the specified IONOS datacenter.

Inputs

  • datacenterId (required) — The unique ID of the datacenter where the load balancer will be created.
  • name (required) — The name of the network load balancer.
  • listenerLan (required) — The LAN ID that will act as the listener for the load balancer.
  • targetLan (required) — The LAN ID for the target servers/endpoints.
  • ips (required) — Comma-separated list of IP addresses to associate with the load balancer.
  • additionalFields.lbPrivateIps — Comma-separated list of private IPs to assign to the load balancer (optional).

Output shape

The IONOS API returns the created network load balancer resource object, including its assigned ID, name, IPs, and configuration details.

The node sends a POST request to /datacenters/{datacenterId}/networkloadbalancers with a JSON body containing the provided parameters. Private IPs, if specified, are parsed and included in the request body.

Examples

Example 1: Basic creation with required fields only.

datacenterId: 'dc123', name: 'my-lb', listenerLan: 'lan456', targetLan: 'lan789', ips: '1.2.3.4,5.6.7.8'

Example 2: Creation with private IPs.

Same as above, plus additionalFields.lbPrivateIps: '10.0.0.1,10.0.0.2'

Links

Discussion