This topic describes what you need to prepare before migration.

Precautions

If the account that hosts Apsara File Storage NAS is different from the account that hosts Object Storage Service (OSS), log on to the Data Transport console with the account that hosts NAS to create an NAS data address.

Estimate the amount of data to be migrated.

Estimate the size and the number of files to be migrated. Log on to the OSS console, click the name of the bucket to be migrated, and then check the size and number of objects (files).
Note To ensure a successful migration, you must enter an appropriate size and number of files when you create a migration job.

Create and authorize a RAM user

  1. Log on to the RAM console.
  2. In the left-side navigation pane, choose Identities > Users.
  3. On the Users page, click Create User.
  4. On the Create User page, specify Logon Name and Display Name in the User Account Information section.
  5. In the Access Mode section, select Console Access and OpenAPI Access. Then, save the generated logon name, password, AccessKey ID, and AccessKey secret.
    • Console Access: If you select this option, you must configure the console password, password reset settings, and multi-factor authentication settings.
    • 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.
    Note If you need to migrate data across accounts, you must save the logon name, password, AccessKey ID, and AccessKey secret that are generated for each RAM user by the corresponding Alibaba Cloud account.
  6. After the RAM user is created, return to the Users page. Find the RAM user and click Add Permissions in the Actions column. In the panel that appears, select the AliyunOSSFullAccess and AliyunMGWFullAccess policies and click OK. This way, the RAM user is granted the permissions to read and write files from OSS and perform online data migrations.
  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.

Apsara File Storage NAS

  • You must mount your Apsara File Storage NAS file system on an Elastic Compute Service (ECS) instance. For more information, see Create a mount target.
  • If you configure a permission group for the Apsara File Storage NAS file system, you must add all IP addresses in the virtual private cloud (VPC) in which the ECS instance is deployed to the authorized address list. For more information, see Manage a permission group.