SageMaker / Client / create_mlflow_tracking_server

create_mlflow_tracking_server#

SageMaker.Client.create_mlflow_tracking_server(**kwargs)#

Creates an MLflow Tracking Server using a general purpose Amazon S3 bucket as the artifact store. For more information, see Create an MLflow Tracking Server.

See also: AWS API Documentation

Request Syntax

response = client.create_mlflow_tracking_server(
    TrackingServerName='string',
    ArtifactStoreUri='string',
    TrackingServerSize='Small'|'Medium'|'Large',
    MlflowVersion='string',
    RoleArn='string',
    AutomaticModelRegistration=True|False,
    WeeklyMaintenanceWindowStart='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters:
  • TrackingServerName (string) –

    [REQUIRED]

    A unique string identifying the tracking server name. This string is part of the tracking server ARN.

  • ArtifactStoreUri (string) –

    [REQUIRED]

    The S3 URI for a general purpose bucket to use as the MLflow Tracking Server artifact store.

  • TrackingServerSize (string) –

    The size of the tracking server you want to create. You can choose between "Small", "Medium", and "Large". The default MLflow Tracking Server configuration size is "Small". You can choose a size depending on the projected use of the tracking server such as the volume of data logged, number of users, and frequency of use.

    We recommend using a small tracking server for teams of up to 25 users, a medium tracking server for teams of up to 50 users, and a large tracking server for teams of up to 100 users.

  • MlflowVersion (string) – The version of MLflow that the tracking server uses. To see which MLflow versions are available to use, see How it works.

  • RoleArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) for an IAM role in your account that the MLflow Tracking Server uses to access the artifact store in Amazon S3. The role should have AmazonS3FullAccess permissions. For more information on IAM permissions for tracking server creation, see Set up IAM permissions for MLflow.

  • AutomaticModelRegistration (boolean) – Whether to enable or disable automatic registration of new MLflow models to the SageMaker Model Registry. To enable automatic model registration, set this value to True. To disable automatic model registration, set this value to False. If not specified, AutomaticModelRegistration defaults to False.

  • WeeklyMaintenanceWindowStart (string) – The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: TUE:03:30.

  • Tags (list) –

    Tags consisting of key-value pairs used to manage metadata for the tracking server.

    • (dict) –

      A tag object that consists of a key and an optional value, used to manage metadata for SageMaker Amazon Web Services resources.

      You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see AddTags.

      For more information on adding metadata to your Amazon Web Services resources with tagging, see Tagging Amazon Web Services resources. For advice on best practices for managing Amazon Web Services resources with tagging, see Tagging Best Practices: Implement an Effective Amazon Web Services Resource Tagging Strategy.

      • Key (string) – [REQUIRED]

        The tag key. Tag keys must be unique per resource.

      • Value (string) – [REQUIRED]

        The tag value.

Return type:

dict

Returns:

Response Syntax

{
    'TrackingServerArn': 'string'
}

Response Structure

  • (dict) –

    • TrackingServerArn (string) –

      The ARN of the tracking server.

Exceptions

  • SageMaker.Client.exceptions.ResourceLimitExceeded