https://github.com/ldb/li
List Instances for AWS EC2
https://github.com/ldb/li
aws-ec2 cli ec2 golang
Last synced: 10 months ago
JSON representation
List Instances for AWS EC2
- Host: GitHub
- URL: https://github.com/ldb/li
- Owner: ldb
- License: mit
- Created: 2018-06-12T19:58:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-06T17:21:22.000Z (over 7 years ago)
- Last Synced: 2025-04-05T03:29:08.583Z (about 1 year ago)
- Topics: aws-ec2, cli, ec2, golang
- Language: Go
- Homepage:
- Size: 497 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# li
li - Like `ls` but for EC2 instances
## Usage
```
-d, --details show all information
-h, --help show help
-i, --id show instance-ID
-s, --status show instance status
-t, --type show instance type
-z, --zone show availability-zone
```
## Examples
IP Address only
```
~> li redis sentinel
Redis Sentinel 165.91.65.2
```
IP Address, instance status and availability-zone
```
~> li -sz redis sentinel
Redis Sentinel 165.91.65.2 running us-west-1a
```
Detailed Information
IP Address, instance status and availability-zone
```
~> li -d redis sentinel
Redis Sentinel 165.91.65.2 i-xxxxxxxxxxxxxxxxx running t2.small us-west-1a
```