CloudCLI is a Debian-based Docker image from Cloudresty that contains a collection of command-line tools for interacting with cloud providers such as AWS, Azure, GCP, and Alibaba Cloud. It can be used for various tasks such as managing cloud resources, inter-cloud migrations, and multi-cloud deployments.
The following tools are included in CloudCLI:
Latest version: v1.0.0
Release version: v1.0.0-2023-11-29
Docker image: cloudresty/cloudcli:v1.0.0
or cloudresty/cloudcli:latest
A few examples of how to use CloudCLI as a Docker container.
docker run \
--interactive \
--tty \
--rm \
--name cloudcli \
--hostname cloudcli \
cloudresty/cloudcli:latest zsh
docker run \
--interactive \
--tty \
--rm \
--name cloudcli \
--hostname cloudcli \
--volume ~/.aws:/root/.aws \
cloudresty/cloudcli:latest zsh
CloudCLI can be used as a shell pod within a Kubernetes cluster. The examples below show how to use CloudCLI as a Kubernetes pod assuming that the credentials are passed in as environment variables.
#
# CloudCLI Namespace
#
apiVersion: v1
kind: Namespace
metadata:
name: cloudresty-system
cloudcli run \
--namespace cloudresty-system \
cloudcli \
--stdin \
--tty \
--rm \
--restart Never \
--image cloudresty/cloudcli:latest \
--image-pull-policy IfNotPresent \
--command -- zsh
Copyright © Cloudresty