attach
Attach a NIC to a Load Balancer
Usage
ionosctl compute loadbalancer nic attach [flags]Aliases
For loadbalancer command:
[lb]For nic command:
[n]For attach command:
[a]Description
Use this command to add a server NIC to a Load Balancer's backend pool. The NIC's server then receives a share of the traffic the balancer distributes.
On attach, the NIC inherits the Load Balancer's public IPv4 address (the balanced, public-facing IP that all backends share). A NIC can be attached to only one Load Balancer at a time; the NIC and Load Balancer must live in the same Data Center.
The NIC is identified by --datacenter-id and --nic-id. --server-id is optional and used only to narrow shell completion of --nic-id to a single server.
Use --wait (-w) to wait for the NIC to reach AVAILABLE state before returning.
Required values to run command:
Data Center Id
Load Balancer Id
NIC Id
Options
Examples
Last updated
