You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
945 B
18 lines
945 B
#!/bin/bash
|
|
SERVERNAME=doe-03-gcp-aio
|
|
gcloud beta compute --project "dialbox-online-edition" instances create $SERVERNAME \
|
|
--zone=us-east1-c \
|
|
--machine-type=f1-micro \
|
|
--subnet=dc-sapian-gcp-subnet \
|
|
--network-tier=PREMIUM \
|
|
--maintenance-policy=MIGRATE \
|
|
--service-account=530563108273-compute@developer.gserviceaccount.com \
|
|
--scopes=https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write,https://www.googleapis.com/auth/monitoring.write,https://www.googleapis.com/auth/servicecontrol,https://www.googleapis.com/auth/service.management.readonly,https://www.googleapis.com/auth/trace.append \
|
|
--image=centos-7-v20190813 \
|
|
--image-project=centos-cloud \
|
|
--boot-disk-size=10GB \
|
|
--boot-disk-type=pd-standard \
|
|
--boot-disk-device-name=$SERVERNAME \
|
|
--metadata-from-file startup-script=$SERVERNAME.bash.sh,user-data=$SERVERNAME.cloud-init.yaml \
|
|
--tags=couchdb-sapian-house
|