Create a VPC Endpoint Policy for SageMaker AI MLflow
You can attach an Amazon VPC endpoint policy to the interface VPC endpoints that you use to connect to SageMaker AI MLflow. The endpoint policy controls access to MLflow. You can specify the following:
-
The principal that can perform actions.
-
The actions that can be performed.
-
The resources on which actions can be performed.
For more information, see Controlling access to services with VPC endpoints.
The following example of a VPC endpoint policy specifies that all users that have access to the endpoint are allowed to access to the MLflow tracking server that you specify. Access to other tracking servers is denied.
{ "Statement": [ { "Action": "sagemaker-mlflow:*", "Effect": "Allow", "Principal": "*", "Resource": "arn:aws:sagemaker:
AWS Region
:111122223333
:mlflow-tracking-server/*" } ] }