Skip to content

Instantly share code, notes, and snippets.

@ryanmaclean
Last active August 29, 2015 14:23
Show Gist options
  • Save ryanmaclean/b50450d272f97f43c919 to your computer and use it in GitHub Desktop.
Save ryanmaclean/b50450d272f97f43c919 to your computer and use it in GitHub Desktop.
Get IP Address for a given OpsWorks Layer Instance ID
aws opsworks --region us-east-1 describe-instances --instance-ids 82hu7s86-ff57-4fc8-0000-f3cb364b125e | grep PrivateIp | awk -F '"' '{print $4}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment