menu
arrow_back

Using gsutil to Perform Operations on Buckets and Objects

Using gsutil to Perform Operations on Buckets and Objects

45 minutes 5 Credits

GSP130

Google Cloud Self-Paced Labs

Overview

In this lab you will use gsutil to create a bucket and perform operations on objects. gsutil is a Python application that lets you access Cloud Storage from the command line. The gsutil tool has commands such as mb and cp to perform operations. Each command has a set of options that are used to customize settings further.

What you'll learn to do

  • Create a bucket

  • Copy files from a local folder to a bucket

  • Synchronize the contents of the local folder with the contents of the bucket

  • Change access control permissions on objects

  • Delete a bucket.

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Google Cloud Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab
Score

—/100

Create a bucket

Run Step

/ 25

Upload objects to your bucket

Run Step

/ 25

Make objects public

Run Step

/ 25

Delete your bucket

Run Step

/ 25