Giter Site home page Giter Site logo

cloudlens's Introduction

Cloudlens

Cloudlens - k9s like CLI for AWS.

AWS Console in your terminal! well, almost. Explore AWS services like EC2, S3, IAM, VPC, etc. from your terminal. If you like k9s for Kubernetes, you'll love cloudlens.

Installation

  • Via Homebrew for macOS or Linux

    brew install one2nc/cloudlens/cloudlens
  • Using go install cloudlens requires go1.19 to install successfully. Run the following command to install the latest version -

        go install -v github.com/one2nc/cloudlens@latest
  • Building from source code Cloudlens is currently in active development. We use Go 1.19. Follow these steps to build cloudlens locally:

     1. Clone the repo
     2. Build and run the executable
    

    To Run:

    make run

Prerequisite

  1. Docker installed on your local. Refer this documentation
  2. If you want to use localstack for populating dummy data, use our repo cloud-lens-populator

Usage

For the simple usage, just run the command without any options.

cloudlens

For knowing all the options available, use:

cloudlens help

Self Update

For updating to latest version, use:

cloudlens update

Using Localstack

  • Configure localstack server.
  • Use our repo cloud-lens-populator to setup and populate dummy data.
  • To run cloudlens with localstack use aws sub-command with -l or --localstack flag
  • By default cloudlens use port 4566. Use --port flag to pass different port
cloudlens aws --localstack --port 4000

Features

Cloudlens supports viewing EC2 instances, S3 buckets, EBS volumes, VPCs, SQS queues, Lambda functions, Subnets, Security Groups, and IAM roles. Read the cloudlens documentation to know more.

Screenshots

  1. EC2

  2. EC2 Details

  3. S3

  4. S3 Details

Documentation

Please refer to our cloudlens documentation to know more.

Key Bindings

Cloudlens uses k9s like shortcuts for navigation. Listed below are few of the shortcuts:

Action Command
Show active keyboard mnemonics and help ?
To bail out of cloudlens :q , ctrl-c
Bails out of view/command/filter mode esc
To view and switch to another AWS Service :S3/EC2/VPC⏎

Note

Cloudlens reads your ~/.aws/config file, but it does not store or send your access and secret key anywhere. The access and secret key is used only to securely connect to AWS API via AWS SDK.

Since cloudlens is in readonly mode, we recommend you create an access and secret key that only has readonly permissions to the AWS services.

Acknowledgements

We would like to express our sincere appreciation to K9s as it has been a invaluable source of reference for this project.

All materials licensed under Apache v2.0

We appreciate localstack's assistance with the development

localstack

cloudlens's People

Contributors

aanamshaikh avatar abrar-ahmed7 avatar chinmay185 avatar chinmaysomani07 avatar flavioelawi avatar jdk2588 avatar kalpeshdeo avatar pratikjethe avatar ramanareddy0m avatar shubhamrasal 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.