marmotdata/sagemaker
Discover models, endpoints, feature groups and training jobs from Amazon SageMaker
The SageMaker plugin discovers models, inference endpoints, model registry groups, feature groups and training jobs from Amazon SageMaker.
Models and model package groups are both catalogued as Models, told apart by the kind metadata field. A registry group named the same as a deployed model resolves to the same asset.
Training jobs are off by default because an account keeps a long job history. Turn them on with include_training_jobs: true.
Lineage
| Edge | Meaning |
|---|---|
| S3 bucket FEEDS model | The bucket holding the model artifact |
| Model FEEDS endpoint | A production variant serves the model |
| S3 bucket FEEDS training job | A training channel reads from the bucket |
| Training job PRODUCES model | The model's artifact is the one the job wrote |
| Feature group PRODUCES Glue table | The offline store is queryable through the table |
| Feature group PRODUCES S3 bucket | The offline store writes to the bucket |
Edges into S3 and Glue name assets those plugins own. Marmot drops an edge whose other end is not catalogued.
Required Permissions
AWS Configuration
See AWS Configuration for the supported AWS configuration options.
Keyless authentication
On Marmot Cloud or Marmot Enterprise the pipeline can present its own identity instead of access keys. Register your Marmot zone as an IAM OIDC identity provider (client id sts.amazonaws.com), create a role whose trust policy allows sts:AssumeRoleWithWebIdentity for that provider with <issuer host>:sub equal to the pipeline's subject, pipeline:<name> as reported by the pipeline API, and set credentials.role_arn and credentials.region. No key exists anywhere; Marmot mints a short-lived token for each run.
Set zone when you catalogue more than one AWS account or region. It becomes part of every MRN the plugin owns, for example mrn://asset/model/sagemaker@prod-eu/churn-xgb. Glue tables are named <database>.<table> as the Glue plugin names them.
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick AWS SageMaker from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
credentialsGroup of settingsAWS credentials configuration
use_defaultYes or noUse AWS credentials from environment or default profile (recommended)
idTextAWS access key ID
secretSecretAWS secret access key
tokenSecretAWS session token
profileTextAWS profile to use from shared credentials file
role_arnTextIAM role to assume with the Marmot identity token (AssumeRoleWithWebIdentity); its trust policy names the Marmot issuer as an OIDC provider. Setting it federates: no keys are needed, and region is required. role, if also set, is assumed on top of it
roleTextAWS IAM role ARN to assume with AssumeRole from the base credentials (static keys, a profile, the default chain, or role_arn)
role_external_idTextExternal ID for cross-account role assumption
regionTextAWS region for services
endpointTextCustom endpoint URL for AWS services
tags_to_metadataYes or noConvert AWS tags to Marmot metadata
include_tagsList of textList of AWS tags to include as metadata. By default, all tags are included.
audienceTextAudience of the Marmot identity token. Derived from the credentials' federation settings; set it only when the cloud side expects another
include_endpointsYes or noWhether to discover inference endpoints
include_model_packagesYes or noWhether to discover model package groups from the model registry
include_feature_groupsYes or noWhether to discover feature groups from the feature store
include_training_jobsYes or noWhether to discover training jobs. Accounts keep a long job history, so this is off by default
Assets emitted
Metadata this plugin attaches to each discovered asset.
Model
The metadata a Model asset carries. Both a deployed model and a model registry group are filed as Models, told apart by the kind field.
Endpoint
The metadata an Endpoint asset carries.
Feature Group
The metadata a feature group Dataset asset carries.
Feature
The per-feature fields embedded in a feature group's schema.
Training Job
The metadata a training Job asset carries.