Skip to content
Advertisement

Tag: google-cloud-platform

gcloud instance disk space

I am trying to do some computing on cloud. For this I created a computing instance and then I attached an external storage with about 10TB. But it seemed that I did something wrong and I got only 200GB available for my datalab. Any comment will be helpful To check this I used and Thanks. Answer As I can see

how to set variable name for google cloud instance

PROB_INSTANCE_NAME=INSTANCE_NAME not working C:UsersHPAppDataLocalGoogleCloud SDK>PROB_INSTANCE_NAME=lamp-1-vm ‘PROB_INSTANCE_NAME’ is not recognized as an internal or external command, operable program or batch file. C:UsersHPAppDataLocalGoogleCloud SDK>set PROB_INSTANCE_NAME=lamp-1-vm C:UsersHPAppDataLocalGoogleCloud SDK>gcloud compute instances stop “$PROB_INSTANCE_NAME” ERROR: (gcloud.compute.instances.stop) HTTPError 400: Invalid value ‘$PROB_INSTANCE_NAME’. Values must match the following regular expression: ‘a-z?’ i am using google gcloud tool on the desktop. trying to install Linux guest environment by

ssh cronjob delete not working

I am new to SSH & cronjobs so probably I am doing something wrong. I am using a Google Cloud Engine for hosting my SSH Linux instance and I want to delete a snapshot by its name with a cronjob (I have also a create snapshot cronjob that works fine). So I wrote this script: This script should delete the

Advertisement