Skip to main content

Command line tools for managing RedBridge Cloud

Project description

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.

The tools are in a early beta stage so please report any bugs to support@redbridge.se or as issues on github

Getting started

  1. Register for an account on RedBridge Portal

  2. Get your access key and secret key from your account page in the portal.

  3. 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
  4. Install rbc-tools using pip (or easy_install)

  5. 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

Examples

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

Development of rbc-tools takes place on github (https://github.com/redbridge/rbc-tools).

History

0.1.6 (2014-07-31)

  • First pypi release

0.1.0 (2014-07-31)

  • Initial release.

Credits

“rbc-tools” is written and maintained by RedBridge AB.

Contributors

Please add yourself here alphabetically when you submit your first pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rbc-tools-0.1.16.tar.gz (15.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page