AWS Data Engineering
The AWS Modern Data Lake: Architecture That Actually Scales
DataForge AWS Data Engineering Series - Blog 14 of 20
The reference architecture diagram had four boxes and three arrows. S3, Glue, Athena, done. It fit on one slide, and the platform team built exactly that for the first pipeline. Eighteen months and thirty pipelines later, the same four-box diagram was still technically accurate and completely useless as a description of what was actually running — 40 Glue crawlers scheduled hourly regardless of whether their source data had changed, a Lake Formation permission model that had grown to hundreds of individual grants nobody could audit in an afternoon, and six different teams each claiming ownership of overlapping Gold tables with no clear resolution process when their definitions of “customer” disagreed.
None of this happened because the reference architecture was wrong. The four-box diagram was correct for one pipeline. It was never a description of what a data platform serving many teams and many pipelines needed once it stopped being one pipeline and started being a shared, contested resource that dozens of people depended on daily.
Blog 13 built one complete Medallion pipeline. This article is about what happens when that pipeline is one of thirty, all sharing the same underlying AWS account, catalog, and governance layer — where the architecture that scales isn’t about bigger data, but about more concurrent owners, more overlapping consumers, and more decisions that a single team can no longer make in isolation.
Let’s go deep.
TL;DR
A data lake architecture that scales to many teams and many pipelines needs explicit answers to questions a single-pipeline architecture never has to ask: who owns which Gold tables, how does catalog metadata stay current across dozens of sources without crawler costs exploding, how are Lake Formation permissions managed as an auditable system rather than an accumulating pile of individual grants, and how do multiple teams avoid silently building duplicate or conflicting definitions of the same business entity. None of these are solved by more compute or more storage — they’re organizational and architectural decisions that have to be made deliberately before scale forces them.
By the end of this article you’ll be able to:
- Design a multi-team Lake Formation permission model that stays auditable as team count grows
- Apply catalog registration patterns that don’t scale crawler cost linearly with pipeline count
- Establish Gold layer ownership boundaries that prevent duplicate, conflicting business definitions
- Recognize the specific signals that indicate a platform has outgrown its original single-pipeline architecture
Series context: This extends Blog 13’s single-pipeline Medallion implementation to the multi-team, multi-pipeline scale most production AWS data platforms eventually reach. It draws directly on Blog 3 (IAM), Blog 5 (Glue crawlers), and Blog 13 (Lake Formation).

What Actually Changes at Scale (It’s Not the Data Volume)
The instinct when a data platform “needs to scale” is to think about bigger clusters and more storage. The failure modes that actually appear as a platform grows are almost entirely about coordination between people and teams, not raw data volume.
What scales linearly with data volume (Blogs 2, 5, 6
already cover the fixes):
Storage cost, partition strategy, file layout,
compute sizing
What scales with TEAM and PIPELINE COUNT instead
(what this article is actually about):
Catalog registration overhead (crawler cost per
pipeline, multiplied across dozens of pipelines)
Permission management complexity (Lake Formation
grants, multiplied across every team-table
combination)
Namespace collisions (two teams both create a
table called "customers" with different schemas
and different meanings)
Gold layer ownership ambiguity (who is responsible
when a shared Gold table's definition needs to
change, and three teams depend on the current
definition)
The reframe that matters: a platform with 30 pipelines isn’t “30x the data volume problem” — it’s a fundamentally different problem, because it now has 30 different teams’ worth of assumptions, naming conventions, and ownership expectations colliding in a shared account. Solving it requires organizational patterns layered on top of the technical patterns from Blogs 1–13, not just more of the same technical patterns applied more times.
Catalog Registration at Scale: Fixing the Crawler Cost Problem
Blog 5 flagged the crawler frequency cost trap for one pipeline. At 30 pipelines, an unexamined “run every crawler hourly” default becomes a real, compounding cost — and more importantly, an operational bottleneck.
The naive approach that works at 1 pipeline,
breaks at 30:
Each pipeline has its own hourly-scheduled crawler
30 pipelines x 24 runs/day x crawler DPU cost
= a real, continuously growing line item that
scales with pipeline COUNT, not with how often
data actually changes
The pattern that scales: event-driven catalog
registration, applied platform-wide
Every pipeline's S3 write triggers an EventBridge
rule (Blog 4's event pattern, Blog 5's crawler
trigger, applied consistently across every
pipeline rather than pipeline-by-pipeline)
A SHARED crawler orchestration Lambda receives
these events, batches them (avoid triggering
30 separate crawler runs in the same minute if
30 pipelines all write around the same time),
and triggers crawler updates only for the specific
tables that actually changed
# Shared catalog registration pattern — one Lambda
# handling registration events across ALL pipelines,
# not one crawler configuration per pipeline
def lambda_handler(event, context):
s3_event = event['Records'][0]['s3']
bucket = s3_event['bucket']['name']
key = s3_event['object']['key']
# Determine which table this write belongs to
# from a shared, platform-wide naming convention
table_name = derive_table_from_path(key)
# Use explicit ALTER TABLE ADD PARTITION (Blog 12)
# instead of a full crawler re-scan when possible —
# far cheaper at scale than re-crawling entire tables
glue_client = boto3.client('glue')
partition_values = extract_partition_values(key)
glue_client.batch_create_partition(
DatabaseName='silver',
TableName=table_name,
PartitionInputList=[{
'Values': partition_values,
'StorageDescriptor': build_storage_descriptor(bucket, key)
}]
)The principle this implements: at scale, explicit partition registration (Blog 12’s ALTER TABLE ADD PARTITION pattern, or partition projection where the scheme is predictable) should replace full crawler re-scans as the default, with crawlers reserved for genuine schema discovery on new tables rather than routine partition updates on existing ones. This converts a cost that scaled with pipeline count into a cost that scales with actual data change volume.
Lake Formation Permissions as a Managed System, Not an Accumulating Pile
Blog 13 introduced individual Lake Formation grants. At scale, the failure mode isn’t any single grant being wrong — it’s that hundreds of individually-created grants become impossible to audit, and nobody can confidently answer “who can currently access this table” without querying every grant individually.
The pattern that doesn't scale:
Analyst joins team -> engineer manually runs
grant_permissions() for each table they need
Team grows, tables grow, grants accumulate
Nobody has a single view of "what can this
identity access" without querying Lake Formation
API for every possible resource
The pattern that scales: LF-Tag-based access,
applied systematically (extending Blog 13's
introduction to platform-wide policy)
Every table tagged with:
domain (e.g., 'finance', 'marketing', 'platform')
sensitivity (e.g., 'public', 'internal', 'restricted')
Every IAM role/group tagged with the domains and
sensitivity levels they're authorized for
ONE grant per domain+sensitivity combination,
not one grant per table - new tables tagged
correctly are automatically covered by existing
policy, the same operational leverage as ABAC
in the Databricks series, now applied across an
entire multi-team platform instead of one pipeline
# Platform-wide LF-Tag taxonomy — defined once,
# applied consistently by every team's pipeline
lf_client.create_lf_tag(TagKey='domain',
TagValues=['finance', 'marketing', 'platform', 'ml'])
lf_client.create_lf_tag(TagKey='sensitivity',
TagValues=['public', 'internal', 'restricted'])
# Every new table gets tagged as part of its creation
# pipeline (Blog 13's Silver/Gold write step), not as
# a separate manual governance task after the fact
lf_client.add_lf_tags_to_resource(
Resource={'Table': {'DatabaseName': 'gold', 'Name': 'revenue_by_region'}},
LFTags=[
{'TagKey': 'domain', 'TagValues': ['finance']},
{'TagKey': 'sensitivity', 'TagValues': ['internal']}
]
)
# ONE grant covers every table tagged domain=finance,
# sensitivity=internal — present and future
lf_client.grant_permissions(
Principal={'DataLakePrincipalIdentifier': 'arn:aws:iam::123:role/finance-analysts'},
Resource={'LFTagPolicy': {
'Expression': [
{'TagKey': 'domain', 'TagValues': ['finance']},
{'TagKey': 'sensitivity', 'TagValues': ['internal']}
]
}},
Permissions=['SELECT']
)Why this is the difference between an auditable platform and an unauditable one: with tag-based policy, “what can the finance-analysts role access” is answered by looking at one grant definition, not by searching for every individual table-level grant that might exist. This is the same governance-at-scale principle the Databricks series made for ABAC — tags let policy follow data attributes instead of requiring a person to remember to update every individual grant as the platform grows.
Gold Layer Ownership: Preventing the “Three Teams, Three Definitions of Customer” Problem
This is the failure mode that’s organizational at its root but has a concrete architectural fix — Blog 13 established that Gold objects should be separate per consumer pattern; at scale, “per consumer pattern” needs an explicit ownership model or it degrades into uncoordinated duplication.
The failure mode:
Marketing team builds gold.customer_summary for
campaign targeting
Finance team, needing similar customer data,
doesn't know marketing's table exists (or doesn't
trust its definition) and builds gold.customers_fin
Product team builds a third, gold.active_customers,
with yet another definition of what counts as
"active"
Three tables, three different customer counts,
three different stakeholders eventually asking
"why don't these numbers match" in the same meeting
The architectural fix: a Gold layer OWNERSHIP
REGISTRY, not just a naming convention
A lightweight catalog (can be as simple as a
Glue table itself, or a shared spreadsheet/wiki
for smaller platforms) recording:
- Gold table name
- Owning team
- Business definition (what does "customer",
"active", "revenue" mean in THIS table)
- Known consumers
Before building a new Gold table, the required
step is checking this registry first — the
organizational equivalent of Blog 3's "check
IAM before assuming you need a new role"
Why this needs to be a registry, not just documentation nobody reads: the specific failure isn’t lack of documentation — it’s lack of a discovery step built into the pipeline creation process. Making the registry check a required step (enforced via a pull request template, an architecture review checklist, or a Step Functions-orchestrated approval gate before a new Gold CTAS job can be deployed) is what actually prevents the duplication, not the existence of a document that a team under deadline pressure skips reading.
The Multi-Account Question: When One AWS Account Stops Being Enough
Blog 13 assumed a single-account implementation. At genuine platform scale, many organizations split raw ingestion, processing, and consumption across separate AWS accounts — a decision with real trade-offs worth stating explicitly.
Single account, all pipelines:
Simpler IAM (Blog 3) — everything is same-account
Simpler networking (Blog 4) — no cross-account
VPC peering or Lake Formation resource sharing
Blast radius risk: a misconfigured pipeline in
one team's Glue job can, in principle, reach
resources belonging to a completely unrelated
team if permissions aren't scoped tightly
Multi-account (e.g., separate accounts for raw
ingestion, processing, and each major consuming
team):
Stronger blast radius isolation — an account
boundary is a harder security boundary than an
IAM policy alone
Requires cross-account Lake Formation resource
sharing (an extension of Blog 13's single-account
Lake Formation model) and cross-account IAM
patterns (Blog 3's cross-account bucket policy
pattern, applied to Lake Formation-shared
resources)
Real added complexity — cross-account debugging,
cross-account cost attribution, and cross-account
networking (Blog 4) all become necessary skills
The decision point that actually matters: multi-account architecture is not a default recommendation — it’s justified specifically when blast radius isolation between teams or regulatory/compliance boundaries require it. A platform of 5 pipelines within one product team rarely needs multi-account complexity. A platform spanning finance, marketing, and product data with different compliance requirements per domain often does.
Architecture Flow: A Multi-Team Data Lake
Team A pipeline Team B pipeline Team C pipeline
(marketing) (finance) (product)
| | |
+-------------------+------------------+
|
v
Shared S3 Bronze/Silver structure
(consistent naming convention across
teams — Blog 2's principles applied
as a PLATFORM standard, not per-team)
|
v
Event-driven catalog registration
(shared Lambda, ALTER TABLE ADD
PARTITION pattern, not per-pipeline
crawlers)
|
v
+---------------------------------------------------+
| Glue Data Catalog (shared) |
| + Lake Formation LF-Tag policy |
| (domain x sensitivity, applied platform-wide) |
+----------------------+----------------------------+
|
v
Gold Layer Ownership Registry
(checked BEFORE building new Gold
tables — prevents duplicate
"customer" definitions)
|
+-----------+-----------+
v v v
gold.finance gold.marketing gold.product
(owned by (owned by (owned by
Team B) Team A) Team C)
| | |
+-----------+-----------+
v
Cross-team consumers, governed
access via LF-Tags, single source
of truth per business definitionFailure Modes You’ll See in Production
Crawler cost scaling linearly with pipeline count. Thirty pipelines, thirty hourly crawlers, a cost line item that grows every time a new pipeline launches regardless of how often the underlying data actually changes — the exact Blog 5 failure mode, compounded thirty-fold because nobody established a platform-wide event-driven registration pattern before pipeline count grew.
Lake Formation grants accumulating into an unauditable pile. Individual grant_permissions() calls made ad hoc as each new analyst or pipeline needs access, with no tagging strategy. Eighteen months later, answering "who can access this restricted table" requires querying every grant individually, and nobody trusts the answer is complete.
Three teams building three different “customer” definitions. The scenario in this article’s Gold ownership section — no registry, no discovery step, three overlapping and conflicting Gold tables, and an eventual meeting where the disagreement in numbers becomes visible to leadership before anyone traces it to duplicated, uncoordinated Gold layer ownership.
A misconfigured pipeline in a single-account architecture reaching another team’s resources. Without careful IAM scoping (Blog 3) within a single-account model, a Glue job’s overly broad S3 permissions (the “s3:* to make it work” anti-pattern from Blog 3) accidentally reads or writes data belonging to an unrelated team, because nothing about the account boundary prevented it.
Namespace collision from inconsistent naming conventions across teams. Two teams both create a Glue database called analytics, or both create a table called events with different schemas, without a platform-wide naming convention established before multiple teams started building independently — a problem that's trivial to prevent early and genuinely painful to untangle after the fact.
Multi-account migration undertaken without a clear justification, adding complexity without corresponding benefit. A platform team migrates to a multi-account architecture because it “seems like the mature approach,” without a specific blast-radius or compliance driver — taking on cross-account IAM, networking, and Lake Formation resource sharing complexity (each with its own failure modes from Blogs 3, 4, 13) without the isolation benefit actually being needed at that platform’s current risk profile.
Trade-offs: What Scaling the Platform Actually Costs
Platform-scale patterns optimize for:
- Auditable, tag-based governance that doesn’t require per-resource manual grants
- Catalog registration cost that scales with data change frequency, not pipeline count
- Explicit ownership preventing duplicated business logic across teams
- Blast radius isolation where genuinely justified by compliance or organizational risk
Platform-scale patterns cost:
- Upfront coordination overhead — establishing naming conventions, tag taxonomies, and ownership registries before they’re urgently needed, which requires organizational buy-in beyond what any single pipeline team can unilaterally decide
- Slower initial pipeline delivery — checking a Gold ownership registry or following a platform-wide tagging convention adds friction compared to a single team building in isolation
- Genuine multi-account complexity if that boundary is adopted — real, ongoing operational cost that needs to be justified by real isolation requirements
The honest trade-off: every pattern in this article trades some speed and autonomy for coordination and auditability. This trade is worth making before a platform reaches 10+ pipelines and multiple teams — retrofitting these patterns onto an already-uncoordinated platform (the opening scenario’s 18-month situation) is significantly more expensive than establishing them from pipeline three or four onward.
Real-World Constraints
Lake Formation LF-Tag limits. There are limits on the number of tags and tag values per resource and per account. A tag taxonomy needs deliberate design — too granular (a tag value per individual table) recreates the per-resource grant problem this article’s pattern is meant to solve; too coarse (one tag for the entire platform) provides no meaningful access differentiation.
Cross-account resource sharing has its own IAM and networking prerequisites. Lake Formation cross-account sharing (via AWS Resource Access Manager) requires both accounts to be correctly configured, and troubleshooting cross-account permission issues compounds Blog 3’s single-account IAM diagnostic complexity with an additional cross-account dimension.
Organizational buy-in is a real prerequisite, not just a technical configuration step. A tag taxonomy or Gold ownership registry that one team adopts and others ignore provides none of this article’s benefits — these patterns only work as platform-wide conventions, which requires genuine cross-team agreement, not just one team’s architectural decision.
What This Means for the Rest of the Series
Blog 17 (Lake Formation deep dive): expands significantly
on the LF-Tag governance
model introduced here
and in Blog 13
Blog 20 (Production checklist): includes platform-scale
readiness items (tagging
convention established,
ownership registry in place)
distinct from the single-
pipeline checklist items
Summary: The Engineering Lesson
A data lake architecture doesn’t fail at scale because the diagram was wrong. It fails because the diagram was never meant to answer the questions that only appear once a data platform has many owners instead of one — who owns this table, why does this crawler run every hour, and why do three teams have three different numbers for the same business concept.
The eighteen months in the opening scenario weren’t wasted because the original four-box architecture was a mistake. They were the period during which the platform quietly accumulated exactly the coordination debt this article addresses — debt that’s cheap to avoid early and expensive to pay down once thirty pipelines and six teams depend on the uncoordinated state.
The technical patterns from Blogs 1 through 13 are necessary but not sufficient at platform scale. The organizational patterns — tagging conventions, ownership registries, deliberate account boundaries — are what make those technical patterns actually hold together once more than one team is building on the same foundation.
Next in Series
Blog 15 - Real-Time Data Pipeline on AWS: Kinesis → Lambda → S3 → Athena
Phase 3 continues with a complete, concrete end-to-end architecture — this time for real-time data, assembling Kinesis (Blog 8), Lambda (Blog 10), S3 (Blog 2), and Athena (Blog 12) into one pipeline with every configuration decision explained.
We’ll go deep on the specific latency, cost, and reliability trade-offs at each stage of this pipeline, and where the pattern needs to change if requirements shift from “near real-time is fine” to genuine sub-second processing.
Comment Below
What’s the coordination problem you’ve seen emerge as an AWS data platform grew from one pipeline to many?
Was it crawler costs scaling with pipeline count instead of data change frequency? Lake Formation grants nobody could confidently audit after enough time had passed? Multiple teams building conflicting definitions of the same core business entity, discovered only when the numbers didn’t match in a meeting?
And — was the fix a technical change, or did it require getting multiple teams to agree on a shared convention first?
Tags: aws-data-engineering, data-lake, lake-formation, glue-data-catalog, multi-account, platform-architecture, governance-at-scale, dataforge