Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
ファイアウォールルール検証用GCEインスタンス作成スクリプト
#!/bin/sh
# create instances
PROJECT_ID=YOUR_PROJECT_ID
ZONE=asia-northeast1-a
MACHINE_TYPE=f1-micro
gcloud compute instances create instance-a instance-b \
--project $PROJECT_ID \
--zone $ZONE \
--machine-type $MACHINE_TYPE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment