This topic describes how to create an egress-only rule for an Elastic Compute Service (ECS) instance in a virtual private cloud (VPC). After you create an egress-only rule for an ECS instance that uses an IPv6 address to communicate the Internet, the ECS instance cannot receive unsolicited connection requests from the Internet.

Prerequisites

A public bandwidth plan is purchased for the IPv6 address. For more information, see Enable Internet connectivity for an IPv6 address.

Background information

IPv6 gateways of the Free Edition do not support egress-only rules. An IPv6 gateway of the Enterprise Edition supports at most 50 egress-only rules. An IPv6 gateway of the Enhanced Enterprise Edition supports at most 200 egress-only rules.

Procedure

  1. Log on to the IPv6 gateway console.
  2. On the details page of the IPv6 gateway, click the Egress-only Rule tab.
  3. On the Egress-only Rule tab, click Create Egress-only Rule.
  4. In the Create Egress-only Rule panel, select the ECS instance that you want to manage and click OK.