- Newest
- Most votes
- Most comments
Based on your description, you're trying to use Rclone to transfer data from Google Drive to AWS S3 and encountering an error related to bucket creation, even though you already have a bucket and confirmed its access.
This issue is likely related to IAM permissions. When using Rclone to transfer data to an existing S3 bucket, you need to ensure that the IAM role or user has the correct permissions to write to the bucket.
Here are some steps to troubleshoot and resolve this issue:
- Check the IAM permissions associated with the credentials you're using for Rclone. For a destination S3 bucket, you need at minimum these permissions:
- s3:PutObject
- s3:ListBucket
- s3:PutObjectAcl
- s3:AbortMultipartUpload
- s3:ListBucketMultipartUploads
- s3:ListMultipartUploadParts
- Ensure your IAM policy includes both the bucket itself and its contents:
"Resource": [
"arn:aws:s3:::your-bucket-name/*",
"arn:aws:s3:::your-bucket-name"
]
-
If your S3 bucket has encryption enabled (SSE-S3 or SSE-KMS), make sure your IAM role has the necessary permissions to use the encryption keys.
-
Check if there's a bucket policy on the S3 bucket that might be restricting access.
-
If you're using the CloudFormation template mentioned in the AWS Storage Blog for Rclone setup, make sure you've correctly specified your existing bucket name in the template parameters.
-
Verify that the EC2 instance created for the Rclone transfer has network connectivity to S3.
-
If you're experiencing slow transfer rates, consider enabling S3 Transfer Acceleration or adjusting Rclone's concurrent transfer settings.
By addressing these permission and configuration issues, you should be able to successfully transfer your data from Google Drive to your existing S3 bucket using Rclone.
Sources
Migrate data from Google Drive to Amazon S3 using Rclone | AWS Storage Blog
Set up credentials for Amazon S3 - Data Transfer Hub
very low transfer rate - 2kb/s | AWS re:Post
AWS Transfer Family does not use S3 default encryption - SFTP - access denied | AWS re:Post
Relevant content
asked 10 months ago
asked 4 years ago
