fzf-style fuzzy search for AWS EC2 instances. Inspired by aws-fuzzy-finder
brew tap DavidWittman/ec2-fuzzy https://github.com/DavidWittman/ec2-fuzzy
brew install ec2-fuzzy
Just run ec2-fuzzy
.
Pass the --instance
or -i
flag with the Name or Instance ID of the instance.
ec2-fuzzy -i my-instance-name
# or by instance ID
ec2-fuzzy -i i-0675e1acdc61a6cc7
If multiple instances match the Name tag provided, ec2-fuzzy will connect to the first match.
All configurations can be passed by flags or environment variables.
--private
orEC2_FUZZY_PRIVATE=1
- Use private IP address when connecting to instance--user
orEC2_FUZZY_USER
- Set SSH username