Back to website
Mayank Aggarwal Learning Center

Phase 04 · Data Engineering & Big DataLesson 3 of 4

Setting Up the Cloud for Data & AI

Create a Google Cloud setup for data and AI work.

  • 24:04 video
  • 2 min read
  • Intermediate
01

The problem

Modern data and AI work happens on the cloud. Instead of buying servers, you rent exactly the storage and computing power you need, by the minute, and switch it off when you're done. This lesson covers how a cloud platform is organised, using Google Cloud Platform (GCP) as the example, and how to stay safe while experimenting.

02

The concept

Why the cloud?#

  • No upfront hardware: start a powerful machine in minutes.
  • Pay for what you use: run a big job for an hour, then stop paying.
  • Managed services: the provider runs databases, warehouses and Spark clusters for you.
  • Scale on demand: handle 10× the data without redesigning everything.

How GCP is organised#

ConceptWhat it is
ProjectThe container for everything: resources, billing and permissions all belong to a project
IAM (Identity & Access Management)Who can do what, using roles such as Viewer, Editor or BigQuery User
Region / zoneWhere your resources physically run (affects latency, cost and data rules)
Billing accountLinked to projects; where costs are charged

Key data services#

ServiceUse it for
Cloud StorageStoring files of any size: raw CSVs, images, backups (your data lake)
BigQueryA serverless data warehouse: run SQL over terabytes without managing servers
DataprocManaged Spark and Hadoop clusters for heavy processing
Vertex AITraining, deploying and calling ML and generative AI models

A typical GCP data flow

  1. Cloud Storageraw sales files land here
  2. Dataproca Spark job cleans them
  3. BigQueryanalysts query the results with SQL
  4. Vertex AIa model forecasts next month's sales

Staying safe: budgets and permissions#

Do these on day one:

  1. Set a budget alert (for example, notify me at 50%, 90% and 100% of a small monthly budget).
  2. Use the free tier and free credits while learning.
  3. Follow least privilege: give each person or service only the roles it needs.
  4. Never commit service-account keys or API keys to git.

Why this matters for AI engineers#

Nearly every production AI system runs on a cloud: model APIs, vector databases, data pipelines and the apps themselves. Being comfortable with projects, permissions, storage and costs is a practical skill employers expect, even if your main focus is building AI features.

03

Try it

Your task · about 10 minutes

Create a free GCP project, open Cloud Storage, upload a CSV and set a small budget alert so you never get a surprise bill.

04

Recap & next

Key takeaways

  1. Cloud platforms give on-demand storage and compute, so you pay for what you use.
  2. Everything in GCP lives inside a project, with access controlled by IAM roles.
  3. Set budget alerts on day one so experiments never become surprise bills.
  4. Key data services: Cloud Storage (files), BigQuery (warehouse) and Dataproc (managed Spark).

Quick check

2 questions · instant feedback

1What should you set up first to avoid surprise cloud bills?
2BigQuery is a…

Finished this lesson?

Mark it complete to track your progress and keep your streak going.

Next