create
Create a Network Load Balancer
Usage
ionosctl compute networkloadbalancer create [flags]Aliases
For networkloadbalancer command:
[nlb]For create command:
[c]Description
Use this command to create a Network Load Balancer (NLB) in a Virtual Data Center. An NLB is a layer-4 (TCP) load balancer that bridges a listener LAN (where clients connect) and a target LAN (the private network of the backend VMs it balances).
After creation the NLB has no forwarding rules yet - it will not forward any traffic until you add at least one rule with nlb rule create and attach targets with nlb rule target add.
Networking flags: --listener-lan: LAN clients connect through (inbound). Defaults to 2. --target-lan: private LAN of the balanced backend VMs (outbound). Defaults to 1. --ips: the NLB's own IP addresses on the listener LAN. For a PUBLIC NLB these must be customer-reserved public IPs; for a PRIVATE NLB they are private IPs. These are also the IPs a forwarding rule listens on. --private-ips: the NLB's private IPs (with subnet mask, e.g. 10.0.0.5/24) on the target LAN, used to reach the backends. If omitted, the system assigns one with a /24 mask.
Use --wait (-w) to wait for the resource to reach AVAILABLE state.
Required values to run command:
Data Center Id
Options
Examples
Last updated
