Lesson 5 of 5 Data Governance and SageMaker Unified Studio

Sharing Data Across Teams, Accounts and Companies

This lesson explains the services and architectural frameworks for sharing data across teams, accounts and companies without losing control of who sees what.

Learning outcomes

After completing this lesson, you will be able to:

  • Choose between Redshift data sharing, Lake Formation sharing and AWS Data Exchange.
  • Distinguish centralised lakes, hub-and-spoke designs and data mesh.
  • Apply governance to shared datasets.

Sharing services

Three services share data, each for a different situation. Redshift data sharing gives other warehouses live, read-only access to Redshift data across clusters, workgroups, accounts and Regions, without copies, and consumers pay for their own compute. Lake Formation shares Data Catalog tables across accounts, with its fine-grained permissions still enforced.

AWS Data Exchange is a marketplace: you subscribe to third-party datasets, delivered as files, Redshift datashares, APIs or S3 data, and you can publish your own data products. The following table summarises the services.

ServiceShares
Amazon Redshift data sharingLive data across clusters, workgroups, accounts and Regions, no copies; consumers use their own compute
AWS Lake FormationData Catalog tables across accounts with fine-grained permissions
AWS Data ExchangeThird-party data sets (files, datashares, APIs, S3) to subscribe to, and your own data products
Sort into groups

Which sharing service?

Exam skills 4.5.1 · 4.5.7

Choose the sharing service for each requirement.

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

Architectural frameworks

Organisations divide ownership of data in one of three ways. In a centralised data lake, one team owns both the platform and the data, which keeps control simple but can make that team a bottleneck. In a data mesh, business domains, such as sales or finance, own their data and publish it as products for others. A self-service platform and federated governance keep the domains consistent. In a hub-and-spoke design, a central governance account catalogues data and shares it with consumer accounts, often through Lake Formation and SageMaker Catalog, combining central control with distributed use. The following table summarises the patterns.

PatternHow it works
Centralised data lakeOne team owns the platform and the data
Data meshBusiness domains own their data as products, with federated governance and self-service infrastructure
Hub-and-spokeA central governance account catalogues and shares data with consumer accounts, often via Lake Formation and SageMaker Catalog

The following diagram compares the three ways of dividing ownership.

Three ways to divide data ownership. In a centralised lake, one team owns the platform and all the data. In a data mesh, business domains own their data and publish it as products, with federated governance. In hub and spoke, a central governance account catalogues data and shares it with consumer accounts, often through Lake Formation and SageMaker Catalog.
The domains are illustrative.
Match the pairs

Ownership patterns

Exam skills 4.5.7

Match each description with the data ownership pattern.

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

Governance concerns

Whichever sharing pattern an organisation chooses, the same governance concerns apply, and sharing without them quickly leads to confusion and risk. Every shared dataset needs a clear owner who is accountable for it, a classification that determines who may see it, and published data quality information so consumers know whether they can rely on it.

Shared data also needs lineage, so consumers understand where it came from; access control that is enforced by the platform rather than by convention; auditing of who accessed what; and rules for lifecycle and retention, so that copies made by consumers do not outlive the original data's permitted retention period.

Worked example

Sharing without copying

Data may be shared with other teams and organisations without creating copies. The following table identifies the appropriate sharing pattern for each situation.

SituationPattern
Another team's Redshift cluster needs live sales tablesRedshift data sharing
Another AWS account needs governed access to lake tablesLake Formation cross-account sharing
A partner company needs curated data, with licensingAWS Data Exchange
Many domains publish and consume data products across the companyData mesh with SageMaker Catalog and Lake Formation
A one-off export for an external auditorS3 presigned URLs or a dedicated bucket with limited-time access

Sharing in place keeps one copy of the data, so consumers always see current data and permissions can be revoked at any time. Copies, by contrast, drift out of date and escape governance.

Check yourself

How can a company subscribe to third-party data sets?

Show answer

Through AWS Data Exchange.

Exam Tips

Remember for the exam

  • To give another account live warehouse data without copying it, use Redshift data sharing.
  • To share catalogued data lake tables across accounts with fine-grained permissions, use Lake Formation.
  • To subscribe to third-party data sets, use AWS Data Exchange.
  • Domain-owned data products with federated governance describe a data mesh.
  • A central governance account sharing data with consumers describes a hub-and-spoke design.