Sign inSign up

cloudresty/cloudcli

By cloudresty

•Updated almost 3 years ago

CloudCLI is a Debian-based image from Cloudresty packed with CLI tools for AWS, GCP, Azure and ALC.

Image
0

754

cloudresty/cloudcli repository overview

⁠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:

 

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

Tag summary

Content type

Image

Digest

sha256:8b2a4a41e…

Size

596.8 MB

Last updated

almost 3 years ago

docker pull cloudresty/cloudcli