Usage
Query all running instances
To query all running instances (with a warning):
python main.py
Filter by IP range
To filter instances by IP range:
python main.py --ip-range 192.168.1. 10.0.0.
Filter by name
To filter instances by name:
python main.py --name apigee
Filter by both IP range and name
To filter instances by both IP range and name:
python main.py --ip-range 192.168.1. 10.0.0. --name apigee
Example Output
Instance ID: i-1234567890abcdef0
Instance Type: t2.micro
Private IP: 192.168.1.10
Instance Name: MyInstance
Region: us-west-2a
Subnet ID: subnet-12345678 - 192.168.1.0/24
VPC ID: vpc-12345678
Network Interfaces: eni-12345678
Attached Volume IDs: vol-12345678
Volume Details:
- Volume ID: vol-12345678, Size: 8 GiB, Type: gp2
================================================================================