mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Mar 1 10:23:17 UTC 2023
This commit is contained in:
parent
7664984b79
commit
bdaa0b3cfc
230 changed files with 8963 additions and 242 deletions
|
|
@ -91,19 +91,19 @@ EXAMPLES
|
|||
example-instance-2 example-instance-3 --zone=us-central1-a
|
||||
|
||||
To create an instance called 'instance-1' from a source snapshot called
|
||||
'instance-snapshot' in zone 'us-central2-a' and attached regional disk
|
||||
'instance-snapshot' in zone 'us-central1-a' and attached regional disk
|
||||
'disk-1', run:
|
||||
|
||||
$ gcloud compute instances create instance-1 \
|
||||
--source-snapshot=https://compute.googleapis.com/compute/v1/\
|
||||
projects/myproject/global/snapshots/instance-snapshot \
|
||||
--zone=central2-a --disk=name=disk1,scope=regional
|
||||
--zone=us-central1-a --disk=name=disk1,scope=regional
|
||||
|
||||
To create an instance called instance-1 as a Shielded VM instance with
|
||||
Secure Boot, virtual trusted platform module (vTPM) enabled and integrity
|
||||
monitoring, run:
|
||||
|
||||
$ gcloud compute instances create instance-1 --zone=central2-a \
|
||||
$ gcloud compute instances create instance-1 --zone=us-central1-a \
|
||||
--shielded-secure-boot --shielded-vtpm \
|
||||
--shielded-integrity-monitoring
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue