Help Center> Virtual Private Cloud> User Guide> Security> Network ACL> Associating Subnets with a Network ACL

Associating Subnets with a Network ACL

Scenarios

On the page showing network ACL details, associate desired subnets with a network ACL. After a network ACL is associated with a subnet, the network ACL denies all traffic to and from the subnet until you add rules to allow traffic.

Procedure

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  2. On the console homepage, under Network, click Virtual Private Cloud.
  3. In the navigation pane on the left, choose Access Control > Network ACLs.
  4. Locate the target network ACL and click its name to switch to the page showing details of that particular network ACL.
  5. On the displayed page, click the Associated Subnets tab.
  6. On the Associated Subnets page, click Associate.
    Figure 1 Associate Subnet
  7. On the displayed page, select the subnets to be associated with the network ACL, and click OK.

Subnets that have already been associated with network ACLs will not be displayed on the page for you to select. One-click subnet association and disassociation are not currently supported. Furthermore, a subnet can only be associated with one network ACL. If you want to reassociate a subnet that has already been associated with another network ACL, you must first disassociate the subnet from the original network ACL.