2回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
So the issue seemed to be related to the IAM role. The default role (ModelEndpoint-Role
) does not have access to write S3 files. It worked via the SDK since it uses another role in the sagemaker studio. I did not receive any error message about this.
回答済み 2年前
0
I had the same issue, and it was also related to IAM roles, but with a slight variation. When creating my Sagemaker domain I created a role with the suggested AmazonSageMakerFullAccess
role. This role does have permission to write to S3 buckets, but only to those fulfilling any of the the patterns:
"arn:aws:s3:::*SageMaker*",
"arn:aws:s3:::*Sagemaker*",
"arn:aws:s3:::*sagemaker*",
"arn:aws:s3:::*aws-glue*"
As my bucket did not contain either of these patterns, it wasn't allowed to write to it. After renaming my bucket to contain "sagemaker" it worked.
回答済み 3ヶ月前