Grant Users Permissions to Collaborate with Studio Classic
Note
The functionality described on this page only applies to Amazon SageMaker Studio Classic. Currently, you can only share models to Canvas (or view shared Canvas models) in Studio Classic. If you’re currently using the latest version of Studio, you must run Studio Classic from within the latest version of Studio to share models to Canvas or view models shared from Canvas. For more information about accessing Studio Classic, see the Studio Classic documentation.
Important
Custom IAM policies that allow Amazon SageMaker Studio or Amazon SageMaker Studio Classic to create Amazon SageMaker resources must also grant permissions to add tags to those resources. The permission to add tags to resources is required because Studio and Studio Classic automatically tag any resources they create. If an IAM policy allows Studio and Studio Classic to create resources but does not allow tagging, "AccessDenied" errors can occur when trying to create resources. For more information, see Provide permissions for tagging SageMaker resources.
AWS managed policies for Amazon SageMaker that give permissions to create SageMaker resources already include permissions to add tags while creating those resources.
Your Amazon SageMaker Canvas users might want to share their models with users in Amazon SageMaker Studio Classic to receive feedback and model updates, and Studio Classic users might want to share models with Canvas users so that they can generate predictions in Canvas. The following permissions grant Canvas users and Studio Classic users access to share models with each other.
For more information about how Canvas users can share models with Studio Classic users, see Collaborate on models with data scientists in Studio Classic. For more information about how Canvas users can bring a model shared from Studio Classic, see Bring your own model from SageMaker Studio Classic to SageMaker Canvas.
Before Canvas and Studio Classic users can collaborate, the users must be in the same Amazon SageMaker domain. Add the following IAM permissions added to the same IAM execution role that you've used for their profiles.
To add the permissions to the users’ IAM role, do the following:
-
Go to the IAM console
. -
Choose Roles.
-
In the search box, search for the user's IAM role by name and select it.
-
On the page for the user's role, under Permissions, choose Add permissions.
-
Choose Create inline policy.
-
In the Policy editor, choose JSON and enter the following IAM policy:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "sagemaker:CreateSharedModel", "sagemaker:DescribeSharedModel", "sagemaker:ListSharedModelEvents", "sagemaker:ListSharedModels", "sagemaker:ListSharedModelVersions", "sagemaker:SendSharedModelEvent", "sagemaker:UpdateSharedModel" ], "Resource": "*" } ] }
-
Choose Next.
-
Enter a name for the policy in the Policy name field.
-
Choose Create policy to create the policy and attach it to the role.
For more information about AWS managed policies, see Managed policies and inline policies in the IAM User Guide.