Posts Tagged ‘aws-cli’

List all public IPs from aws cli

December 28, 2015

aws ec2 describe-instances \
–query “Reservations[*].Instances[*].PublicIpAddress” \
–output=text

Advertisements