Coder Social home page Coder Social logo

cloudresty / cloudcli Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 26 KB

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

Home Page: https://cloudresty.com

License: MIT License

Shell 93.84% Dockerfile 3.44% Makefile 2.72%
aliyun aws-cli az gcloud gsutil

cloudcli's Introduction

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

cloudcli's People

Contributors

sebandgo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.