GithubHelp home page GithubHelp logo

cloudatcost-cli's Introduction

cloudatcost-cli

a node-based command-line interface for your Cloud@Cost cloud

Install

sudo npm install -g cloudatcost-cli

Usage

Provide your credentials in ~/.cloudatcost:

{
    "key": "<api key>",
    "email": "[email protected]"
}

Run this anywhere:

cloudatcost [<command>...]

Commands are specified fluently, options passed typical unix-style.

Commands

list

cloudatcost list <resource>

servers

your current servers

Example output:

Servers:

botnet (c11235-cloudpro-81321)
123.456.789.10
OS: Docker Ubuntu-14.04.1-LTS
2 CPUs: 33% in use
RAM: 298/1024 GBs in use
Storage: 9/20 GBs in use
Status: Powered On

tasks (offline)

pending tasks

Example output:

Action: Delete 5
Status: pending
Duration: 10 ms

templates

available disk images

Example output:

Templates:

1: CentOS 6.7 64bit                     	3: Debian-8-64bit                       	9: Windows 7 64bit
24: Windows 2008 R2 64bit               	25: Windows 2012 R2 64bit               	26: CentOS-7-64bit
27: Ubuntu-14.04.1-LTS-64bit            	28: Minecraft-CentOS-7-64bit            	74: FreeBSD-10-1-64bit
75: Docker-64bit

pro

CloudPRO tools

cloudatcost pro <command>

build

Provisions an instance

Options:

  • cpu: # of cores default: 1
  • ram: gb of memory default: 1024
  • storage: gb of disk space default: 10
  • os: disk image id default: 27 (Ubuntu-14.04.1-LTS-64bit)

delete

Deletes an instance

Options: sid: server id

resources

Shows resource availability

Example output:

CloudPRO Resource Usage

CPU: 12/49 vCPUs
RAM: 9728/25202 MBs
Storage: 150/490 GBs

cloudatcost-cli's People

Contributors

edobry avatar lguzzon avatar snyk-bot avatar

Watchers

 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.