ReleaseEngineering/How To/Resolve AWS names

From MozillaWiki
Jump to navigation Jump to search


  • login to cruncher (using LDAP credentials):
ssh cruncher.build.mozilla.org 
  • switch to buildduty
sudo su - buildduty
  • set up environment
source ~/aws/aws-ve/bin/activate
cd ~/aws/cloud-tools/aws
  • query AWS database. last parameter is a regexp, use "." (dot) to get all slaves
python ec22ip.py -k secrets/aws-secrets.json -r us-west-1 bld-linux64-ec2-076 '(bld|try)-linux64-ec2-03.*'
  • You may want to use different regions (us-east-1, us-west-1 or us-west-2)
  1. This hasn't been updated since Nov 2013 because the parameters in ec22ip.py no longer include -k

See also hourly updated /etc/hosts style dump: http://cruncher.build.mozilla.org/~buildduty/hosts