-
Notifications
You must be signed in to change notification settings - Fork 0
/
vm.sh
24 lines (24 loc) · 832 Bytes
/
vm.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
gcloud compute instances create wynyard-0 \
--enable-nested-virtualization \
--zone asia-southeast1-a \
--machine-type "n1-standard-32" \
--boot-disk-size "100GB" \
--image-family "debian-11" \
--image-project "debian-cloud"
gcloud compute disks create wynyard-0-disk-0 \
--size 50 \
--type "pd-ssd" \
--zone asia-southeast1-a
gcloud compute instances attach-disk wynyard-0 --disk wynyard-0-disk-0
gcloud compute instances create wynyard-1 \
--enable-nested-virtualization \
--zone asia-southeast1-b \
--machine-type "n1-standard-32" \
--boot-disk-size "100GB" \
--image-family "debian-11" \
--image-project "debian-cloud"
gcloud compute disks create wynyard-1-disk-0 \
--size 50 \
--type "pd-ssd" \
--zone asia-southeast1-b
gcloud compute instances attach-disk wynyard-1 --disk wynyard-1-disk-0