Code Visualized
Cheatsheet
About
Blog
Tags
Code Visualized
Cheatsheet
About
Blog
Tags
#
Cheatsheet
A quick reference guide to common commands to get things done.
#
Google Cloud Platform
#
VM Instances
gcloud compute instances start
(opens new window)
: Start instance
gcloud compute instances stop
(opens new window)
: Stop instance
gcloud compute instances list
(opens new window)
: List instances
gcloud compute disks snapshot
(opens new window)
: Create snapshot of persistent disks.
gcloud compute snapshots list
(opens new window)
: List snapshots
gcloud compute snapshots describe
(opens new window)
: Display a snapshot's details.
gcloud compute ssh
(opens new window)
: Connect to a VM instance by using SSH
ssh [-i identity_file] [-L local_socket:host:hostport] [-l login_name]: Connect to a VM instance by using Bash SSH