Product docs and API reference are now on Akamai TechDocs.
Search product docs.
Search for “” in product docs.
Search API reference.
Search for “” in API reference.
Search Results
 results matching 
 results
No Results
Filters
Add tags
Add authors
Guides - Linode CLI Commands for NodeBalancers
Access the entire Linode platform from the command line, easily adding, removing, or modifying services.
Create a Linode account
to try this guide with a $ credit.
This credit will be applied to any valid services used during your first
days.
Create a new NodeBalancer:
linode-cli nodebalancers create --region us-east --label new-balancer
Create a configuration for a NodeBalancer:
linode-cli nodebalancers config-create $nodebalancer_id
Attach a Node to a NodeBalancer:
linode-cli nodebalancers node-create --address 192.200.12.34:80 --label node-1
To delete a node, you will need the ID of the NodeBalancer, configuration, and node:
linode-cli nodebalancers node-delete $nodebalancer_id $config_id $node_id
Other actions are available. Use linode-cli nodebalancers --help
for a complete list.
This page was originally published on