Using Amazon CLI, is there a way to get the public ip address of the current EC2? I\'m just looking for the single string value, so not the json response describe-addresses
This command also will display your instance Public IP address:
curl -s ifconfig.co