menu

Getting Started with Cloud Shell and gcloud

Go to Lab

104736 Reviews

Good!!

Abhishek R. · Reviewed 10 minutes ago

Ayan B. · Reviewed 40 minutes ago

Ponnilavan D. · Reviewed 42 minutes ago

Rishabh K. · Reviewed 44 minutes ago

Manish C. · Reviewed about 1 hour ago

Shwethaa R. · Reviewed about 1 hour ago

Ravi shankar t. · Reviewed about 1 hour ago

Swee Li L. · Reviewed about 2 hours ago

Guillermo M. · Reviewed about 2 hours ago

student_04_0c50f260bfc9@cloudshell:~$ student_04_0c50f260bfc9@cloudshell:~$ sudo su root@cs-985229066792-default-default-mttt2:/home/student_04_0c50f260bfc9# gcloud compute instances create gcelab2 --machine-type n1-standard-2 --zone us-central1-a ERROR: (gcloud.compute.instances.create) The required property [project] is not currently set. You may set it for your current workspace by running: $ gcloud config set project VALUE or it can be set temporarily by the environment variable [CLOUDSDK_CORE_PROJECT] root@cs-985229066792-default-default-mttt2:/home/student_04_0c50f260bfc9# root@cs-985229066792-default-default-mttt2:/home/student_04_0c50f260bfc9# root@cs-985229066792-default-default-mttt2:/home/student_04_0c50f260bfc9# export PROJECT_ID=qwiklabs-gcp-04-8d91950d39e4 root@cs-985229066792-default-default-mttt2:/home/student_04_0c50f260bfc9# export ZONE=us-central1-a root@cs-985229066792-default-default-mttt2:/home/student_04_0c50f260bfc9# echo PROJECT_ID PROJECT_ID root@cs-985229066792-default-default-mttt2:/home/student_04_0c50f260bfc9# echo $ZONE us-central1-a root@cs-985229066792-default-default-mttt2:/home/student_04_0c50f260bfc9# gcloud compute instances create gcelab2 --machine-type n1-standard-2 --zone $us-central1-a ERROR: (gcloud.compute.instances.create) argument --zone: expected one argument Usage: gcloud compute instances create INSTANCE_NAMES [INSTANCE_NAMES ...] [optional flags] optional flags may be --accelerator | --address | --no-address | --async | --boot-disk-auto-delete | --boot-disk-device-name | --boot-disk-kms-key | --boot-disk-kms-keyring | --boot-disk-kms-location | --boot-disk-kms-project | --boot-disk-size | --boot-disk-type | --can-ip-forward | --confidential-compute | --create-disk | --csek-key-file | --custom-cpu | --custom-extensions | --custom-memory | --custom-vm-type | --deletion-protection | --description | --disk | --enable-display-device | --help | --hostname | --image | --image-family | --image-project | --labels | --local-ssd | --machine-type | --maintenance-policy | --metadata | --metadata-from-file | --min-cpu-platform | --min-node-cpu | --network | --network-interface | --network-tier | --node | --node-affinity-file | --node-group | --preemptible | --private-ipv6-google-access-type | --private-network-ip | --public-ptr | --no-public-ptr | --public-ptr-domain | --no-public-ptr-domain | --require-csek-key-create | --reservation | THERE WAS SOME ISSUE WITH LAB

Mohammed Altamash Mohammed Suleman K. · Reviewed about 2 hours ago

nice, thank you

Miguel A. · Reviewed about 2 hours ago

VINA P. · Reviewed about 3 hours ago

Mohammed I. · Reviewed about 3 hours ago

Karan K. · Reviewed about 4 hours ago

Sunil C. · Reviewed about 4 hours ago

Shivam S. · Reviewed about 4 hours ago

真人 蜜. · Reviewed about 4 hours ago

Chhanak A. · Reviewed about 4 hours ago

good one

Pellati V. · Reviewed about 4 hours ago

Divyansh M. · Reviewed about 5 hours ago

nabeel a. · Reviewed about 5 hours ago

Isha L. · Reviewed about 5 hours ago

Roby Yasir A. · Reviewed about 5 hours ago

Good experience

Shanmukeshwar D. · Reviewed about 5 hours ago

Julius K. · Reviewed about 5 hours ago