Ready for the real environment experience?
gsutil component of the Google Cloud Software Developer Kit (SDK) provides a command line interface (CLI) to working with Google Cloud Storage. In contrast to using the Cloud Console to work with Cloud Storage, the CLI is ideal for automating workflows. As you will see in this Lab,
gsutil is capable of doing everything that you can do in the Console and much more.
In this Lab, you will use Google Cloud Shell, which comes with
gsutil pre-installed and ready to use. You will first learn how to create buckets and different methods for transferring files to Google Cloud Storage using
gsutil. Lastly, you will explore Cloud Storage object versioning and see how to configure Object Lifecycle Management to control costs when versioning is enabled on a bucket.
Upon completion of this Lab you will be able to:
- Use and explain what Google Cloud Shell is
gsutilto perform a variety of Cloud Storage operations including creating buckets, transferring files, and performing diagnostic tests
- Change to the storage class of individual objects in a Cloud Storage bucket with
- Enable object versioning on buckets with
- Configure Object Lifecycle Management to control additional costs associated with object versioning
You should be familiar with:
- Working at the command line in Linux
- Basic Google Cloud Storage Concepts
The following Labs are recommended for satisfying the prerequisites:
About the Author
Logan has been involved in software development and research for over eleven years, including six years in the cloud. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, and Certified Kubernetes Administrator (CKA). He earned his Ph.D. studying design automation and enjoys all things tech.