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..efc4fa33fe14b6881b16e7cd8519b4330800d8df |
--- /dev/null |
+++ b/compute_engine_scripts/monitoring/vm_create_instance.sh |
@@ -0,0 +1,16 @@ |
+#!/bin/bash |
+# |
+# Create the compute instance for skiamonitor.com. |
+# |
+ |
+source ../buildbots/vm_config.sh |
+ |
+gcutil --project=$PROJECT_ID addinstance skia-monitoring-$ZONE_TAG \ |
+ --zone=$ZONE |
+ --external_ip_address=$MONITORING_IP_ADDRESS \ |
+ --service_account=$PROJECT_USER \ |
+ --service_account_scopes=$SCOPES \ |
+ --network=default \ |
+ --machine_type=$MONITORING_MACHINE_TYPE \ |
+ --image=$MONITORING_IMAGE \ |
+ --persistent_boot_disk |