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.
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.
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#
| Concept | What it is |
|---|---|
| Project | The 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 / zone | Where your resources physically run (affects latency, cost and data rules) |
| Billing account | Linked to projects; where costs are charged |
Key data services#
| Service | Use it for |
|---|---|
| Cloud Storage | Storing files of any size: raw CSVs, images, backups (your data lake) |
| BigQuery | A serverless data warehouse: run SQL over terabytes without managing servers |
| Dataproc | Managed Spark and Hadoop clusters for heavy processing |
| Vertex AI | Training, deploying and calling ML and generative AI models |
A typical GCP data flow
- Cloud Storageraw sales files land here
- Dataproca Spark job cleans them
- BigQueryanalysts query the results with SQL
- Vertex AIa model forecasts next month's sales
Staying safe: budgets and permissions#
Do these on day one:
- Set a budget alert (for example, notify me at 50%, 90% and 100% of a small monthly budget).
- Use the free tier and free credits while learning.
- Follow least privilege: give each person or service only the roles it needs.
- 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.
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.
Recap & next
Key takeaways
- Cloud platforms give on-demand storage and compute, so you pay for what you use.
- Everything in GCP lives inside a project, with access controlled by IAM roles.
- Set budget alerts on day one so experiments never become surprise bills.
- Key data services: Cloud Storage (files), BigQuery (warehouse) and Dataproc (managed Spark).
Quick check
2 questions · instant feedback
Go deeper
The full course on Data engineering
Udemy course
Big Data Engineering Bootcamp with GCP and Azure Cloud
View course (opens Udemy in a new tab)
Finished this lesson?
Mark it complete to track your progress and keep your streak going.