This is a command-line tool for finding EC2 instances in your AWS account.
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)
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.
This project is licensed under the MIT License. See the LICENSE file for details.