aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gce/create_linux_performance_worker.sh
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2016-05-10 15:38:28 -0700
committerGravatar Julien Boeuf <jboeuf@google.com>2016-05-10 15:38:28 -0700
commitfc1ed17fdea8ba574586cfc479f77de3b200f1c6 (patch)
tree23342f774b1ee53ba74dd7fbdda188ee5fb7dd59 /tools/gce/create_linux_performance_worker.sh
parent2b2f414dd1cb3d1f72c8f2713e381f1bb260b3f7 (diff)
parent19cd009ec14c1a759fe4d0ef79eb3fab738137ca (diff)
Merge branch 'credentials_refactoring' of github.com:jboeuf/grpc into credentials_refactoring
Diffstat (limited to 'tools/gce/create_linux_performance_worker.sh')
-rwxr-xr-xtools/gce/create_linux_performance_worker.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/gce/create_linux_performance_worker.sh b/tools/gce/create_linux_performance_worker.sh
index 8c9cc46a75..96d5558d9a 100755
--- a/tools/gce/create_linux_performance_worker.sh
+++ b/tools/gce/create_linux_performance_worker.sh
@@ -42,14 +42,15 @@ CLOUD_PROJECT=grpc-testing
ZONE=us-central1-b # this zone allows 32core machines
INSTANCE_NAME="${1:-grpc-performance-server1}"
-MACHINE_TYPE=n1-standard-32
+MACHINE_TYPE=n1-standard-8
gcloud compute instances create $INSTANCE_NAME \
--project="$CLOUD_PROJECT" \
--zone "$ZONE" \
--machine-type $MACHINE_TYPE \
--image ubuntu-15-10 \
- --boot-disk-size 300
+ --boot-disk-size 300 \
+ --scope https://www.googleapis.com/auth/bigquery
echo 'Created GCE instance, waiting 60 seconds for it to come online.'
sleep 60