Lesson 5 of 5 Data Lake and Analytics Architectures

Sharing Data Across Accounts and with Partners

This lesson explains how Lake Formation and Redshift data sharing share data inside an organisation without copies, and how AWS Clean Rooms supports joint analysis with other organisations.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain how Lake Formation cross-account sharing and resource links work.
  • Describe when Redshift data sharing fits.
  • Explain how AWS Clean Rooms protects each party's records.

Sharing within the organisation

In a data mesh, producer accounts own their data and publish curated data products, and a central governance account manages permissions. Lake Formation shares Data Catalog databases and tables with other accounts, OUs or the organisation through AWS RAM, using named resources or LF-tags (tag-based access control that covers new tables as soon as they are tagged). Consumers create resource links in their own catalogs and query in place with Athena, Redshift or EMR, with column, row and cell-level permissions still enforced. Redshift data sharing gives other warehouses, including in other accounts, live read access to schemas and tables, each consumer using its own compute.

Collaborating with other organisations

AWS Clean Rooms lets several organisations analyse their combined data without sharing or copying the underlying records. Members create a collaboration, configure their tables with analysis rules (for example aggregation rules with minimum thresholds, list rules or approved custom SQL) that limit what queries may return, and can add differential privacy and cryptographic computing. Data stays in each member's S3 or warehouse, and only approved results are returned.

NeedMechanism
Teams in other accounts query curated lake tables in placeLake Formation cross-account sharing with LF-tags
Live access to another team's warehouse tablesRedshift data sharing
Joint analysis with a partner without exposing recordsAWS Clean Rooms
Discover available dataGlue Data Catalog with business metadata
Scenario questions

Sharing data safely

Exam skills 1.5.7

Choose how to share or combine data across organisations.

Log in to try this activity Interactive activities are free with an account.

Governance considerations

  • Grant on LF-tags rather than individual tables so that permissions scale and new data is covered.
  • Keep producers accountable for data quality and documentation of their products.
  • Audit access centrally with CloudTrail and Lake Formation logs.
  • Encrypt shared data with KMS keys that consumers are allowed to use.
Worked example

Retail media measurement

A retailer shares curated sales tables with marketing and finance teams in 20 accounts, and wants to measure how a brand's advertising affected purchases without either company seeing the other's customer lists.

Internally, the data platform tags tables with domain=sales and sensitivity=internal, and grants consumer accounts access by LF-tag expression; consumers query through resource links.

For the brand, the retailer creates a Clean Rooms collaboration: each side configures its tables with an aggregation rule that requires at least 100 customers in any result, so the brand learns conversion rates but never individual identities.

Check yourself

What does a consumer account create to query a table shared through Lake Formation?

Show answer

A resource link in its own Data Catalog that points to the shared database or table.

Exam Tips

Remember for the exam

  • Share curated tables with many accounts without copies, at column level: Lake Formation with LF-tags.
  • Consumers query shared tables: resource links in their own catalog.
  • Joint analysis with a partner without revealing records: AWS Clean Rooms with analysis rules.
  • Live access to another warehouse's tables: Redshift data sharing.