This topic describes what you need to prepare before migration.

Google Cloud Storage

  • Estimate the amount of data to be migrated.
    Estimate the size and number of files to be migrated. You can use the gsutil tool or storage logs to view the capacity of a bucket. For more information, see How to retrieve the details of a bucket.
    Note You must enter an appropriate size and number of objects (files) when creating a migration job.
  • Create the private key of a service account for a migration job.
    1. Log on to the IAM & admin console.
    2. Select Service accounts in the left-side navigation pane. Click a project in the top navigation bar, and on the tab that appears, select the required project.
    3. Click CREATE SERVICE ACCOUNT to create a service account that has the read permission of the bucket to be migrated. In the Create service account wizard that appears, specify the settings based on your needs. In Step 3, click CREATE KEY, and select JSON as the key type. Click CREATE to download the JSON file. Click CLOSE. Click DONE.
      Note For an existing service account, click the service account name and choose EDIT > CREATE KEY. Select JSON as the key type and choose CREATE > SAVE.

Alibaba Cloud Object Storage Service (OSS)

  • Create an OSS bucket

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

  • Create and authorize a RAM user
    1. Log on to the RAM console.
    2. Choose Identities > Users > Create User.
    3. Select Console Password Logon and Programmatic Access, and then enter the required RAM user information.
    4. Click OK to save the generated RAM username, password, AccessKey ID, and AccessKey Secret.
    5. Find the RAM user, and click Add Permissions to grant the OSS read/write permission (AliyunOSSFullAccess) and Data Transport management permission (AliyunMGWFullAccess) to the RAM user. The following figure shows the authorization page.Add permissions
    6. In the left-side navigation pane, select Overview, click the link in the RAM user logon section, and enter the username and password of the new RAM user to log on to the console.Retrieve the RAM user logon address