This document describes how to configure an Agent semi-managed migration task to migrate data from AWS S3 (International) to Tencent Cloud COS.
You need to log in to the AWS Management Console (International) for migration from AWS S3 (International).
Only semi-managed migration is supported for AWS S3 (International).
Create an AWS IAM account and grant required permissions:
You can use Migration Service Platform (MSP) with your root account. However, for security reasons, we recommend you create a sub-account, use the sub-account's API key for migration, and delete the sub-user after migration.
On the Object Storage Migration page, click Create a Task to enter the object storage migration task configuration page and set migration parameters.
Set the migration task name.
Task Name: It can contain 1–60 letters, digits, underscores, and hyphens. You will need to use this name when viewing the migration status and progress in the task list.
Estimate the task size.
We recommend you enter an optional accurate task size for us to better prepare resources.
Set the source of files to be migrated.
Here, select AWS S3 (International) for Service Provider and enter the
AccessKeySecret of the AWS sub-account created above in AccessKey and SecretKey boxes respectively. Then, click the Refresh icon on the right of the Migration bucket name drop-down list to get the list of source buckets.
You can also manually enter a source bucket name.
Select the header migration mode.
If the file in the source bucket has headers and tags set and they need to be retained after migration, select to keep them or set the replacement rule.
Set the migration rule.
Choose to migrate all the files of the specified bucket, or only migrate files with a specified prefix.
Set a time range.
Enable Time Range to migrate only files added or changed within the specified time range.
Select a file storage type.
Set the storage type of the migrated files based on your migration needs. You can select Standard Storage, Infrequent Access Storage, Keep the original storage properties, or Archive Storage.
Set the execution speed.
All public cloud object storage services have speed limits. To ensure business stability, check with the source vendor and set the maximum available migration bandwidth in Mbps before migrating.
Select the migration target.
In Migration Target Information, enter the
SecretKey of the Tencent Cloud sub-user for migration. Then, click the Refresh icon on the right of the Migration bucket name drop-down list to get the list of target buckets.
Specify the directory in the target bucket for migration and the method to process files with the same name.
/dir/b.txtare to be migrated, and "dest" is entered in the text box. In this case, after migration, the paths of these two files in the target bucket will be
dest/20180901is entered in the text box, then after migration, the paths of these two files in the target bucket will be
- If you select Overwrite for files with the same name, the source files will directly overwrite the files with the same name in the target bucket.
- If you select Skip for files with the same name, the system will process them based on the last modification time of the files (
- If the
LastModifiedof the file in the source address is at or after that of the file in the target address, overwriting will be performed.
- If the
LastModifiedof the file in the source address is before that of the file in the target address, no overwriting will be performed.
- Perform secondary migration if the object (file) content is changed during migration.
Select a migration mode.
Click Create and Start to start the migration task.
You can view the status and progress of all file migration tasks on the file migration tool homepage:
• For the Task completed status, green indicates that the migration task was completed and all files were successfully migrated, while yellow indicates that the migration task was completed but some files failed to be migrated.
• After you click Retry failed task, files that failed in the task will be retried for migration, while files that have been successfully migrated will not be transferred again.
• You can click Export to export the list of files that failed to be migrated.
The migration speed is subject to the lowest speed during each stage of the migration process and is affected by factors such as the network transfer speed and maximum concurrency as detailed below:
|Read speed of the migration source||The read speed of the data source varies by vendor.
|Transfer speed of MSP||MSP offers up to 2,000 Mbps migration bandwidth in fully managed mode. In semi-managed mode, the bandwidth is subject to your migration resource size.|
|Write speed of the migration target||COS: The default write speed is 15,000 Mbps, and the write QPS is 3,000–30,000.|