Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 708 Bytes

README.md

File metadata and controls

52 lines (42 loc) · 708 Bytes

ec2grep - EC2 cli tool

Install

Preferally for the default system interpreter instead of a virtualenv.

pip install git+https://github.com/bergundy/ec2grep

Usage

ls

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
ssh

Open an SSH session

ec2 ssh my-hostname

With arguments

ec2 ssh my-hostname -- w
custom region
ec2 --region us-west-2 ls my-hostname
Development / Running Locally
poetry install
poetry run ec2

...

Profit