Giter Club home page Giter Club logo

cloudelephant's Introduction

Build Status

Cloud Elephant

Dedicated to Terry A. Davis. The smartest programmer that's ever lived.

Cloud Elephant

Cloud Elephant is a tool providing a simple CLI interface for finding idle and unused resources in public clouds (AWS, Azure).

Supports:

Is it any good?

Yes.

Installation

MacOS

Use homebrew:

$ brew tap aint/cloudelephant-tap
$ brew install cloudelephant

Build from sources

If you want the latest version, the recommended installation option is to use go get:

$ go get -u github.com/aint/CloudElephant

and add an alias:

$ alias ce=CloudElephant

Download from the Releases page

Download a binary from the GitHub Releases tab.

Configuration

In order to use Azure, you need to set the following environment variables:

  • AZURE_SUBSCRIPTION_ID
  • AZURE_TENANT_ID
  • AZURE_CLIENT_ID
  • AZURE_CLIENT_SECRET

Usage

$ ce [unused|idle] [elb|elbv2|eip|ami|ebs|azlb]

AWS ELB

Find classic ELB with no associated back-end instances.

$ ce unused elb

Find ELBv2 (Application, Network, Gateway) which associated target groups has no EC2 target instance registered.

$ ce unused elbv2

AWS EBS

Find available (unattached) EBS and EBS that are attached to stopped EC2 instances.

$ ce unused ebs

AWS AMI

Find unused Amazon Machine Images (no instances are running from AMI).

$ ce unused ami

AWS EIP

Find Elastic IP Addresses that is not associated with a running EC2 instance or an Elastic Network Interface.

$ ce unused eip

Azure Load Balancer

Find Load Balancers which don't have any associated backend pool instances.

$ ce unused azlb

cloudelephant's People

Contributors

aint avatar

Stargazers

 avatar

Watchers

 avatar  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.