Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aksarav/ec2search

CLI tool to help you search EC2 instances with AWS CLI
https://github.com/aksarav/ec2search

Last synced: 28 days ago
JSON representation

CLI tool to help you search EC2 instances with AWS CLI

Awesome Lists containing this project

README

        

# 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 `

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

`ec2search `

Thats all. Give it a try.

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

![alt text](https://github.com/AKSarav/EC2Search/blob/master/screenshots/Screenshot%202022-07-11%20at%203.31.23%20AM.png?raw=true)

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

# If you have multiple named profiles
go run .

```