fix comments

pull/37/head
Minh Doan 6 years ago
parent 1f377f8bd4
commit cbbf003904
  1. 6
      aws-experiment-launch/create_deploy_pipeline.sh
  2. 9
      aws-experiment-launch/create_instances_only.sh
  3. 2
      aws-experiment-launch/create_instances_only_2.sh
  4. 2
      aws-experiment-launch/create_instances_only_50.sh

@ -8,12 +8,8 @@ python create_instances.py --regions 1,2,3,4,5,6,7,8 --instances $INSTANCE_NUM,$
echo "Rung collecint raw ips"
python collect_public_ips.py --instance_output instance_output.txt
echo "Rung collecint raw ips"
python collect_public_ips.py --instance_output instance_output.txt
echo "Rung collecint raw ips"
echo "Generate distribution_config"
python generate_distribution_config.py --ip_list_file raw_ip.txt --shard_num $SHARD_NUM --client_num $CLIENT_NUM
echo "Deploy"
python deploy.py

@ -1,4 +1,7 @@
INSTANCE_NUM=1
echo "Creating $$INSTANCE_NUM instances at 8 regions"
if [ $# -eq 0 ]; then
echo "Your command line contains $# arguments"
exit(1)
fi
INSTANCE_NUM=$1
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

@ -1,4 +1,4 @@
INSTANCE_NUM=2
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_2.txt

@ -1,4 +1,4 @@
INSTANCE_NUM=50
INSTANCE_NUM=$1
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
Loading…
Cancel
Save