Linode CLI (Developer Release #13)The Linode CLI is the command line tool for interacting with your Linode services.
This is our 13th early developer release of our command line tool. We're working toward a tool that will eventually allow you to interact with all Linode services.
Please help us make Linode CLI even more awesome by sending us your feedback and ideas. It is our goal to shape the tool to meet your needs.
What's New in This Release?- NodeBalancer support (create, rename, throttle, list, show, and delete).
- NodeBalancer port/config support (config-create, config-update, config-delete, config-list, config-show).
- NodeBalancer node support (node-create, node-update, node-delete, node-list, node-show).
- More robust configuration helper
- SSH key support when creating a Linode
- Support listing IP addresses on Linodes
- Fix a bug with listing multiple objects
Repository:
https://github.com/linode/cliNew ExamplesCreate a NodeBalancer in your datacenter of choice.
Code:
$ linode nodebalancer create mynodebalancer dallas
Set the NodeBalancer up to handle traffic on a port (configuration).
Code:
$ linode nodebalancer config-create mynodebalancer 80
Create NodeBlanacer Nodes, balancing the incoming traffic between your Linodes.
Code:
$ linode nodebalancer node-create mynodebalancer 80 mylinode1 xx.xx.xx.1:80
$ linode nodebalancer node-create mynodebalancer 80 mylinode2 xx.xx.xx.2:80
$ linode nodebalancer node-create mynodebalancer 80 mylinode3 xx.xx.xx.3:80
Displaying NodeBalancers.
Code:
$ linode nodebalancer list
Displaying the Nodes, which will list the Linodes handing traffic on the port requested.
Code:
$ linode nodebalancer node-list mynodebalancer 80
How to Get the SourceLinode CLI is hosted on GitHub and is open source, dual-licensed under the GPLv2 and the Perl Artistic License. This is a developer release, so for now, depending on your system, you may need to install dependencies manually as described in the README.
https://github.com/linode/cli <-- download options on the right-hand side
Enjoy!
-Linode