From the course: Google Cloud Professional Cloud Architect Cert Prep (2025)

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Demo: Using the SDK and CLI to manage storage

Demo: Using the SDK and CLI to manage storage

- [Instructor] Here we have the Google Cloud Storage system here. And inside, we have buckets, monitoring, and settings. This is a great place to get started with working with Cloud Storage. And if I wanted to create a bucket, I could just go ahead and say myuniquebucket1234, and just go ahead and say create. So pretty straightforward way to create a bucket, just a one-click command. And then if I want to do something to the bucket, like upload data, et cetera. I could just go ahead here and say, upload files, grab some file on my system, upload it, and we're good to go. Now, another way to interact with the Cloud Storage system, though, would be to use the terminal or to actually programmatically access it, so let's go ahead and take a look at how we could do that. To start off with, I'm going to run the gsutil command, so we'll type in gsutil, and then I'll put mb for make bucket. And all I have to do now is put in a name for that bucket. So we can go ahead and say gs, and we can…

Contents