This topic describes how to associate VSwitches with network ACLs to control access from or to ECS instances in the VSwitches.

Prerequisites

You have created a network ACL. For more information, see Create a network ACL.

Background information

Network access control list (ACL) is a feature to implement access control in VPC. You can customize rules for a network ACL and associate VSwitches with the network ACL to control access from or to ECS instances in the VSwitches. You can associate a network ACL with VSwitches when the network ACL and VSwitches belong to a VPC. Each VSwitch can be associated with only one network ACL at a time.

Procedure

  1. Log on to the VPC console.
  2. In the left-side navigation pane, click VSwitches.
  3. In the top navigation bar, select a region.
  4. On the VSwitches page, click Manage in the Actions column corresponding to the target VSwitch.
  5. On the VSwitch Details page that appears, find the VSwitch Basic Information section. Click Bind next to Network ACL.
  6. In the Bind Network ACL dialog box that appears, select the target network ACL. Click OK.