From the course: Google Cloud Platform (GCP) Essential Training for Developers

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Saving files and serving them

Saving files and serving them - Google Cloud Tutorial

From the course: Google Cloud Platform (GCP) Essential Training for Developers

Start my 1-month free trial

Saving files and serving them

- [Instructor] Let's learn how to upload files to Google Cloud Storage. Before we go on, let's familiarize ourselves with the common terms for GCS. The first term is buckets. I like to think of buckets as the main hard drive. You put all your files in it. The only difference between a GCS bucket and a hard drive is that a GCS bucket has virtually unlimited storage size. The next term is objects. An object is a single file. Objects are what you save in a bucket. Now, there are many ways of uploading files to GCS. You can do it through the console, to the gsutil command line tool, through code or through REST APIs. Let's try with the Cloud Console first. Pressing this button takes us to the Google Cloud Console inside a storage browser where we can see the list of buckets that we have. These are all buckets. Let's select one of the buckets. Say, my-pet-project-bucket. To upload a file, let's click this button…

Contents