Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.36 KB

README.md

File metadata and controls

30 lines (18 loc) · 1.36 KB

Aw2

build workflow Code scan workflow

This is a command-line tool for finding EC2 instances in your AWS account.

How to Use

Download from the release tab, follow those instructions and start using it!

  • When aw2 is used without an argument, it will print every ec2 instance on your aws account.
  • When aw2 is used with an argument, it will filter for what you've supplied. (IP adress or ec2 name i.e)

How It Works

This tool uses the AWS SDK for Go to interact with the EC2 API. When you run the aw2 command, it makes a DescribeInstances API call with optional filters based on the command-line arguments. It then parses the response to extract details for each instance, such as its public and private IP addresses, instance type, and status. Finally, it prints the instance details in a pretty table using the tablewriter package.

Contributers

License

This project is licensed under the MIT License. See the LICENSE file for details.