Code Monkey home page Code Monkey logo

ec2search's Introduction

EC2Search

CLI tool to help you search EC2 instances with AWS CLI.

Do not have to keep framing the commands with AWSCLI everytime

just type

ec2search <searchstring>

If you want to search the server in specific AWS CLI named profiles,

ec2search <searchstring> <profilename>

Thats all. Give it a try.

A Handy tool for AWS Cloud Engineers, SREs, DevOps Engineers.

alt text

Caveats

  1. You need to have the AWS CLI installed.
  2. Have the aws cli configured aws configure
  3. try some simple commands like aws ec2 describe-instances to verify that you have necassary permissions to list the instances.
  4. If you have the named profiles you can pass it as an option to search for the instance using specific profile ( otherwise default would be taken)
  5. EC2 Search uses the aws cli tool, its just a wrapper, EC2 Search does not directly connect to AWS or use your security credentials anyway.
  6. Search String and AWS CLI profile name is Case sensitive
  7. AWS CLI must be in your path. In other words you should be able to invoke aws command from your terminal with no path prefix or export

How to use it.

Download the right binary or download the source code or build it by running the following commands


git clone https://github.com/AKSarav/EC2Search.git

# If you want to use the default profile 
go run . <SEARCH_STRING>

# If you have multiple named profiles
go run . <SEARCH_STRING> <AWS CLI PROFILE>

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.