This topic describes how to prepare for a migration task.

AWS S3

  • Restore data in the source bucket
    Before you create a migration job to migrate data of the Archive and Cold Archive storage classes, you must manually restore the data. Data Online Migration does not restore data in archived files at the source data address during data migration. The files that are not restored or are being restored cannot be migrated. For more information about how to restore data of the Archive and Cold Archive storage classes, see Solutions to migrate archived data.
    Note
    • Before you create a source data address and a migration job, make sure that data in archived files is restored.
    • Specify the number of days during which the restored data remains in the restored state based on the amount of data that you want to migrate. This can prevent data from entering the archived state during data migration.
    • You may be charged for the restoration operation. For information about the billing methods, contact the service provider that offers the source bucket.
  • Create an AccessKey pair for migration.

    Log on to the AWS IAM console, create an Identity and Access Management console (IAM) user, attach the AmazonS3ReadOnlyAccess permission policy to the IAM user, and then create an AccessKey pair for the IAM user.

Note

Data Online Migration does not support AWS S3 whitelists. Before you migrate data, disable the access restriction.

Alibaba Cloud OSS

  • Create a destination Object Storage Service (OSS) bucket.

    Create a destination bucket to store the migrated data. For more information, see Create buckets.

  • Create a RAM user and grant required permissions to the RAM user.
    1. Log on to the Resource Access Management (RAM) console.
    2. In the left-side navigation pane, choose Identities > Users.
    3. On the Users page, click Create User.
    4. In the User Account Information section of the Create User page, configure the Logon Name and Display Name parameters.
    5. In the Access Mode section, select Console Access and OpenAPI Access. Then, save the generated logon name, password, AccessKey ID, and AccessKey secret.
      1. Console Access: If you select this option, you must configure the console password, password reset settings, and multi-factor authentication (MFA) settings.
      2. OpenAPI Access: If you select this option, an AccessKey pair is automatically created for the RAM user. The RAM user can call API operations or use other development tools to access Alibaba Cloud resources.
    6. After the RAM user is created, go to the Users page. Find the RAM user that you want to manage and click Add Permissions in the Actions column to grant the RAM user the AliyunOSSFullAccess permissions.
    7. In the left-side navigation pane, click Overview.
    8. On the page that appears, navigate to the Account Management section and click the link under RAM user logon. On the page that appears, enter the logon name and password of the RAM user to log on to the Alibaba Cloud Management Console.