×
Community Blog Kubernetes (ACK) K8s – Create Container Registry (ACR)

Kubernetes (ACK) K8s – Create Container Registry (ACR)

The article explains how to create Container Registry (ACR) under the Alibaba Cloud console.

By Kidd Ip

Introduction

The article explains how to create Container Registry (ACR) under the Alibaba Cloud console.

Create ACR Namespace

Login to the Alibaba Cloud console via https://account.alibabacloud.com/

Click Console:

1

Under Menu, click Container Registry:

2

Select Region (e.g. China (Hong Kong)) and click Manage:

3

Under Namespace, click Create Namespace:

4

Fill in:

Namespace: <<Name>>
Automatically Create Repository: On
Default Repository Type: Private

Click Confirm

5

Create RAM User for ACR

A RAM user is required for the ACR Container Registry Instance logon

1. RAM Policy Samples

{
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "cr:ListInstance*",
                "cr:GetInstance*"
            ],
            "Resource": "*"
        },
        {
            "Action": [
                "cr:*"
            ],
            "Effect": "Allow",
            "Resource": [
                "acs:cr:*:*:repository/xxxxx/xxxxx/*",
                "acs:cr:*:*:repository/xxxxx/xxxxx"
            ]
        },
        {
            "Action": [
                "cr:List*"
            ],
            "Effect": "Allow",
            "Resource": [
                "acs:cr:*:*:repository/xxxxx/*",
                "acs:cr:*:*:repository/xxxxx/*/*"
            ]
        }
    ],
    "Version": "version"
}

2. Create a RAM User (Console Access)

6

3. Assign a RAM Policy to the RAM User

7

4. Access Credential for RAM User Logon

8

0 1 0
Share on

Kidd Ip

29 posts | 4 followers

You may also like

Comments

Kidd Ip

29 posts | 4 followers

Related Products

  • Container Service for Kubernetes

    Alibaba Cloud Container Service for Kubernetes is a fully managed cloud container management service that supports native Kubernetes and integrates with other Alibaba Cloud products.

    Learn More
  • Container Compute Service (ACS)

    A cloud computing service that provides container compute resources that comply with the container specifications of Kubernetes

    Learn More
  • ACK One

    Provides a control plane to allow users to manage Kubernetes clusters that run based on different infrastructure resources

    Learn More
  • API Gateway

    API Gateway provides you with high-performance and high-availability API hosting services to deploy and release your APIs on Alibaba Cloud products.

    Learn More