parent
cbbf003904
commit
4117aa4da4
@ -1,4 +1,6 @@ |
||||
INSTANCE_NUM=50 |
||||
#This script is used for debugging and testing as we only created 2 instances. |
||||
#Be aware that the default output will be instance_output_2.txt |
||||
INSTANCE_NUM=2 |
||||
|
||||
echo "Creating $$INSTANCE_NUM instances at 8 regions" |
||||
python create_instances.py --regions 1,2,3,4,5,6,7,8 --instances $INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM --instance_output instance_output_2.txt |
||||
|
@ -1,4 +1,4 @@ |
||||
INSTANCE_NUM=$1 |
||||
INSTANCE_NUM=50 |
||||
|
||||
echo "Creating $$INSTANCE_NUM instances at 8 regions" |
||||
python create_instances.py --regions 1,2,3,4,5,6,7,8 --instances $INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM --instance_output instance_output_500.txt |
||||
echo "Creating $INSTANCE_NUM instances at 8 regions" |
||||
python create_instances.py --regions 1,2,3,4,5,6,7,8 --instances $INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM,$INSTANCE_NUM --instance_output instance_output_50.txt |
||||
|
@ -1,2 +1,7 @@ |
||||
# Change the commander address |
||||
scp -r -i "california-key-benchmark.pem" ec2-user@ec2-18-144-25-63.us-west-1.compute.amazonaws.com:~/projects/src/harmony-benchmark/bin/upload . |
||||
if [ $# -eq 0 ]; then |
||||
echo "Please provide ip address of the commander" |
||||
exit 1 |
||||
fi |
||||
ADDRESS=$1 |
||||
scp -r -i "california-key-benchmark.pem" ec2-user@$ADDRESS:~/projects/src/harmony-benchmark/bin/upload . |
||||
|
Loading…
Reference in new issue