Command line tools for managing RedBridge Cloud
rbc-tools are command line tools for managing RedBridge Cloud.
Using rbc-tools you can manage instances, networks and othe compute resources in RBC.
The tools are tested on MacOS X and Linux only at the moment, but should also work on Windows in a cygwin environment.
Register for an account on RedBridge Portal
Get your access key and secret key from your account page in the portal.
Create a ~/.rbc/rbc.cfg file (in a terminal):
mkdir -p ~/.rbc cat > ~/.rbc/rbc.cfg <<EOF [main] apikey = <your api key as found in the Portal> secretkey = <your secret key as found in the Portal> endpoint = api.rbcloud.net EOF
Install rbc-tools using pip (or easy_install)
Now you should have access to a number of command line scripts, prefixed with rbc-*
Note that you can also set api key and secret key by using environment variables:
export RBC_APIKEY=XXXXX; export RBC_SECRETKEY=XXXX
Create a ssh key pair:
rbc-sshkeys generate my-keypair > ~/.ssh/my-keypair_id_rsa
To deploy 3 small instances in the RedBridge Cloud, using a ssh key:
rbc-instances deploy -i 3 -g test -t rbc/ubuntu-14.04-server-cloudimg-amd64-20GB-201461111 -o small -w default -s my-keypair my-instances
Development of rbc-tools takes place on github (https://github.com/redbridge/rbc-tools).
- Fix broken network list when using VPC’s
- First pypi release
- Initial release.
“rbc-tools” is written and maintained by RedBridge AB.
Please add yourself here alphabetically when you submit your first pull request.