publicIpAddress
aws ec2 describe-instances | grep PublicIpAddress
aws ec2 describe-instances --query 'Reservations[*].Instances[?not_null(PublicIpAddress)]' | jq -r '.[][]|.PublicIpAddress+" "+(.Tags[]|select(.Key=="Name").Value)'
Related terms
See also
Advertising: