gcloud-*: add pages (#11625)
* gcloud-*: add pages --------- Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
37
pages/common/gcloud-compute.md
Normal file
37
pages/common/gcloud-compute.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# gcloud compute
|
||||
|
||||
> Create, run, and manage VMs on Google Cloud infrastructure.
|
||||
> See also: `gcloud`.
|
||||
> More information: <https://cloud.google.com/sdk/gcloud/reference/compute>.
|
||||
|
||||
- List Compute Engine zones:
|
||||
|
||||
`gcloud compute zones list`
|
||||
|
||||
- Create a VM instance:
|
||||
|
||||
`gcloud compute instances create {{instance_name}}`
|
||||
|
||||
- Display a VM instance's details:
|
||||
|
||||
`gcloud compute instances describe {{instance_name}}`
|
||||
|
||||
- List all VM instances in a project:
|
||||
|
||||
`gcloud compute instances list`
|
||||
|
||||
- Create a snapshot of a persistent disk:
|
||||
|
||||
`gcloud compute disks snapshot {{disk_name}} --snapshot-names {{snapshot_name}}`
|
||||
|
||||
- Display a snapshot's details:
|
||||
|
||||
`gcloud compute snapshots describe {{snapshot_name}}`
|
||||
|
||||
- Delete a snapshot:
|
||||
|
||||
`gcloud compute snapshots delete {{snapshot_name}}`
|
||||
|
||||
- Connect to a VM instance using SSH:
|
||||
|
||||
`gcloud compute ssh {{instance_name}}`
|
Reference in New Issue
Block a user