Updated on 2025-04-11 GMT+08:00

Purchasing a Repository

Scenarios

To use SWR Enterprise Edition, you first need to buy a repository. SWR Enterprise Edition provides enterprise-class, secure hosting services for container images and other cloud native artifacts that comply with the Open Container Initiative (OCI) specifications.

  • By default, access to new repositories is blocked to ensure data security.
  • Repositories are regional resources. If you need to use a repository in multiple regions, purchase it in each region. SWR Enterprise Edition is only available in regions CN East-Shanghai1, CN North-Ulanqab1, CN North-Beijing4, AP-Singapore, CN South-Guangzhou, CN Southwest-Guiyang1, CN East 2, CN-Hong Kong, AF-Johannesburg, TR-Istanbul, CN Northwest-Karamay, and AP-Jakarta.

Prerequisites

  • You can access the Virtual Private Cloud (VPC), Object Storage Service (OBS), Key Management Service (KMS), and VPC Endpoint (VPCEP) services.
  • SWR Enterprise Edition has been authorized to access VPC, OBS, and other related resources.

Procedure

  1. Log in to the SWR console. In the upper left corner, switch to your region.
  2. In the upper right corner, click Create Repository. Configure the parameters as follows.

    • Billing Mode: Only pay-per-use is available.
    • Project: Select the region or project where the repository is. The region or project cannot be changed after repository purchase.
    • Repository Name: Enter a repository name. The name will be used as part of the access address of the repository and cannot be changed after repository purchase.
    • Package Specifications: Select specifications for the repository. The repository capabilities and quotas vary with different specifications.
    • VPC: Select the VPC where the repository is. If there is no VPC available, create one by referring to Creating a VPC.
    • Subnet: Select the subnet where the repository is.
    • Custom OBS Bucket: Enabling this option allows you to select an OBS bucket from the list. You are advised to select a 3-AZ bucket for high availability.
    • OBS Bucket Encryption (encryption at rest): Key Management Service (KMS) keys are used to automatically encrypt images uploaded to OBS buckets. This will improve data security.

      OBS bucket encryption may affect repository performance.

    • SM Encryption: If you enable this option, SM algorithms will be used to secure image push, image signatures, and login passwords.
    • Tag: Tags can be used to categorize cloud resources for easier resource management.
    • Description: Describe the repository.

  3. Click Next.
  4. On the repository management page, check the creation progress. If the repository status is Running, the repository creation is complete.

    If the repository stays Creating or is not displayed in the list, click Operation Records in the upper left corner to view the failure cause. If the fault cannot be located, submit a service ticket.