From cf04b932bfce8551f6d9fb785136271ce5b043e0 Mon Sep 17 00:00:00 2001 From: Minh Doan Date: Tue, 10 Jul 2018 12:36:51 -0700 Subject: [PATCH] pipeline script for development --- aws-experiment-launch/create_deploy_pipeline_1.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 aws-experiment-launch/create_deploy_pipeline_1.sh diff --git a/aws-experiment-launch/create_deploy_pipeline_1.sh b/aws-experiment-launch/create_deploy_pipeline_1.sh new file mode 100755 index 000000000..2c2b9eaa0 --- /dev/null +++ b/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