Preferally for the default system interpreter instead of a virtualenv.
pip install git+https://github.com/bergundy/ec2grep
Basic usage, find by name tag, external / internal IP, DNS
ec2 ls my-hostname
Custom formatter
ec2 ls --formatter=name my-hostname
Options:
- extended_private
- extended_public
- public_ip
- private_ip
- name
Open an SSH session
ec2 ssh my-hostname
With arguments
ec2 ssh my-hostname -- w
ec2 --region us-west-2 ls my-hostname
poetry install
poetry run ec2
...
Profit