create_mlflow_tracking_server
¶
create_mlflow_tracking_server(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
tracking_server_name: Optional[TrackingServerName] = None,
artifact_store_uri: Optional[S3Uri] = None,
tracking_server_size: Optional[TrackingServerSize] = None,
mlflow_version: Optional[MlflowVersion] = None,
role_arn: Optional[RoleArn] = None,
automatic_model_registration: Optional[Boolean] = None,
weekly_maintenance_window_start: Optional[WeeklyMaintenanceWindowStart] = None,
tags: Optional[TagList] = None,
s3_bucket_owner_account_id: Optional[AccountId] = None,
s3_bucket_owner_verification: Optional[Boolean] = None,
) -> CreateMlflowTrackingServerResponse
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.
Parameters:
-
tracking_server_name(Optional[TrackingServerName], default:None) –A unique string identifying the tracking server name. This string is part of the tracking server ARN.
-
artifact_store_uri(Optional[S3Uri], default:None) –The S3 URI for a general purpose bucket to use as the MLflow Tracking Server artifact store.
-
tracking_server_size(Optional[TrackingServerSize], default:None) –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.
-
mlflow_version(Optional[MlflowVersion], default:None) –The version of MLflow that the tracking server uses. To see which MLflow versions are available to use, see How it works.
-
role_arn(Optional[RoleArn], default:None) –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
AmazonS3FullAccesspermissions. For more information on IAM permissions for tracking server creation, see Set up IAM permissions for MLflow. -
automatic_model_registration(Optional[Boolean], default:None) –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 toFalse. If not specified,AutomaticModelRegistrationdefaults toFalse. -
weekly_maintenance_window_start(Optional[WeeklyMaintenanceWindowStart], default:None) –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(Optional[TagList], default:None) –Tags consisting of key-value pairs used to manage metadata for the tracking server.
-
s3_bucket_owner_account_id(Optional[AccountId], default:None) –Expected Amazon Web Services account ID that owns the Amazon S3 bucket for artifact storage. Defaults to caller's account ID if not provided.
-
s3_bucket_owner_verification(Optional[Boolean], default:None) –Enable Amazon S3 Ownership checks when interacting with Amazon S3 buckets from a SageMaker Managed MLflow Tracking Server. Defaults to
Trueif not provided.
Raises:
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 | |