Updated on 2024-07-17 GMT+08:00

Preparing for Migration

Before using OMS to migrate data between OBS buckets, make preparations by referring to this section.

Registering a HUAWEI ID

Register a HUAWEI ID and enable Huawei Cloud services.

Real-name authentication is required for migrations to regions within the Chinese mainland.

Creating Access Keys for the Source and Destination Accounts and Obtaining the Required Permissions

  • Source (Kingsoft Cloud)
    • If you use a root account for migration, log in to the Kingsoft Cloud console, click the username in the right corner of the top navigation bar, and choose Access Keys to view or create an access key.
    • If you want to use a subuser for migration, perform the following steps to create a subuser, generate an AK/SK pair for the sub-user, and assign the KS3ReadOnlyAccess permission to the sub-user.
      1. Log in to the Kingsoft Cloud console as the root user.
      2. On the top navigation bar, click the username and choose Identity and Access Management.
      3. In the navigation pane on the left, choose Identities > Subusers. The Subusers page appears.
      4. Click Create User. The Create User page appears.

      5. Specify Username, Display name, E-mail, and Cellphone number, select an access mode, and click OK.

        If you select Programmatic Access for Access Mode, an AK/SK pair will be automatically generated for the IAM user.

      6. Assign permissions to the IAM user.

        Locate the subuser and click Add Permissions in the Actions column. In the displayed Add Permissions dialog box, select KS3ReadOnlyAccess and click OK.

      7. (Optional) Create an access key for the subuser.

        Click the username of the subuser to go to the user details page. On the Safety management tab, click New Key.

  • Destination (Huawei Cloud): Create an AK/SK pair for the destination account and obtain the required permissions. For more information, see Creating an Access Key (AK/SK) and Destination Permissions.

Creating a Destination OBS Bucket

Create an OBS bucket for storing the migrated data. For details, see Creating a Bucket.

Restoring Archive Data in the Source Bucket

You need to restore data of the Archive storage class before you migrate it. Otherwise, the migration will take a long time. Kingsoft Cloud KS3 allows you to restore archive objects on the console or by calling the Restore Object API. For details, see Restoring Archive Data on Kingsoft Cloud KS3.

Perform the migration after all archive data is restored. Any data not restored will fail to be migrated.