ReleaseEngineering/How To/Manage AWS slaves: Difference between revisions

Jump to navigation Jump to search
Line 4: Line 4:


= Usage =
= Usage =
ssh into cruncher as buildduty
<pre>
ssh buildduty@cruncher.build.mozilla.org
</pre>
set up aws environment
<pre>
source ~/aws/aws-ve/bin/activate
cd ~/aws/cloud-tools/aws
hg pull -u
eval `ssh-agent`
ssh-add secrets/aws-releng
</pre>
from ~/aws/cloud-tools/aws, you can exec aws_manage_instances.py with the following usage options. See below for examples
<pre>
<pre>
usage: aws_manage_instances.py [-h] [-k SECRETS] [-r REGIONS] [-m COMMENTS]
usage: aws_manage_instances.py [-h] [-k SECRETS] [-r REGIONS] [-m COMMENTS]
Confirmed users
502

edits

Navigation menu