SageMaker Canvas connect Redshift failed

0

Try to add the Redshift connection on SageMaker Canvas to import the data

  • The cluster identify: redshift-cluster-1
  • database name: dev
  • database user: awsuser
  • unload IAM Role: my-reshift-role
  • connection name: redshift
  • type: IAM

my-reshift-role trust-relationship is trust the "redshift.amazonaws.com" and "sagemaker.amazonaws.com"

Expectation: create connection successfully

Actually result: RedshiftCreateConnectionError Unable to validate connection. An error occurred when trying to list schema from Redshift

1 réponse
0
Réponse acceptée

The sagemaker canvas using sagemaker domain user, so need add the Redshift permission to the IAM Role attached to domain user. After add the permission, the connection can be setup

AWS
répondu il y a 2 ans
AWS
EXPERT
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions