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.
20 lines
1.0 KiB
20 lines
1.0 KiB
#!/bin/bash
|
|
SERVERNAME=rc4-03-gcp
|
|
gcloud compute --project "dialbox-online-edition" instances create $SERVERNAME \
|
|
--zone=us-east1-c \
|
|
--machine-type=n1-standard-2 \
|
|
--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=debian-12-bookworm-v20240213 \
|
|
--image-project=debian-cloud \
|
|
--boot-disk-size=10GB \
|
|
--boot-disk-type=pd-standard \
|
|
--boot-disk-device-name=$SERVERNAME \
|
|
--labels=cost_center=nxtsipoe,node=$SERVERNAME \
|
|
--tags=http-dc-sapian-house,https-co,sip-sapian-dc,sipco,wg-sapian \
|
|
--address=34.73.183.115 \
|
|
--metadata-from-file startup-script=$SERVERNAME.bash.sh,user-data=$SERVERNAME.cloud-init.yaml
|