Skip to content

AWS CLI

Locate resources based on IP

aws ec2 describe-network-interfaces --filters Name=addresses.private-ip-address,Values=<ip>

Find an EC2 instance from its security group

aws ec2 describe-network-interfaces --filters Name=group-id,Values=<group-id> --region <region> --output json

Want to make this site better? Open a PR or help fund hosting costs