Configure internet access control

Updated at:

You can configure an internet access control policy to securely manage and access your Container Registry Enterprise Edition instance remotely.

Prerequisites

By default, you cannot access an Enterprise Edition instance over the internet after you create it. Therefore, before you configure an internet access control policy, you must enable internet access for the instance. To do this, go to the instance details page and turn on the internet access switch.

Note

After you enable internet access, the system automatically creates an internet whitelist entry for the cidr block 127.0.0.1/32.

Procedure

  1. Log on to the Container Registry console.

  2. In the top navigation bar, select a region.

  3. On the Instances page, click the Enterprise Edition instance that you want to manage.

  4. In the navigation pane on the left, choose Repository > Access Control.

    Note

    To configure access control for a Helm Chart, choose Helm Chart > Access Control.

  5. On the Access Control page, click the Internet tab.

  6. On the Internet tab, click Add Internet Whitelist.

  7. In the Add Internet Whitelist dialog box, enter the allowed cidr block and a description.

  8. Click Confirm.

    After you add the entry, ECS instances in the specified cidr block can access the Enterprise Edition instance.

    Important

    To allow all ECS instances on the internet to access the Enterprise Edition instance, keep internet access enabled and clear the internet whitelist. Note that exposing an instance to the internet increases its security risk. Proceed with caution.