CloudBit CLI allows you to interact with the CloudBit API via the command line. It supports most functionality found in the control panel. You can create, configure, and destroy Flow resources like Instances, Security Groups, Networks and more. We will add Object Storage support soon.
Installation
The CLI is written in Go and the source code is public available: https://github.com/flowswiss/cli
If you have GoLang installed, you can download and install the CLI with
go get github.com/flowswiss/cli/cmd/flow
otherwise, you will need to download the Go executable for your system.
Usage
After downloading you first of all need to authenticate the cli with your username and password. Warning: those credentials will be stored in $HOME/.flow/credentials.json
alternatively you can also pass --username USERNAME and --password PASSWORD to every other command or set the environment variables FLOW_USERNAME and FLOW_PASSWORD to avoid the credentials getting stored in your home directory.
Once you have successfully logged in into your account, you can start manipulating things in your organization. As a first step it would be a good idea to upload your personal ssh key onto our platform. You will need this for every linux virtual machine you deploy.