The Google Cloud Data Stack

Build data platforms on Google Cloud with Cloud Storage, BigQuery, Dataflow, Dataproc, Pub/Sub, Cloud Composer and Dataplex.

Intermediate · about 10 hours · difficulty 3/5

Learn first: Cloud Fundamentals for Data Engineers, PySpark DataFrames

Google Cloud is strong in analytics, thanks largely to BigQuery, and is used by many Indian startups and digital-native companies. The BigQuery sandbox and free tier make it student-friendly.

Storage and warehouse

  • Cloud Storage (GCS): the data lake.
  • BigQuery: the serverless warehouse at the centre of most GCP data platforms, with external and BigLake tables over GCS (including Iceberg).

Processing

  • Dataflow: managed Apache Beam for batch and streaming pipelines with autoscaling.
  • Dataproc: managed Spark and Hadoop clusters, plus Dataproc Serverless for Spark batches.
  • Cloud Run and Cloud Functions: containers and functions for light ingestion jobs.
  • Dataform: SQL transformation inside BigQuery, similar in spirit to dbt (dbt also works well with BigQuery).

Streaming

  • Pub/Sub: managed messaging for events, often feeding Dataflow or BigQuery subscriptions directly.

Orchestration and governance

  • Cloud Composer: managed Airflow.
  • Workflows: lightweight service orchestration.
  • Dataplex and the catalog features for discovery, lineage and governance across lakes and warehouses.

A reference architecture

App events via Pub/Sub to Dataflow to BigQuery; database extracts to GCS, loaded into BigQuery; dbt or Dataform for modeling; Composer for scheduling; Looker or Looker Studio for dashboards.

Pitfalls

  • Unbounded BigQuery query costs on on-demand pricing; set quotas.
  • Dataproc clusters left running; prefer Serverless or auto-delete settings.

You are ready to move on when you can build a pipeline that lands files in GCS, loads them into a partitioned BigQuery table, transforms them with dbt or Dataform, and schedules it with Composer or a lighter alternative.

Key concepts

  • Cloud Storage
  • BigQuery and BigLake
  • Dataflow and Apache Beam
  • Dataproc and Dataproc Serverless
  • Pub/Sub
  • Cloud Composer
  • Dataform
  • Dataplex

Other options for this step

  • The AWS Data Stack: Build data platforms on AWS with S3, Glue, Athena, EMR, Redshift, Kinesis, MSK, Lambda, Step Functions and Lake Formation.

Mini project

On GCP free tier, build a pipeline that uploads daily files to GCS, loads them into a partitioned BigQuery table with a Cloud Run job, and models them with dbt. Track bytes scanned per day and set a budget alert.

Check yourself

When would you choose Dataflow over Dataproc for a pipeline, and what does each charge you for?

Free resources