Lab - Cloud Storage
Explore how to use the gcloud CLI and gsutil tool to manage Cloud Storage in Google Cloud. Learn to create buckets, upload files with multithreading or chunking, generate signed URLs for sharing, and apply lifecycle policies for automatic file management.
In the last lesson, you learned how to create and upload files to the GCS bucket using UI.
In this lab, you will use Gcloud CLI to carry out the different operations using gsutil component of the SDK. You can use your cloud shell, laptop, or the terminal provided at the end of the lesson to complete this lab.
-
Run
gcloud initin case you are using your laptop or terminal provided at the end of the lesson. This will configure the gcloud SDK with your GCP account. -
Run
gcloud config listand check whether your account and project are set correctly. ...