Skip to content
/ ec2grep Public
forked from bergundy/ec2grep

CLI tool for working with EC2

Notifications You must be signed in to change notification settings

forter/ec2grep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ec2grep - EC2 cli tool

Install

Make sure you have pipx available in your system (brew install pipx if not).

pipx install ec2grep --index-url https://artifactory.frdstr.com/artifactory/api/pypi/pypi/simple

Usage

ls

Basic usage, find by name tag, external / internal IP, DNS

ec2 ls my-hostname

Using a custom formatter (name, ip, extended)

ec2 ls --format=name my-hostname
ssh

Open an SSH session

ec2 ssh my-hostname

With arguments

ec2 ssh my-hostname -- w

Parallel command

ec2 ssh --parallel -F ~/.ssh/gozer my-hostname -- "<command>"
custom region
ec2 --region us-west-2 ls my-hostname

About

CLI tool for working with EC2

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.8%
  • Makefile 5.0%
  • Dockerfile 1.2%