Container Registry Enterprise Edition allows you to migrate images from a user-created Harbor instance to a Container Registry Enterprise Edition instance. You can also customize a domain name for the Container Registry Enterprise Edition instance. This reduces your costs on creating and maintaining image repositories. Container Registry Enterprise Edition provides professional and stable cloud-based image management and technical support. This service is integrated with Alibaba Cloud Container Service for Kubernetes (ACK) to simplify the application delivery process for enterprises. This topic describes how to migrate the backend data and images of a user-created Harbor instance to Container Registry Enterprise Edition.

Step 1: Migrate backend data of the Harbor instance

  • If your Harbor instance uses Apsara File Storage NAS for backend storage, you must migrate data from NAS to an Object Storage Service (OSS) bucket. For more information, see Migrate data from NAS to OSS.
  • Skip this step if the backend data of the Harbor instance is stored in OSS.

Step 2: Select an OSS bucket

When you create a Container Registry Enterprise Edition instance, you can select an existing OSS bucket as the backend storage of the instance.

  1. Attach a RAM role to the account and grant the RAM role the permission to manage the OSS bucket. For more information, see Configure RAM when using custom OSS buckets.
  2. Create a Container Registry Enterprise Edition instance.
    When you create a Container Registry Enterprise Edition instance, set Instance Storage to Customized and select a bucket. For more information, see Create a Container Registry Enterprise Edition instance.

Step 3: Import images

  1. Log on to the Container Registry console.
  2. In the top navigation bar, select a region.
  3. In the left-side navigation pane, choose Enterprise Instances > Instances.
  4. On the Instance page, click the name of the Container Registry Enterprise Edition instance or click Manage in the Actions column for the instance.
  5. In the left-side navigation pane of the instance management page, choose Instances > Image Import.
  6. On the Image Import page, click Trigger Task.
  7. In the Tips dialog box, select Confirm to import, and then click Confirm.
    Note On the Image Import page, find the task that you create, and click Details in the Actions column to view the progress.

Step 4: Bind a custom domain name to the instance

You can bind a custom domain name that has a Secure Sockets Layer (SSL) certificate to a Container Registry Enterprise Edition instance. After you perform this operation, you can use the custom domain name to access the instance over HTTPS.

We recommend that you set the custom domain name of the Container Registry Enterprise Edition instance to the domain name of the user-created Harbor instance. For more information, see Use a custom domain name to access a Container Registry Enterprise Edition instance.