The Technology Magazine.

Full width home advertisement

Android

Linux

Post Page Advertisement [Top]

Google Cloud Platform Howto



To start an Instance:

gcloud compute instances start projects/trampotestproject/zones/us-east1-c/instances/instance-1

connect ssh:

gcloud compute ssh trampo-test-instance-1 --zone us-east1-c


Stop instance:

gcloud compute instances stop projects/trampotestproject/zones/us-east1-c/instances/instance-1

To resize the disk size of a cloud VM:


Command format: 
gcloud compute disks resize [DISK_NAME] --size [DISK_SIZE]
Example:
gcloud compute disks resize temp-translation-disk-11jlz --size 1024





No comments:

Post a Comment

Dear visitor,
Please do not post spam. All comments will be moderated before approval.

Bottom Ad [Post Page]

| Designed by Techeia.com