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
6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 | |