Skip to content

Instantly share code, notes, and snippets.

@andywirv
Created August 7, 2017 09:27
Show Gist options
  • Save andywirv/2665ff2ce970976e1d2dc220dab4441a to your computer and use it in GitHub Desktop.
Save andywirv/2665ff2ce970976e1d2dc220dab4441a to your computer and use it in GitHub Desktop.
Query internal IP(s) of AWS ELB
andyirvine$ aws ec2 describe-network-interfaces --filters "Name=description,Values=[ELB Interface description]" |jq '.NetworkInterfaces[] .PrivateIpAddress'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment