Skip to content

cloudresty/cloudcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudCLI

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.

 

CLI Tools Included

The following tools are included in CloudCLI:

 

Version

Latest version: v1.0.0
Release version: v1.0.0-2023-11-29
Docker image: cloudresty/cloudcli:v1.0.0 or cloudresty/cloudcli:latest

 

CloudCLI Usage

Docker Usage

A few examples of how to use CloudCLI as a Docker container.

 

Docker container

docker run \
    --interactive \
    --tty \
    --rm \
    --name cloudcli \
    --hostname cloudcli \
    cloudresty/cloudcli:latest zsh

 

Docker container with mounted credentials

docker run \
    --interactive \
    --tty \
    --rm \
    --name cloudcli \
    --hostname cloudcli \
    --volume ~/.aws:/root/.aws \
    cloudresty/cloudcli:latest zsh

 

Kubernetes Usage

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.

 

Kubernetes Pod Usage with Service Account

#
# 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

About

CloudCLI is a lightweight Docker image containing CLI tools from various cloud providers such as AWS, GCP, Azure and Alibaba Cloud.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published