What is the cloud?#
Cloud computing means renting computing resources - storage, databases, servers, analytics tools - over the internet from a provider, paying for what you use, instead of buying and maintaining your own servers.
The three big providers: Amazon Web Services (AWS), Microsoft Azure, Google Cloud (GCP). Indian companies use all three; Azure is especially common where Microsoft 365 and Power BI are used.
Cloud = अपने office में server खरीदने की बजाय, internet पर किसी बड़ी कंपनी (Amazon, Microsoft, Google) के computers किराए पर लेना - जितना इस्तेमाल, उतना पैसा।
Data analyst के लिए इसका मतलब: कंपनी का data अब अक्सर cloud storage और cloud databases में रहता है, और आपको वहाँ से SQL या Power BI से data निकालना आना चाहिए।
Service models#
| Model | You manage | Provider manages | Example |
|---|---|---|---|
| IaaS - Infrastructure | OS, software, data | hardware, network | a virtual machine (EC2, Azure VM) |
| PaaS - Platform | your data and code | servers, OS, patches | Azure SQL Database, Amazon RDS |
| SaaS - Software | just use it | everything | Power BI Service, Gmail, Salesforce |
| Serverless | only the query/code | everything, scales automatically | Amazon Athena, Azure Functions |
Analysts mostly use PaaS, SaaS and serverless services - no server administration.
Key cloud terms#
| Term | Meaning |
|---|---|
| Region | a data-centre location (e.g. Mumbai: AWS ap-south-1, Azure Central India) - keep data near users and within compliance rules |
| Account / subscription | the billing container |
| Bucket / container | a top-level folder in object storage |
| IAM | Identity and Access Management - who can do what |
| Pay-as-you-go | billing by storage used, queries run, compute time |
The modern data stack#
Sources Ingest (ETL/ELT) Store Transform & model Serve
────────── ─────────────── ───── ───────────────── ─────
POS / ERP / CRM ──► Glue, Data Factory, ──► Data lake (S3 / ADLS) ──► SQL, Spark, dbt ──► Power BI, QuickSight,
Apps, websites Fabric pipelines, raw → clean → curated warehouse tables Tableau, Excel,
Excel, APIs Fivetran, Airbyte Warehouse (Redshift, notebooks, ML
Synapse, BigQuery, Fabric)
Data lake vs data warehouse vs lakehouse#
| Data lake | Data warehouse | Lakehouse | |
|---|---|---|---|
| Stores | raw files of any type | structured, modelled tables | files in open table formats with warehouse features |
| Schema | applied when reading ("schema-on-read") | defined before loading ("schema-on-write") | both |
| Cost | very cheap storage | more expensive, very fast SQL | cheap storage + fast SQL |
| Users | engineers, data scientists | analysts, BI | everyone |
| Examples | Amazon S3, Azure Data Lake Storage | Redshift, Synapse dedicated pools, BigQuery, Snowflake | Microsoft Fabric Lakehouse, Databricks, Athena + Iceberg |
Medallion layers#
Lakes are commonly organised in layers:
- Bronze / raw - data exactly as received (like
sales_raw.csv) - Silver / clean - cleaned, deduplicated, typed (like
sales.csv) - Gold / curated - business-ready aggregates and star schemas for BI
You already did this by hand in Excel, Power Query and pandas!
ETL vs ELT#
| ETL | ELT |
|---|---|
| Extract → Transform (separate tool) → Load | Extract → Load raw → Transform inside the warehouse |
| older, on-premises style | modern cloud style - warehouses are powerful and cheap |
| e.g. SSIS, Informatica | e.g. load to S3/ADLS → SQL/dbt transforms |
File formats#
| Format | Type | Good for |
|---|---|---|
| CSV | text, row-based | simple exchange, small data |
| JSON | text, nested | APIs, events, logs |
| Parquet | binary, columnar, compressed, typed | analytics on big data - the standard in lakes |
| Delta / Iceberg | Parquet + transaction log | lakehouses (updates, time travel) |
Parquet cloud analytics का सबसे ज़रूरी file format है। CSV में पूरी row पढ़नी पड़ती है, जबकि Parquet column-wise data रखता है - अगर आपकी query को सिर्फ 2 columns चाहिए, तो सिर्फ वही 2 columns पढ़े जाते हैं। ऊपर से यह compressed होता है - इसलिए query 10 गुना तक तेज़ और सस्ती हो सकती है।
Partitioning#
Store files in folders by a common filter column (usually date):
s3://vindhya-mart/sales/year=2025/month=10/part-0001.parquet
s3://vindhya-mart/sales/year=2025/month=11/part-0001.parquet
A query with WHERE year = 2025 AND month = 10 reads only one folder - faster and cheaper.
Security basics for analysts#
- Least privilege - request read-only access to the data you need.
- Never make buckets/containers public for private data.
- No keys in code or Excel files - use roles, SSO and managed identities.
- Encryption at rest and in transit is standard - leave it on.
- Personal data (Aadhaar, phone numbers, health data) has legal protections (e.g. India's DPDP Act) - mask or avoid it in analytics.
Cost awareness#
Cloud bills come from storage, compute/queries and data transfer out. Habits that save money:
- Filter by partitions and select only needed columns (no
SELECT *on huge tables). - Use Parquet; delete temporary data.
- Set budgets and alerts in the billing console.
- Stop/pause compute (warehouses, VMs) when not in use.
- Use free tiers and trial credits for learning - but check the current terms and set a budget alert first.
Summary#
- The cloud rents storage, databases and analytics as services; analysts mostly use PaaS/SaaS/serverless.
- Lakes store raw files cheaply; warehouses store modelled tables for fast SQL; lakehouses combine both.
- ELT loads first then transforms in SQL; Parquet + partitioning make queries fast and cheap.
- Practise least privilege, no public data, and cost controls.