View a markdown version of this page

How cataloging works - Amazon SageMaker AI

How cataloging works

When an administrator turns on cataloging in the AWS Glue console for your AWS account, Amazon SageMaker AI registers your existing and new AI assets to AWS Glue Data Catalog as you create and update them. AWS Glue Data Catalog stores each asset's technical metadata, the lineage that connects it to other assets, and any business context that your organization adds. You can then find and use assets in Amazon SageMaker AI Studio and query them in Amazon S3 system tables. The following sections describe each part of this process.

Automatic cataloging

Cataloging is opt-in. An administrator turns it on once for the account in the AWS Glue console. For instructions, see Set up catalog.

After cataloging is turned on, Amazon SageMaker AI automatically registers an existing or new asset to the AWS Glue Data Catalog for your account each time you create or update a supported resource, such as a model version. You don't register assets yourself. For the asset types that are registered, see Supported assets.

Technical metadata

Each asset includes technical metadata that Amazon SageMaker AI captures from the underlying resource, such as the asset type, owner, storage location, and creation time. Some asset types include more metadata. For example, a model version includes its approval status and inference containers. For the metadata registered for each asset type, see Supported assets.

Lineage

As your Amazon SageMaker AI jobs run, Amazon SageMaker AI sends a lineage record to AWS Glue Data Catalog for each job, capturing its inputs and outputs. AWS Glue Data Catalog combines these records with lineage across AWS resources into a single graph. The graph includes column-level lineage from source tables to feature group features in OpenLineage format.

For more information, see Trace lineage from data to AI.

Business context

Administrators and asset owners can add business context to the technical metadata:

  • Glossary terms: shared business definitions, such as Churn Model. For more information, see Glossary terms.

  • Metadata forms: your own fields, such as business owner or risk tier. For more information, see Metadata forms.

AWS Glue Data Catalog indexes business context together with technical metadata for semantic search, and stores them. This lets users find assets by business meaning, not only by exact name. For more information, see Business context in the Data Catalog.

Use the catalog

You can work with registered assets in the following ways:

  • Amazon SageMaker AI Studio: search, review lineage, and use assets from the Catalogs page. For more information, see Amazon SageMaker AI Studio.

  • AWS Glue console, AWS CLI, and APIs: manage assets, glossary terms, and metadata forms. For more information, see Automatic asset discovery in AWS Glue.

  • Amazon SageMaker AI notebook: search, view, and use registered assets in your Jupyter notebook to query tables or deploy models. For more information, see Prepare your data in a notebook.

  • Query with SQL: AWS Glue Data Catalog publishes registered assets and lineage to read-only Apache Iceberg tables in Amazon S3 Tables. You can query these tables from Iceberg-compatible engines. For more information, see AWS managed table buckets.

Turn off cataloging

An administrator can turn off cataloging at any time in the AWS Glue console. For more information, see Automatic asset discovery in AWS Glue.

Important

When you turn off cataloging, users can no longer find those assets through catalog search in Amazon SageMaker AI Studio. Turning off cataloging doesn't delete the underlying Amazon SageMaker AI resources. You can still access those resources in Amazon SageMaker AI.