mlflow_tracking_servers
Creates, updates, deletes, gets or lists a mlflow_tracking_servers resource.
Overview
| Name | mlflow_tracking_servers |
| Type | Resource |
| Id | aws.sagemaker.mlflow_tracking_servers |
Fields
The following fields are returned by SELECT queries:
- describe_mlflow_tracking_server
- list_mlflow_tracking_servers
| Name | Datatype | Description |
|---|---|---|
artifact_store_uri | string | The S3 URI of the general purpose bucket used as the MLflow Tracking Server artifact store. (pattern: <code>(https|s3)://([^/]+)/?(.*)</code>) |
automatic_model_registration | boolean | Whether automatic registration of new MLflow models to the SageMaker Model Registry is enabled. |
created_by | object | Information about the user who created or modified a SageMaker resource. |
creation_time | string (date-time) | The timestamp of when the described MLflow Tracking Server was created. |
is_active | string | Whether the described MLflow Tracking Server is currently active. (Active, Inactive) |
last_modified_by | object | Information about the user who created or modified a SageMaker resource. |
last_modified_time | string (date-time) | The timestamp of when the described MLflow Tracking Server was last modified. |
mlflow_version | string | The MLflow version used for the described tracking server. (pattern: <code>[0-9].[0-9].[0-9]*</code>) |
role_arn | string | The Amazon Resource Name (ARN) for an IAM role in your account that the described MLflow Tracking Server uses to access the artifact store in Amazon S3. (pattern: <code>arn:aws[a-z-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@-_/]+</code>) |
s3_bucket_owner_account_id | string | Expected Amazon Web Services account ID that owns the Amazon S3 bucket for artifact storage. (pattern: <code>\d+</code>) |
s3_bucket_owner_verification | boolean | Whether Amazon S3 Bucket Ownership checks are enabled whenever the tracking server interacts with Amazon Amazon S3. |
tracking_server_arn | string | The ARN of the described tracking server. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]:[0-9]{12}:mlflow-tracking-server/.*</code>) |
tracking_server_maintenance_status | string | The current maintenance status of the described MLflow Tracking Server. (MaintenanceInProgress, MaintenanceComplete, MaintenanceFailed) |
tracking_server_name | string | The name of the described tracking server. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,255}</code>) |
tracking_server_size | string | The size of the described tracking server. (Small, Medium, Large) |
tracking_server_status | string | The current creation status of the described MLflow Tracking Server. (Creating, Created, CreateFailed, Updating, Updated, UpdateFailed, Deleting, DeleteFailed, Stopping, Stopped, StopFailed, Starting, Started, StartFailed, MaintenanceInProgress, MaintenanceComplete, MaintenanceFailed) |
tracking_server_url | string | The URL to connect to the MLflow user interface for the described tracking server. |
weekly_maintenance_window_start | string | The day and time of the week when weekly maintenance occurs on the described tracking server. (pattern: <code>(Mon|Tue|Wed|Thu|Fri|Sat|Sun):([01]\d|2[0-3]):([0-5]\d)</code>) |
| Name | Datatype | Description |
|---|---|---|
creation_time | string (date-time) | The creation time of a listed tracking server. |
is_active | string | The activity status of a listed tracking server. (Active, Inactive) |
last_modified_time | string (date-time) | The last modified time of a listed tracking server. |
mlflow_version | string | The MLflow version used for a listed tracking server. (pattern: <code>[0-9].[0-9].[0-9]*</code>) |
tracking_server_arn | string | The ARN of a listed tracking server. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]:[0-9]{12}:mlflow-tracking-server/.*</code>) |
tracking_server_name | string | The name of a listed tracking server. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,255}</code>) |
tracking_server_status | string | The creation status of a listed tracking server. (Creating, Created, CreateFailed, Updating, Updated, UpdateFailed, Deleting, DeleteFailed, Stopping, Stopped, StopFailed, Starting, Started, StartFailed, MaintenanceInProgress, MaintenanceComplete, MaintenanceFailed) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_mlflow_tracking_server | select | region | Returns information about an MLflow Tracking Server. | |
list_mlflow_tracking_servers | select | region | Lists all MLflow Tracking Servers. | |
create_mlflow_tracking_server | insert | region, TrackingServerName, ArtifactStoreUri, RoleArn | 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. | |
update_mlflow_tracking_server | update | region, TrackingServerName | Updates properties of an existing MLflow Tracking Server. | |
delete_mlflow_tracking_server | delete | region | Deletes an MLflow Tracking Server. For more information, see Clean up MLflow resources. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_mlflow_tracking_server
- list_mlflow_tracking_servers
Returns information about an MLflow Tracking Server.
SELECT
artifact_store_uri,
automatic_model_registration,
created_by,
creation_time,
is_active,
last_modified_by,
last_modified_time,
mlflow_version,
role_arn,
s3_bucket_owner_account_id,
s3_bucket_owner_verification,
tracking_server_arn,
tracking_server_maintenance_status,
tracking_server_name,
tracking_server_size,
tracking_server_status,
tracking_server_url,
weekly_maintenance_window_start
FROM aws.sagemaker.mlflow_tracking_servers
WHERE region = '{{ region }}' -- required
;
Lists all MLflow Tracking Servers.
SELECT
creation_time,
is_active,
last_modified_time,
mlflow_version,
tracking_server_arn,
tracking_server_name,
tracking_server_status
FROM aws.sagemaker.mlflow_tracking_servers
WHERE region = '{{ region }}' -- required
;
INSERT examples
- create_mlflow_tracking_server
- Manifest
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.
INSERT INTO aws.sagemaker.mlflow_tracking_servers (
TrackingServerName,
ArtifactStoreUri,
TrackingServerSize,
MlflowVersion,
RoleArn,
AutomaticModelRegistration,
WeeklyMaintenanceWindowStart,
Tags,
S3BucketOwnerAccountId,
S3BucketOwnerVerification,
region
)
SELECT
'{{ TrackingServerName }}' /* required */,
'{{ ArtifactStoreUri }}' /* required */,
'{{ TrackingServerSize }}',
'{{ MlflowVersion }}',
'{{ RoleArn }}' /* required */,
{{ AutomaticModelRegistration }},
'{{ WeeklyMaintenanceWindowStart }}',
'{{ Tags }}',
'{{ S3BucketOwnerAccountId }}',
{{ S3BucketOwnerVerification }},
'{{ region }}'
RETURNING
tracking_server_arn
;
# Description fields are for documentation purposes
- name: mlflow_tracking_servers
props:
- name: region
value: "{{ region }}"
description: Required parameter for the mlflow_tracking_servers resource.
- name: TrackingServerName
value: "{{ TrackingServerName }}"
description: |
A unique string identifying the tracking server name. This string is part of the tracking server ARN.
- name: ArtifactStoreUri
value: "{{ ArtifactStoreUri }}"
description: |
The S3 URI for a general purpose bucket to use as the MLflow Tracking Server artifact store.
- name: TrackingServerSize
value: "{{ TrackingServerSize }}"
description: |
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.
valid_values: ['Small', 'Medium', 'Large']
- name: MlflowVersion
value: "{{ MlflowVersion }}"
description: |
The version of MLflow that the tracking server uses. To see which MLflow versions are available to use, see How it works.
- name: RoleArn
value: "{{ RoleArn }}"
description: |
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.
- name: AutomaticModelRegistration
value: {{ AutomaticModelRegistration }}
description: |
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.
- name: WeeklyMaintenanceWindowStart
value: "{{ WeeklyMaintenanceWindowStart }}"
description: |
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.
- name: Tags
description: |
Tags consisting of key-value pairs used to manage metadata for the tracking server.
value:
- Key: "{{ Key }}"
Value: "{{ Value }}"
- name: S3BucketOwnerAccountId
value: "{{ S3BucketOwnerAccountId }}"
description: |
Expected Amazon Web Services account ID that owns the Amazon S3 bucket for artifact storage. Defaults to caller's account ID if not provided.
- name: S3BucketOwnerVerification
value: {{ S3BucketOwnerVerification }}
description: |
Enable Amazon S3 Ownership checks when interacting with Amazon S3 buckets from a SageMaker Managed MLflow Tracking Server. Defaults to True if not provided.
UPDATE examples
- update_mlflow_tracking_server
Updates properties of an existing MLflow Tracking Server.
UPDATE aws.sagemaker.mlflow_tracking_servers
SET
TrackingServerName = '{{ TrackingServerName }}',
ArtifactStoreUri = '{{ ArtifactStoreUri }}',
TrackingServerSize = '{{ TrackingServerSize }}',
AutomaticModelRegistration = {{ AutomaticModelRegistration }},
WeeklyMaintenanceWindowStart = '{{ WeeklyMaintenanceWindowStart }}',
S3BucketOwnerAccountId = '{{ S3BucketOwnerAccountId }}',
S3BucketOwnerVerification = {{ S3BucketOwnerVerification }}
WHERE
region = '{{ region }}' --required
AND TrackingServerName = '{{ TrackingServerName }}' --required
RETURNING
tracking_server_arn;
DELETE examples
- delete_mlflow_tracking_server
Deletes an MLflow Tracking Server. For more information, see Clean up MLflow resources.
DELETE FROM aws.sagemaker.mlflow_tracking_servers
WHERE region = '{{ region }}' --required
;