There has been a cloud in the background throughout the course. The fictitious bucket s3://novamarket-lake/ appeared in lesson 02-01; 02-05 placed data warehouses in the cloud; 03-06 promised to talk about managed Airflow; 05-02, about each provider's catalogues; and 05-03 concluded that an optimised cloud with ephemeral clusters suited NovaMarket, without saying which one or with which services. The three previous lessons have added dozens of tools that, as was said, "exist as a managed service".

This lesson translates all of that into the catalogues of Amazon Web Services (AWS), Microsoft Azure and Google Cloud. It is not a tutorial for any console: it is a reasoned table of equivalents, layer by layer, so that you can read any company's architecture even if it uses a provider you do not know, together with NovaMarket's architecture drawn on one of them.

A note on currency. Providers frequently rename, merge and retire services, and change their prices and free tiers. The names in this lesson are those current at the time of writing, at the end of 2026. What is stable are the categories; before deciding anything, check the current documentation. All the examples are illustrative: they require a cloud account.

Why the cloud dominates Big Data, and what you pay for it

Three properties explain why almost every new data platform is born in the cloud. All three have come up during the course:

Property What it means Where you saw it
Elasticity You request 20 cores for 12 minutes and give them back. Nobody buys servers for the peak of the November campaign Ephemeral clusters, lesson 05-03
Separation of compute and storage Data lives in object storage, which is cheap and unlimited; compute is switched on only when it is used Lesson 02-01
Managed services The provider installs, patches, replicates and monitors. The team spends its time on data, not on machines Lessons 06-01 to 06-03

The calculator in lesson 05-03 put figures on it: for NovaMarket, an in-house cluster cost ten times more than the optimised cloud, mainly because of the half-time administration.

But the cloud is neither free nor neutral. The trade-offs:

  • Variable, hard-to-predict cost. You pay for usage, and a badly written job or a cluster left running by mistake turns into a bill. It demands the FinOps discipline of lesson 05-03.
  • Vendor lock-in. The more specific a service is, the more it costs to leave. A bucket of Parquet files can be taken anywhere; a thousand queries written in one data warehouse's dialect, not so much.
  • Data egress costs. Putting data in is usually free; taking it out of the cloud or moving it between regions is not.
  • Data sovereignty and residency. The data sits in data centres belonging to a foreign company, subject to its own legislation. For certain sectors and public administrations this is a first-order constraint (it is taken up again at the end).
  • Shared responsibility. The provider protects the infrastructure; configuring permissions, encryption and networks correctly is still the customer's job (lesson 07-01).

That is why on-premises data centres and hybrid architectures persist: very stable and enormous workloads, regulatory requirements or investments already made.

Service models applied to data

The difference between models is where the line falls between what the provider manages and what you manage.

Model The provider supplies… You manage… Example with Spark
IaaS (infrastructure) Virtual machines, disks, network Operating system, installation, configuration, scaling Installing Spark by hand on virtual machines
PaaS (platform) The software already installed on a cluster that you size Cluster size, versions, when to switch on and off An EMR, HDInsight or Dataproc cluster
Serverless Capacity, which appears and disappears on its own Only the code or the query; you pay for actual usage EMR Serverless, Dataproc Serverless, Athena, BigQuery
SaaS (application) The complete product, ready to use Your data, your users, your permissions Snowflake, Fivetran, an online BI tool
  • Serverless does not mean there are no servers, but that you neither see them nor size them. It is ideal for intermittent workloads: Marc's occasional query, the nightly load.
  • The higher up the table, the more control and the more work; the lower down, the less operation, the higher the unit price and the greater the dependency.
  • The practical rule for a three-person team like NovaMarket's: the most managed level that meets the requirement. Their time is worth thirty times more than the infrastructure (lesson 05-03).

Table of equivalents between AWS, Azure and Google Cloud

Layer AWS Azure Google Cloud
Object storage S3 Blob Storage / Data Lake Storage Gen2 (ADLS) Cloud Storage (GCS)
Managed Spark and Hadoop EMR (cluster, on Kubernetes or serverless) HDInsight; Spark in Synapse and in Fabric; Azure Databricks Dataproc (cluster or serverless)
Data warehouse Redshift Synapse Analytics / Fabric Warehouse BigQuery
Serverless SQL over the lake Athena (based on Trino) Synapse serverless SQL / Fabric SQL endpoint BigQuery with external tables (BigLake)
Messaging and events Kinesis Data Streams; MSK (managed Kafka) Event Hubs (with a Kafka-compatible endpoint) Pub/Sub; managed Kafka
Stream processing Managed Service for Apache Flink; Spark on EMR Stream Analytics; Spark in Fabric or Databricks Dataflow (Apache Beam)
ETL and integration Glue Data Factory Dataflow; Data Fusion
Orchestration MWAA (managed Airflow); Step Functions Data Factory pipelines; managed Airflow Cloud Composer (managed Airflow); Workflows
Catalogue and governance Glue Data Catalog; Lake Formation Microsoft Purview Dataplex
NoSQL DynamoDB; ElastiCache Cosmos DB; Cache for Redis Bigtable; Firestore; Memorystore
Search OpenSearch Service AI Search (partner services, such as Elastic)
Machine learning SageMaker Azure Machine Learning Vertex AI
BI QuickSight Power BI Looker; Looker Studio

How to read it:

  • The rows are the layers from lesson 01-04. If you know the function, the name is just a name.
  • The equivalents are approximate. DynamoDB, Cosmos DB and Bigtable are managed NoSQL databases, but with different data and pricing models. The table is for finding your bearings, not for migrating.
  • Several names in a cell indicate real alternatives, not synonyms: Kinesis and MSK solve the same problem with different protocols (AWS's own versus Kafka's).
  • The outstanding promises are now kept: the managed Airflow of lesson 03-06 is MWAA, Data Factory's orchestration or Cloud Composer; the catalogues of lesson 05-02 are Glue Data Catalog, Purview and Dataplex.

Characteristics of each provider

AWS Azure Google Cloud
Character The broadest catalogue; independent pieces that you assemble Integration with the Microsoft world (Office, Active Directory, Power BI) Few services, highly integrated and serverless from the start
Central data piece S3: almost everything reads from and writes to it Fabric and its unified storage (OneLake), which brings together what used to be separate products BigQuery: a serverless data warehouse that also queries the lake
A good fit when… You want to choose each piece and have a team to integrate them The company already lives in Microsoft SQL analytics with minimal operation is the priority
Watch out for Many ways of doing the same thing; you have to choose Products in transition (from Synapse to Fabric): check where each one is heading Shorter catalogue; heavy dependency on BigQuery

There is no such thing as "the best cloud for data". In practice the deciding factors are not very technical: which cloud the company's applications are already on, what commercial agreements exist and what the team knows.

Multi-cloud platforms: Databricks and Snowflake

Two platforms belong to no provider and run on top of all three:

Databricks Snowflake
Origin The creators of Spark A cloud-native data warehouse
Model Lakehouse: the data sits in your object storage, in an open format (Delta Lake; also Iceberg) Data warehouse with its own storage; also supports external Iceberg tables
Strength Data engineering, streaming and ML on the same platform SQL, simplicity, concurrency, data sharing
Catalogue and governance Unity Catalog Horizon; Polaris for Iceberg

The two have converged: Databricks offers a warehouse SQL engine and Snowflake supports Python and open formats. Their appeal is twofold: a more integrated experience than assembling separate services, and the same platform on any cloud, which reduces dependency on the infrastructure provider… in exchange for depending on the platform. The dependency does not disappear: you choose whom you depend on.

NovaMarket's architecture on AWS

NovaMarket already has its shop (website, app and PostgreSQL database) on AWS, in the Spain region. That fact, and not a technical comparison, decides the cloud: moving terabytes between providers every day would be expensive and slow. On that basis, Laura translates the target architecture from lesson 01-04, with the decisions taken since then:

flowchart LR
    subgraph Sources
        BD[(RDS PostgreSQL<br/>shop database)]
        WEB[Website and app]
    end
    subgraph Ingestion
        MSK[MSK<br/>web_events topic]
        MC[MSK Connect<br/>sink to S3]
    end
    subgraph Lake[S3: novamarket-lake]
        BR[bronze]
        PL[silver]
        OR[gold]
    end
    subgraph Processing
        EB[EMR Serverless<br/>nightly load with Spark]
        ES[EMR<br/>Structured Streaming:<br/>fraud and dashboard]
    end
    subgraph Serving
        AT[Athena<br/>SQL for analysis]
        QS[QuickSight<br/>KPI dashboard]
        RE[(ElastiCache<br/>dashboard counters)]
    end
    WEB --> MSK --> MC --> BR
    BD -- "JDBC, every night" --> EB
    BR --> EB --> PL --> OR
    MSK --> ES --> RE
    ES --> AL[fraud_alerts topic]
    OR --> AT --> QS
    GL[Glue Data Catalog<br/>+ Lake Formation] -.describes and authorises.-> Lake
    MW[MWAA: novamarket_daily DAG] -.orchestrates.-> EB

Each piece corresponds to a decision already taken:

Layer Service Where the decision comes from
Lake S3, with bronze, silver and gold zones; tables in an open format Lessons 02-04 and 02-05
Stream ingestion MSK (managed Kafka) and MSK Connect Lessons 03-05 and 06-03: the team already uses the Kafka protocol
Batch ingestion JDBC read from Spark, against a read replica Lessons 03-06 and 06-02
Batch EMR Serverless: you pay only while the load is running Option C in lesson 05-03
Streaming Structured Streaming on a small, permanent EMR cluster Lesson 03-05; the calculator's 8 cores
Catalogue Glue Data Catalog; permissions with Lake Formation Lessons 02-04 and 05-02
Orchestration MWAA with the novamarket_daily DAG Lesson 03-06
Query Athena Lessons 04-01 and 06-03
BI QuickSight Lessons 04-04 and 04-05

Two honest observations about this design. First: the managed orchestrator has a fixed monthly cost that the estimate in lesson 05-03 warned it was leaving out; with a single daily DAG, Laura should weigh lighter alternatives (the batch service's own scheduler, Step Functions) before signing up for it. Second: there is no Flink, no ClickHouse, no self-run Trino and no separate data warehouse. What is not in the diagram is also a decision.

The same architecture on the other two clouds:

Layer AWS (chosen) Azure Google Cloud
Lake S3 ADLS Gen2 (or OneLake) Cloud Storage
Stream ingestion MSK + MSK Connect Event Hubs (Kafka protocol) Managed Kafka, or Pub/Sub
Batch EMR Serverless Spark in Fabric or Azure Databricks Dataproc Serverless
Streaming Structured Streaming on EMR Structured Streaming in Fabric or Databricks Structured Streaming on Dataproc, or Dataflow
Catalogue and permissions Glue Data Catalog + Lake Formation Purview + the platform's catalogue Dataplex + BigLake
Orchestration MWAA Data Factory Cloud Composer
SQL query Athena Fabric SQL endpoint BigQuery on external tables
BI QuickSight Power BI Looker Studio / Looker
Dashboard counters ElastiCache Cache for Redis Memorystore

Laura's code would change very little between columns: the PySpark scripts are the same, and only the paths (s3a://, abfss://, gs://), the authentication and the way they are launched vary. That is the reward for having built on Spark and Parquet, which are open, and for the NOVAMARKET_LAKE variable from lesson 05-01.

Three snippets: PySpark on objects, serverless SQL and infrastructure as code

Reading from and writing to S3 with PySpark

import os

LAKE = os.environ.get("NOVAMARKET_LAKE", "s3a://novamarket-lake")

events = spark.read.parquet(f"{LAKE}/silver/web_events").where("date = '2026-06-15'")

(events.groupBy("date", "event_type").count()
    .write.mode("overwrite").partitionBy("date")
    .parquet(f"{LAKE}/gold/events_by_type"))
  • The only new thing is the prefix. s3a:// is Hadoop's connector for S3; on managed platforms it comes pre-installed (on EMR you simply write s3://). Outside them you have to add the hadoop-aws package that matches your Spark's Hadoop version.
  • There are no credentials in the code. The cluster runs with a role that has permission on the bucket, and the connector discovers it by itself. An access key written in a script and pushed to a repository is one of the most frequent causes of cloud incidents (lesson 07-01).
  • Partition and column pruning work just as they do locally, and here they matter more: every byte that is not read is money and network time saved.

A serverless SQL query over the Parquet files

With the table declared in the catalogue (a CREATE EXTERNAL TABLE like the Hive one in lesson 06-01, with LOCATION 's3://novamarket-lake/silver/web_events/'), Marc queries from Athena without any cluster existing:

SELECT event_type, COUNT(*) AS events
FROM novamarket_silver.web_events
WHERE date = DATE '2026-06-15'
GROUP BY event_type
ORDER BY events DESC;

It is the same SQL as always. What changes is how you pay: this type of service charges by volume of data read, not by time. The query reads one partition and one column; without the filter on date it would read the entire history. This is the "cost of a badly framed query" case from lesson 05-03, now with the service's name attached. BigQuery follows the same principle in its pay-per-query mode.

Infrastructure as code: the bucket and its life cycle

Creating resources with mouse clicks in a console leaves no trace, cannot be reviewed and cannot be repeated. Infrastructure as code (IaC) describes resources in text files, versioned in git like any script (lesson 05-01). Terraform (and its open fork, OpenTofu) is the most widespread tool and works with every cloud:

resource "aws_s3_bucket" "lake" {
  bucket = "novamarket-lake"
  tags   = { team = "data", environment = "prod" }
}

resource "aws_s3_bucket_lifecycle_configuration" "lake" {
  bucket = aws_s3_bucket.lake.id

  rule {
    id     = "bronze-cool-and-expire"
    status = "Enabled"
    filter { prefix = "bronze/" }

    transition {
      days          = 90
      storage_class = "GLACIER_IR"
    }
    expiration { days = 730 }
  }

  rule {
    id     = "quarantine-expire"
    status = "Enabled"
    filter { prefix = "quarantine/" }
    expiration { days = 90 }
  }
}
  • Each resource block declares a resource: its type, an internal name and its properties. Terraform compares what is declared with what exists and applies only the difference (terraform plan shows the changes; terraform apply carries them out).
  • The first rule is the retention policy from lesson 05-03 turned into configuration: bronze moves to a cold storage class after 90 days and is deleted after two years. The second deletes the quarantine zone after 90 days.
  • The tags make it possible to split the bill by team and environment: they are the foundation of FinOps.
  • A real snippet would add encryption, blocking of public access and versioning. Resource and attribute names depend on the version of the Terraform provider: check them in its documentation.

Caution: an expiry rule really does delete data, and without asking. It is reviewed by two people, tested first in the development environment, and the retention periods for personal data are approved by the compliance officer (lesson 07-02).

How to experiment without spending

  • Free tiers and welcome credits. All three providers offer them, with conditions that change. They are usually enough for practising with storage and small queries; clusters use up the credit quickly.
  • Before anything else, a budget with an alert. It is the first thing to set up in a new account, even a personal one. And at the end of every session, delete what you created: whatever is created with Terraform is destroyed with terraform destroy.
  • Public datasets. Providers host open data that can be queried without loading it.
  • Local emulators. Programs that mimic a service's interface on your machine. For S3-compatible object storage there are, among others, MinIO, SeaweedFS and Garage; LocalStack emulates several AWS services. Their licences and distribution terms have changed in recent years, so check the current situation before adopting one.

With an emulator, PySpark only needs to know where to point (illustrative; requires the hadoop-aws package, which is why it is not offered as a guided exercise):

spark = (
    SparkSession.builder.master("local[*]").appName("emulated_lake")
    .config("spark.hadoop.fs.s3a.endpoint", "http://localhost:9000")
    .config("spark.hadoop.fs.s3a.path.style.access", "true")
    .getOrCreate()
)

The rest of the code, with s3a:// paths, would be identical to production; the test credentials are passed in environment variables. And remember that you already have the best emulator for learning: your ~/novamarket/lake/ folder. Everything you have practised, from partitioning to idempotency, works the same on a bucket.

Regions and data residency

Each provider spreads its data centres across regions, and when you create a resource you choose which one it lives in. All three have a region in Spain. The choice affects latency, price, the services available (not all of them are in every region) and, above all, the legal framework: NovaMarket stores personal data for two million customers, and the General Data Protection Regulation (GDPR) conditions where it can be stored and where it can be transferred. Laura creates everything in the Spain region and disables replication outside the European Union.

Choosing a region does not by itself guarantee regulatory compliance: the contract with the provider, its sub-processors, international transfers and the legislation of the company's home country all come into play. These decisions must be reviewed by the data protection officer (DPO) and the legal team. Lesson 07-02 sets out the framework.

Common Mistakes and Tips

  • Moving the data centre as it is (lift and shift): virtual machines running all day with a hand-installed Hadoop. This is option B in lesson 05-03: you pay for the cloud without taking advantage of its elasticity.
  • Learning names instead of categories. Names go out of date. Anyone who understands what an object store or a serverless SQL engine is can find their way around any provider in an afternoon.
  • Writing credentials in code or in versioned configuration. Roles and secret managers, always.
  • Forgetting egress and inter-region transfer costs. Process the data in the same region where it lives.
  • Creating resources by hand "just to try something out". Whatever is not in code ends up forgotten and left running.
  • Using proprietary services where there was an equivalent open one, without having decided to. Using them is not a mistake; not knowing that you are taking on a dependency is.
  • Assuming that the provider makes the backups and manages the permissions. Shared responsibility: the configuration is yours.

Exercises

Exercise 1: translating an architecture

A company describes its platform on Google Cloud like this: "Events arrive through Pub/Sub, a Dataflow pipeline lands them in Cloud Storage, every night Cloud Composer launches a Dataproc Serverless job, analysts query with BigQuery and the dashboards are in Looker". Write the equivalent architecture on AWS and on Azure.

Exercise 2: classifying by service model

Classify as IaaS, PaaS, serverless or SaaS: a) Kafka installed by you on virtual machines; b) Amazon MSK; c) Athena; d) Snowflake; e) a Dataproc cluster that you create and delete every night; f) BigQuery on pay-per-query. Which would you choose for a query that runs twice a week?

Exercise 3: silver retention

Add a rule for silver/ to the Terraform snippet in line with the policy from lesson 05-03 (two years of retention). Then answer: why not move silver to a deep archive class after 30 days to save money?

Solutions

Exercise 1

Function Google Cloud AWS Azure
Messaging Pub/Sub Kinesis Data Streams or MSK Event Hubs
Stream to storage Dataflow Managed Service for Apache Flink, or a delivery service to S3 Stream Analytics, or Spark in Fabric
Lake Cloud Storage S3 ADLS Gen2
Orchestration Cloud Composer MWAA Data Factory
Batch Dataproc Serverless EMR Serverless Spark in Fabric or Azure Databricks
Query BigQuery Athena or Redshift Fabric (warehouse or SQL endpoint)
BI Looker QuickSight Power BI

There is more than one valid answer per cell. The Dataflow pipeline is written with Apache Beam: on another cloud it would have to be rewritten or run with another runner (lesson 06-03). It is the point of greatest dependency in that architecture.

Exercise 2

a) IaaS. b) PaaS: the service manages Kafka, and you size the nodes (there is also a serverless option). c) Serverless. d) SaaS. e) PaaS, used ephemerally. f) Serverless. For a twice-weekly query, a serverless engine that charges per data read: nothing is running for the rest of the week.

Exercise 3

  rule {
    id     = "silver-expire"
    status = "Enabled"
    filter { prefix = "silver/" }

    transition {
      days          = 180
      storage_class = "STANDARD_IA"
    }
    expiration { days = 730 }
  }

Silver is read: it is queried by analyses, year-on-year comparisons and gold backfills. Deep archive classes charge very little for storage but a lot for retrieval, impose a minimum storage duration and can take hours to return the data; a query by Marc on the previous quarter would fail or turn out extremely expensive. The infrequent-access class after six months is a reasonable compromise, and even so it has to be checked against the real access patterns: if a monthly job scans the whole history, the saving disappears. Common mistake: applying an expiry rule to the wrong prefix. A prefix = "" affects the whole bucket, gold included.

Conclusion

The cloud dominates Big Data for three reasons you have seen applied: elasticity, separation of compute and storage and managed services; and it charges for them in variable cost, vendor lock-in and constraints on data residency. The service models (IaaS, PaaS, serverless and SaaS) determine how much the team operates and how much it delegates. The table of equivalents lets you read any architecture: object storage, managed Spark, data warehouse, serverless SQL, messaging, integration, orchestration, catalogue, NoSQL, ML and BI all have a name on AWS, Azure and Google Cloud, and Databricks and Snowflake offer a common platform on top of all three. NovaMarket is now drawn on AWS, in the Spain region, with a bucket whose life cycle is written in Terraform, and you know how it would translate to the other two clouds and why its code would barely change.

With this you have the complete catalogue: the Hadoop ecosystem, the Spark ecosystem, the specialised tools and the services of the three clouds. That is a lot of pieces, and almost any of them could do the job. The hardest part is still missing: deciding. The last lesson of the module, How to Choose the Technology Stack, turns the catalogue into a method: from requirements to candidates, from evaluation to proof of concept, and from there to a written decision that someone can understand two years from now. It is the lesson promised back in 05-01.

© Copyright 2026. All rights reserved