In this lab, you'll learn how to create a Cloud Storage bucket in Google Cloud Platform and upload files to it. Cloud Storage buckets are containers for storing objects (files) in the cloud with high durability and availability.
Requirements to Pass This Lab
Create a bucket with a name starting with gcp-lab-bucket
Bucket must be located in the us-central1 region
Upload at least one file to the bucket
Before You Begin
Step 0: Authentication
How this works: You need a Google account that uses the same email address as your GCP Study Hub account. When you sign into that Google account, the system will be able to grant you temporary access to a GCP project when you start the lab.
Once your lab starts, use the "Open GCP Console" button from the lab portal to open the Google Cloud Console with your temporary lab project already selected.
Step 2: Navigate to Cloud Storage
In the left navigation menu, click on the hamburger menu (three horizontal lines)
Scroll down and find Cloud Storage
Click on Buckets
Alternatively, you can search for "Cloud Storage" in the search bar at the top.
Step 3: Download Sample File
First, download the sample text file to your computer that you'll upload to your bucket.
Click the button below to download the sample file (1 KB):
Note: The file will be saved to your Downloads folder. Remember where it's located - you'll need it in Step 8!
Step 4: Create a New Bucket
Click the CREATE button at the top of the page
You'll see a form with several configuration options
Step 5: Configure Your Bucket Name
Enter a name that starts with: gcp-lab-bucket
You can add a unique suffix, for example: gcp-lab-bucket-12345
Bucket names must be globally unique across all of Google Cloud
If you get an error that the name is taken, add more unique characters to the end
Step 6: Choose Location Settings
Select Region for location type
Choose us-central1 (Iowa) from the dropdown
The us-central1 region is required for this lab due to an organization policy that restricts resources to specific regions for cost and compliance purposes.
Step 7: Complete Bucket Creation
For storage class, leave as Standard (default)
For access control, leave the default settings
Skip the optional protection tools for now
Review your settings:
Name starts with gcp-lab-bucket
Location is us-central1
Click CREATE at the bottom of the form
Wait a few seconds for the bucket to be created
Step 8: Upload the Sample File to Your Bucket
After your bucket is created, click on the bucket name to open it
Click the UPLOAD FILES button
Navigate to your Downloads folder and select the sample_upload_file.txt file you downloaded in Step 3
Wait for the upload to complete
You should see sample_upload_file.txt listed in the bucket
Tip: You can also drag and drop the file directly into the browser window to upload it.
Validate Your Work
Get Your Completion Token
Click the button below to open the lab checker in a new window. Sign in with Google to verify your work and get your completion token.
Paste your token below and click Validate. If valid, a button will appear to mark the lesson complete.
Note: The "Mark Lesson Complete" button will not do anything if you are not in an actual lesson - but congratulations, you successfully completed the lab!
What You Learned
How to navigate the Google Cloud Console
How to create a Cloud Storage bucket with specific configurations
Understanding bucket naming requirements and global uniqueness
How to upload files to Cloud Storage
Understanding regional restrictions and organization policies
Troubleshooting
Validation Fails
If your validation fails, check that:
Your bucket name starts withgcp-lab-bucket (not just contains it)
The region is exactly us-central1 (not us-central or us-west1)
You have uploaded at least one file to the bucket
You're using the same email address for validation that you used to start the lab