This topic describes how to use IPv6 addresses of Windows Elastic Compute Service (ECS) instances.

Prerequisites

The Windows instances are deployed in virtual private clouds (VPCs). Before you assign IPv6 addresses, familiarize yourself with the basics of IPv6 addresses. For more information, see IPv6 addresses.

Procedure

The following figure shows how to use IPv6 addresses. Procedure

To use IPv6 addresses, perform the following operations:

  1. Create an IPv6 VPC. For more information, see Step 1: Create an IPv6 VPC.

    Before you assign an IPv6 address to an ECS instance, you must create an IPv6 VPC.

  2. Assign an IPv6 address to an ECS instance. For more information, see Step 2: Assign an IPv6 address.

    By default, when you create an ECS instance, a private IPv4 address is assigned instead of an IPv6 address. You must assign an IPv6 address to the ECS instance by using the ECS console or by calling an API operation.

  3. Enable IPv6 public bandwidth. For more information, see Step 3: Enable IPv6 public bandwidth.

    When an IPv6 address is assigned to an ECS instance, only communication within the VPC is allowed. If you want to allow traffic to or from the IPv6 address over the Internet, you must enable public bandwidth for the IPv6 address.

  4. Configure the IPv6 address. For more information, see Step 4: Configure an IPv6 address.

    After an IPv6 address is assigned to an ECS instance, you must log on to the ECS instance and configure the IPv6 address in the operating system before you can use the IPv6 address. We recommend that you use the automatic configuration tool to configure the IPv6 address.

  5. Add security group rules. For more information, see Step 5: Add IPv6 security group rules.

    You can use security group rules to allow or deny access to or from the Internet or internal network for ECS instances within a security group. For information about common cases, see Scenarios for security groups.

  6. Test network connectivity. For more information, see Step 6: Test network connectivity.

    You can log on to the ECS instance to test the network connectivity to ensure that the configured IPv6 address can access the Internet.

  7. (Optional) Delete the IPv6 address. For more information, see Step 7: (Optional) Delete an IPv6 address.

    You can delete IPv6 addresses that are no longer needed. After you delete the IPv6 address of an instance, the instance can still use its IPv4 address.