Connect Amazon S3 buckets to FileMigrata
This article explains how to connect an Amazon S3 bucket to FileMigrata, for example to copy it to another cloud, a SharePoint library, or a different AWS account.
FileMigrata connects to S3 the same way the AWS CLI does. It needs the region, access key, secret, bucket, and an optional prefix.
Limitations
- IAM roles cannot be used in the FileMigrata web form. Use a dedicated IAM user with a short-lived key, and rotate it after cutover.
- Cross-account copies go through FileMigrata as a GET then a PUT, unless both sides are in the same AWS account and CopyObject is allowed.
- AWS multipart ETags are not MD5 hashes. FileMigrata treats ETags as advisory and hashes each object itself. See Checksums and the hash ladder.
- S3 Object Lock and WORM destinations reject overwrites. Use a new prefix, or a bucket without lock, for the first copy.
What is migrated
FileMigrata copies files and objects over the Amazon S3 API or a compatible dialect. It does not copy IMAP mail.
- This store can be a source or a destination.
- Jobs copy by default and leave the source in place. Move, which deletes the source after verification, is optional.
- Only the current version of each file is copied. See Current files only.
- Re-runs skip objects whose hash already matches.
- Data streams through FileMigrata and is not stored. See We never store your files.
Prerequisites
- An IAM user (not the root user) with
s3:ListBucket,s3:GetObject,s3:PutObject, ands3:AbortMultipartUploadon the bucket. - The bucket's AWS region. Do not assume us-east-1.
- An access key ID and secret access key. Save the secret when it is created; it is not shown again.
Connection details
| Setting | Value |
|---|---|
| Protocol | S3 |
| Authentication | Access key / IAM |
| Endpoint | https://s3.<region>.amazonaws.com |
| Regions | 38 |
| Limits | High, with request and bandwidth caps per prefix (default 5,500 GET/s per prefix) |
Virtual-hosted URLs are the AWS default. Path-style is rarely needed for Amazon.
Steps
- In AWS IAM, create a user for this cutover only.
- Attach a customer-managed policy limited to one bucket ARN and its objects.
- Create an access key and copy the secret immediately.
- In FileMigrata, select Amazon S3. Set the region to the bucket's region. The endpoint can stay at
https://s3.<region>.amazonaws.com. - Paste the key and secret, choose the bucket, and click Verify. Verify confirms that ListBucket succeeded.
A successful Verify means FileMigrata could list the store. It does not mean a multi-terabyte migration will finish by a given date. For a dated cutover, contact sales. Start with one mapping. If a job fails partway, resume it rather than starting a duplicate.
Choosing the root
- Choose the bucket, then a prefix if you do not want the whole bucket.
- Do not point a team SharePoint library at the bucket root unless that is the layout you want.
- Empty folder markers (keys ending in
/) are optional. FileMigrata rebuilds the hierarchy from object keys.
Troubleshooting
- AccessDenied on ListBucket: The IAM policy lacks
s3:ListBucketon the bucket resource. Add the bucket ARN as well asarn:aws:s3:::bucket/*. - PermanentRedirect / wrong region: The bucket is in a different region (for example, eu-west-1, not us-east-1). Set the correct region.
- SlowDown / 503: AWS is asking the job to slow down. Leave it running; FileMigrata retries. Do not recreate the job.