本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
步驟 1:設定 IAM 許可
建立 Amazon EMR 叢集和執行 Amazon Redshift COPY 命令的使用者必須具備必要的許可。
設定 IAM 許可
-
為將建立 Amazon EMR 叢集的使用者新增下列許可。
ec2:DescribeSecurityGroups ec2:RevokeSecurityGroupIngress ec2:AuthorizeSecurityGroupIngress redshift:DescribeClusters
-
為將執行 COPY 命令的 IAM 角色或使用者新增下列許可。
elasticmapreduce:ListInstances
-
將下列許可新增至 Amazon EMR 叢集的 IAM 角色。
redshift:DescribeClusters