Connect Alibaba Cloud OSS (S3-compatible mode) to FileMigrata
This article explains how to connect Alibaba Cloud OSS to FileMigrata, for example to copy objects to AWS, Cloudflare R2, or Microsoft 365.
FileMigrata uses the OSS S3-compatible mode, not the native OSS SDK.
Limitations
- Some
oss-cn-*(mainland China) endpoints are not reachable from every FileMigrata region. Contact sales before you commit to a cutover date. - Do not use native OSS signed URLs. FileMigrata uses S3-compatible signing.
- Alibaba region names are not AWS region names. Use Alibaba's exact region string.
- Infrequent Access and Archive objects are slow to retrieve. Restore them before the main run.
- OSS-HDFS is not supported.
- DingTalk drive is not OSS and is not supported.
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
- A RAM access key for a user who can list the bucket.
- The region ID exactly as Alibaba shows it, such as
oss-eu-central-1,oss-ap-southeast-1, oross-cn-hangzhou. - S3-compatible access enabled for the bucket and account.
Connection details
| Setting | Value |
|---|---|
| Protocol | S3-compatible |
| Authentication | Access key |
| Endpoint | https://<bucket>.<region>.aliyuncs.com |
| Regions | 28, each with its own endpoint |
| Limits | Request quotas per bucket |
Steps
- In RAM, go to Users, create a user, and enable an AccessKey for it.
- Grant AliyunOSSFullAccess, or a narrower custom policy, on the bucket you plan to copy.
- In FileMigrata, select Alibaba Cloud. Virtual-hosted style (bucket in the hostname) is often required.
- Click Verify. If the InvalidRequest message mentions S3 compatibility, enable S3-compatible mode in OSS.
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
FileMigrata maps one OSS bucket at a time. Folders inside a bucket are prefixes.
Troubleshooting
- InvalidAccessKeyId: The key is from a different Alibaba site (for example, the international site instead of China). Create the key on the same site as the bucket.
- SecondLevelDomainForbidden: The request used path-style addressing where the region expects virtual-hosted. Follow the OSS S3-compatibility documentation for that region.
If something does not match, include the raw vendor error in your support ticket rather than starting a second job.