我想使用 Amazon Simple Storage Service (Amazon S3) 存储桶作为 AWS Database Migration Service (AWS DMS) 的目标。我的资源在同一个账户中。
创建复制实例后,完成以下步骤可以将 S3 存储桶作为 AWS DMS 的目标端点:
有关更多信息,请参阅Using Amazon S3 as a target for AWS Database Migration Service。
1. 打开 IAM 控制台,然后从导航窗格中选择策略。
2. 选择创建策略,然后选择 JSON。
3. 添加与以下示例相似的 IAM policy:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:PutObject", "s3:DeleteObject", "s3:PutObjectTagging" ], "Resource": [ "arn:aws:s3:::bucketname/*" ] }, { "Effect": "Allow", "Action": [ "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::bucketname*" ] } ] }
注意: 将 bucketname 替换为您的桶名称。
4. 选择查看策略,输入名称和描述,然后选择创建策略。
Using Amazon S3 as a source for AWS DMS
Working with an AWS DMS replication instance
Troubleshooting migration tasks in AWS Database Migration Service