Re:Amazon Web Services revenue rises 81% year over year
by thoman23 on Thursday July 23, 2015 @08:34PM
(#9939382)
Agreed on this advice. When I was new to AWS I kept receiving a bill for a few cents that obviously wasn't worth my time to resolve, but still really irritated my why I couldn't find a running instance. Turns out the running instance was in a different region and I didn't know the EC2 server list displayed only one region at a time.
[ Parent
| on HN ]
Re:Amazon Web Services revenue rises 81% year over year
by res0nat0r on Thursday July 23, 2015 @08:44PM
(#9939423)
If you have the aws cli tool installed this will list all of your instances and their public IP addresses in all regions for you:
for region in `aws ec2 describe-regions | awk '{print $NF}'`; do echo $region; aws ec2 describe-instances --region $region --query 'Reservations[].Instances[].[[Tags[?Key==`Name`]| [0].Value], PublicIpAddress]'; echo ; done