acloud CLI.

Manage Avisi Cloud resources from your command line.

We have a strong focus on developer and operator experience. We develop our products with this in mind and make sure new features are available first in our API, second in our CLI Tooling.

acloud

You can use our acloud CLI tool to;

  • Manage cluster resources
  • Create new environments
  • Scale clusters up and down
  • Manage our observability tooling

Installation

MacOS

Install acloud:

brew install avisi-cloud/tools/acloud

Linux

Please use the brew method for installation. We will update this in the future to include different methods of installation for Linux.

Windows

We currently support no public installation methods for Windows. If you wish to use acloud on Windows, you will need to install WSL and use brew.

Are you interested in using this on Windows? Drop us a message at info@avisi.cloud.

Getting started

First log into acloud using your Avisi Cloud account;

acloud auth login --create-context

You can switch to your own organisation after login if needed;

acloud config use-organisation <your-org>

Now you are able to use acloud. List all clusters in your organistaion that you have access to;

acloud clusters get

Get the kubeconfig for your user for a specific cluster;

acloud kubeconfig get <cluster>

Examples

List all clusters in your organisation

❯ acloud clusters get
ID                                  	CLUSTER	ORGANISATION	ENVIRONMENT	REGION   	VERSION      	CPU	MEM
9b73bd65-cef6-4314-9bf8-84ccfff92487	test   	example      	test       	eu-west-1	v1.21.5-ame-1	2  	4G

Retrieve kubeconfig for cluster

❯ acloud kubeconfig install test
You will now be taken to your browser for authentication

export KUBECONFIG=/Users/yourusername/.kube/acloud_ame_example_test_9b73bd65

References