pipeline script for development

pull/37/head
Minh Doan 6 years ago
parent 44b05ca577
commit cf04b932bf
  1. 15
      aws-experiment-launch/create_deploy_pipeline_1.sh

@ -0,0 +1,15 @@
INSTANCE_NUM=1
SHARD_NUM=1
CLIENT_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
echo "Rung collecint raw ips"
python collect_public_ips.py --instance_output instance_output.txt
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
Loading…
Cancel
Save