Galle, LK--:--5/6 sites live

Google Cloud Storage (GCS)

Google Cloud Storage (GCS) is an exabyte-scale object storage service providing global edge caching, strong consistency out of the box, and automated lifecycle policies.

19 Jun 20263 min readSelf Guide · Stage 6#GCP#Compute Engine#W3DevOps

Lesson 19 of 26 · Module: Google Cloud

18 min read · Source notes — Cloud Storage Overview & Lifecycle

Google Cloud Storage (GCS) is an exabyte-scale object storage service providing global edge caching, strong consistency out of the box, and automated lifecycle policies.

Screenshot: Cloud Storage Overview

Configuring globally unique bucket names, multi-region redundancy, and default encryption.

1. The 4 GCS Storage Classes

Storage ClassMinimum DurationCost per GB/moIdeal Scenario
StandardNone$0.020Web assets, streaming media, active analytics, frequent reads.
Nearline30 days$0.010Data accessed at most once per month (monthly reports, raw logs).
Coldline90 days$0.004Data accessed at most once per quarter (disaster recovery snapshots).
Archive365 days$0.0012Long-term digital preservation and regulatory compliance audits.

Screenshot: Storage Lifecycle Management Rules

Setting rules to automatically transition objects to Coldline after 60 days and delete after 365 days.

2. Managing GCS via gcloud storage CLI

Common GCS Commands

ExampleShell
# Create a new bucket in US multi-region
gcloud storage buckets create gs://company-build-artifacts-2026 --location=US

# Upload entire directory recursively
gcloud storage cp -r ./dist gs://company-build-artifacts-2026/

# Sync local files with bucket
gcloud storage rsync -r ./assets gs://company-build-artifacts-2026/assets/

Keep going: ← Lesson 18 · Lesson 20 → · Module overview · Track it in the Self Guide