Description
Google Cloud Storage provides multiple storage classes, including Standard, Nearline, Coldline, and Archive, to meet different use cases based on data access frequency, durability, and cost. Understanding these classes is essential for designing efficient storage strategies and managing data lifecycle effectively.
In this guided lab, you’ll create multiple buckets, each with a different storage class, upload sample files, and explore the characteristics of each class. You’ll learn how access frequency, retrieval times, and cost considerations differ across classes, giving you a practical understanding of when to use each storage class.
Prerequisites
This lab assumes you are familiar with creating Cloud Storage buckets and uploading objects through the Google Cloud Console.
If you find any gaps in your knowledge, consider taking the following lab/s:
Objectives
In this lab, you will:
- Create Cloud Storage buckets with different storage classes
- Upload sample files to each bucket
- Compare storage classes based on access frequency and intended use
- Understand the trade-offs between cost and retrieval times
Lab Steps
Creating Cloud Storage Buckets with Different Storage Classes
1. In the Google Cloud Console, use the search bar to navigate to Cloud Storage

2. Go to the Buckets tab, then click Create or Create bucket.

3. Configure the first bucket with the following:
- Name: <your-desired-bucket-name>-standard
- Location type: Region
- Location: us-central1
- Storage class: Standard

Once done, click Create. Then tick the “Enforce public access prevention on this bucket“.

4. Repeat the process to create three more buckets, using the same region and access control, but different storage classes:
- Archive:
<your-desired-bucket-name>-archive - Nearline:
<your-desired-bucket-name>-nearline - Coldline:
<your-desired-bucket-name>-coldline
You can change the storage class of your bucket in the “Choose how to store your data” section

5. Confirm that the four buckets with different storage classes were created and appear in your list of buckets.

Uploading a sample file to each bucket
1. Create the following demo.txt file on your local machine containing “Hello! This is for exploring the different Cloud Storage classes.“:

2. Open each bucket one by one, then click Upload files and select the same .txt file for all buckets.

3. Verify that the file appears in each bucket.

Comparing Storage Classes by Access Speed and Cost
Testing its Retrieval
1. Open the Standard bucket, locate your uploaded demo.txt file, and click Download. Observe how quickly the file is retrieved.

2. Repeat the download for the Nearline, Coldline, and Archive buckets.

Note: Retrieval from Coldline and Archive may not feel slower with a small .txt file, but for larger files in a real environment, the download speed and latency would be more noticeable.
Reviewing Storage Cost
1. Go back to the Buckets tab, then go to the bucket creation page by clicking Create or Create bucket.
2. Select each of the storage classes one by one, then check the estimated cost of each storage class on the upper right side of the page. (Don’t proceed with creating the bucket itself)


You can see here that the Standard storage class has the highest storage cost, while Nearline is lower, Coldline is even lower, and Archive has the lowest storage cost. However, while storage costs decrease, retrieval costs increase, with Archive having the highest retrieval cost. This demonstrates how Google Cloud Storage offers different classes to help optimize costs based on both storage and access patterns. A table below shows a simple comparison between each storage class:
| Storage Class | Storage Cost | Retrieval Cost | Retrieval Latency | When to use? |
| Standard | Highest | Lowest | Fastest | Frequently accessed data, websites, active projects |
| Nearline | Lower | Higher | Fast | Infrequently accessed files, monthly backups, logs |
| Coldline | Even lower | Even higher | Slightly slow | Rarely accessed data, quarterly backups, historical reports |
| Archive | Lowest | Highest | Slowest | Long-term archival, compliance data, rarely accessed records |
You’ve successfully created multiple Cloud Storage buckets, uploaded objects, and explored the differences between Standard, Nearline, Coldline, and Archive storage classes using the Google Cloud Console. This guided lab helps you understand how storage class selection affects costs, access frequency, and data management. You can apply these concepts to real-world projects, such as backups, logs, or archival data, and in future labs, you’ll explore more advanced features, such as combining storage classes with lifecycle rules or automated data transitions.