Updated on 2024-12-19 GMT+08:00

Preparations

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 (AWS): Check whether you have obtained an AK/SK pair and the AmazonS3ReadOnlyAccess for your AWS account. If you have not, perform the following steps:
    1. Log in to the AWS console.
    2. On the Console Home page, select the IAM service.
    3. In the navigation pane, choose Users. In the upper right corner, click Create user.
    4. On the Specify user details page, under User details, in User name, enter the name for the new user.
    5. Click Next. On the Set permissions page, select Attach policy directly and select the AmazonS3ReadOnlyAccess policy.

    6. Click Next. On the Review and create page, confirm the user information.
    7. Click Create user. After the creation is complete, click the username of the created user, select Security credentials, and click Create access key.

    8. View the AK and SK. You can also download and save the CSV file.
    • If your source Amazon S3 bucket is on AWS China, it can only be migrated to Huawei Cloud regions within the Chinese mainland.
    • If your source Amazon S3 bucket is on AWS Global, it can only be migrated to Huawei Cloud regions outside the Chinese mainland.

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. For details about how to restore archived data in Amazon S3, see Migrating Archived Data in Amazon S3.

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