Skip to content

Instantly share code, notes, and snippets.

@qushot
Created September 6, 2017 01:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qushot/1329e5f4a4905c4c23f130746a58d0fb to your computer and use it in GitHub Desktop.
Save qushot/1329e5f4a4905c4c23f130746a58d0fb to your computer and use it in GitHub Desktop.
ファイアウォールルール検証用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