Chromium Code Reviews| Index: compute_engine_scripts/monitoring/vm_create_instance.sh |
| diff --git a/compute_engine_scripts/monitoring/vm_create_instance.sh b/compute_engine_scripts/monitoring/vm_create_instance.sh |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..bd99ea92d16e1ded21a04718f144b7dc3268b110 |
| --- /dev/null |
| +++ b/compute_engine_scripts/monitoring/vm_create_instance.sh |
| @@ -0,0 +1,18 @@ |
| +#!/bin/bash |
| +# |
| +# Create the compute instance for skiamonitor.com. |
| +# |
| + |
| +source ../buildbots/vm_config.sh |
| + |
| +# Basically SSH in, update the copy of this repo and jump to a shell script in |
|
rmistry
2014/06/16 13:03:37
Please update or delete this comment.
jcgregorio
2014/06/16 13:22:43
Done.
|
| +# the repo that does the update. |
| +gcutil --project=$PROJECT_ID addinstance skia-monitoring-$ZONE_TAG \ |
| + --zone=$ZONE |
| + --external_ip_address=$MONITORING_IP_ADDRESS \ |
| + --service_account=$PROJECT_USER \ |
| + --service_account_scopes="https://www.googleapis.com/auth/devstorage.full_control" \ |
|
rmistry
2014/06/16 13:03:37
This constant is specified in vm_config.sh
jcgregorio
2014/06/16 13:22:43
Done.
|
| + --network=default \ |
| + --machine_type=n1-standard-1 \ |
|
rmistry
2014/06/16 13:03:37
Could you create a constant in vm_config.sh for th
jcgregorio
2014/06/16 13:22:43
Done.
|
| + --image=backports-debian-7-wheezy-v20140331 \ |
|
rmistry
2014/06/16 13:03:38
Could you create a constant in vm_config.sh for th
jcgregorio
2014/06/16 13:22:43
Done.
|
| + --persistent_boot_disk |