tencent cloud

Feedback

Creating an IPv6 CLB Instance

Last updated: 2022-07-28 17:24:14
    Note:

    • The IPv6 CLB is in beta test. To try it out, please submit a ticket.
    • Currently, IPv6 CLB is only supported in the following regions: Guangzhou, Shanghai, Nanjing, Beijing, Chengdu, Chongqing, Hong Kong (China), Singapore, and Virginia.
    • IPv6 CLB does not support classic CLB.
    • IPv6 CLB supports obtaining the client's IPv6 source address, which can be directly obtained by layer-4 IPv6 CLB or through the X-Forwarded-For header of HTTP layer-7 IPv6 CLB.
    • Currently, IPv6 CLB balances the load completely over the public network. Clients in the same VPC cannot access IPv6 CLB over the private network.
    • IPv6 implementations are still at the preliminary stage across the internet. In case of access failure, please submit a ticket. SLA is not guaranteed during the beta test period.

    Overview

    IPv6 load balancing is implemented based on the IPv6 single stack technology. It can collaborate with IPv4 CLB to implement IPv6/IPv4 dual-stack communication. An IPv6 CLB instance is bound to an IPv6 address of a CVM instance and provides an IPv6 VIP address.

    IPv6 CLB Advantages

    Tencent Cloud IPv6 CLB has the following advantages when helping your business quickly connect to IPv6:

    • Quick connection: CLB enables connection to IPv6 in a matter of seconds and is available upon purchase.
    • Ease of use: IPv6 CLB is compatible with IPv4 CLB flowchart and easy to use with no additional learning costs incurred.
    • End-to-end IPv6 communication: IPv6 CLB instances communicate with CVM instances over IPv6, which helps applications deployed on the CVM instances quickly upgrade to IPv6 and implement end-to-end IPv6 communication.

    IPv6 CLB Architecture

    CLB supports creating IPv6 CLB instances. Tencent Cloud will assign an IPv6 public IP address, i.e., VIP of the IPv6 edition, to an IPv6 CLB instance, and the VIP will forward requests from IPv6 clients to the real IPv6 CVM instance.

    An IPv6 CLB instance can support quick access of users from IPv6 public network and communicate with real servers over IPv6, which helps in-cloud applications quickly upgrade to IPv6 and implement end-to-end IPv6 communication.

    The IPv6 CLB architecture is as shown below:

    Step 1. Create an IPv6 CLB instance

    1. Log in to the Tencent Cloud console and go to the CLB purchase page.

    2. Select the following CLB configuration items as needed:

      Bill-by-IP account

      展开&收起
      ParameterDescription
      Billing ModeSupports pay-as-you-go billing. IPv6 version is only supported in pay-as-you-go mode. For other restrictions, see IP versions instructed in Product Attribute Selection.
      RegionSelect a region. For more information on the regions supported by CLB, see Region List instructed in Common Params.
      Instance TypeSupports CLB instance type only. Starting from October 20, 2021, classic CLB instances can no longer be purchased. For more information, see [October 20, 2021] Classic CLB End-of-Sale Notice.
      Network TypeSupports public network and private network. For more information, see Network Types instructed in Product Attribute Selection. Select a public network for IPv6 CLB.
      EIP Don't select an EIP.
      IP VersionSelect the IPv6 version.
      NetworkSelect an existing VPC or subnet. If the existing networks are inapplicable, you can Creating VPCs or Creating Subnets.
      Carrier TypeBGP.
      Instance SpecificationShared and LCU-supported instances are supported.
      • Multiple shared instances share resources, and a single instance doesn't provide guaranteed performance. By default, all instances are shared instances.
      • An LCU-supported instance guarantees the performance and doesn't preempt resources like a shared instance. Its forwarding performance is not affected by other instances. A single instance can sustain up to 1 million concurrent connections, 100,000 new connections per second, and 50,000 queries per second. Currently, the LCU-supported specification is in beta. To use it, submit a ticket.
      Dual-stack BindingAfter this feature is enabled, the layer-7 listener can be bound with both IPv4 and IPv6 backend servers. But layer-4 listeners only support binding of IPv6 backend server.
      Network Billing ModeSupports bill by traffic and bill by bandwidth.
      Bandwidth CapValue range: 1–2048 Mbps.
      ProjectSelect a project.
      TagSelect a tag key and value. You can also create a tag as instructed in Creating Tags and Binding Resources.
      Instance NameThe name can contain up to 60 characters, including letters, numbers, hyphens, underscores, and dots. If it is not specified, a name will be automatically generated by default.
      Service ProtocolCheck "I've read and agree to Tencent Cloud Terms of Service"andCLB Service Level Agreement".

      Bill-by-CVM account

      展开&收起
      ParameterDescription
      Billing ModeSupports pay-as-you-go billing only.
      RegionSelect a region. For more information on the regions supported by CLB, see Region List instructed in Common Params.
      Instance TypeSupports CLB instance type only. Starting from October 20, 2021, classic CLB instances can no longer be purchased. For more information, see [October 20, 2021] Classic CLB End-of-Sale Notice.
      Network TypeSupports public network and private network. For more information, see Network Types instructed in Product Attribute Selection.
      • Public network: CLB is used to distribute requests from the public network.
      • Private network: CLB is used to distribute requests from the Tencent Cloud private network. A private network instance doesn't support the following configuration items and doesn't display them by default: IP Version, Carrier Type, and Instance Specification.
      IP VersionSelect IPv6. For more information on the use limits, see IP Versions instructed in Product Attribute Selection.
      NetworkCLB supports classic network and VPC.
      • The classic network is a public network resource pool shared by all Tencent Cloud users. The private IPs of all CVMs are assigned by Tencent Cloud. You cannot customize IP ranges or IP addresses.
      • The VPC is a logically isolated network space in Tencent Cloud. In a VPC, you can customize IP ranges, IP addresses, and routing policies.
      By contrast, VPC is more suitable for use cases requiring custom configurations. Besides, the overall classic network products will be officially discontinued on December 31, 2022. For details, see Ending Support for Classic Network. It is recommended that you choose a VPC.
      Carrier TypeBGP.
      Instance SpecificationShared and LCU-supported instances are supported.
      • Multiple shared instances share resources, and a single instance doesn't provide guaranteed performance. By default, all instances are shared instances.
      • An LCU-supported instance guarantees the performance and doesn't preempt resources like a shared instance. Its forwarding performance is not affected by other instances. A single instance can sustain up to 1 million concurrent connections, 100,000 new connections per second, and 50,000 queries per second. Currently, the LCU-supported specification is in beta. To use it, submit a ticket.
      Network Billing ModeBill by bandwidth.
      Bandwidth CapValue range: 1–1024 Mbps.
      ProjectSelect a project.
      TagSelect a tag key and value. You can also create a tag as instructed in Creating Tags and Binding Resources.
      Instance NameThe name can contain up to 60 characters, including letters, numbers, hyphens, underscores, and dots. If it is not specified, a name will be automatically generated by default.
      Service ProtocolCheck "I've read and agree to Tencent Cloud Terms of Service"andCLB Service Level Agreement".
    3. After configuring the above items, click Buy now. On the "CLB order confirmation" pop-up window, click Confirm order. Then, return to Instance Management page where you can view the IPv6 CLB instance you just purchased.

    Step 2. Create an IPv6 CLB listener

    1. Log in to the CLB Console and click the IPv6 CLB instance ID to enter the details page.
    2. Select the Listener Management tab, click Create. For example, create a TCP listener.
      Note:

      CLB supports creating layer-4 (TCP/UDP/TCP SSL) and layer-7 (HTTP/HTTPS) IPv6 CLB listeners. For more information, please see CLB Listener Overview.

    3. In "Basic Configurations", configure the name, listening protocol port, and balancing method, and click Next.
    4. Configure health check and click Next.
    5. Configure session persistence and click Submit.
    6. After the listener is created, select it and click Bind on the right.
      Note:

      Before binding the listener to a CVM instance, please make sure that the CVM instance has obtained an IPv6 address.

    7. In the pop-up box, select the IPv6 CVM instance that needs to be communicated with, configure the server port and weight, and click OK.

    More Operations

    Binding IPv6 CLB with both IPv6 and IPv4 real servers

    After enabling the dual-stack binding, the IPv6 CLB layer-7 listener can be bound with both IPv4 and IPv6 backend servers, and can obtain the source IP via XFF. But layer-4 listeners only support binding of IPv6 backend server.

    1. Enable dual-stack binding.
    • Enable dual-stack binding when purchasing IPv6 CLB on the purchase page.
    • Enable dual-stack binding on the IPv6 CLB instance details page.
    1. Create a layer-7 HTTP or HTTPS listener.
    2. Bind the listener with a IPv6 or IPv4 backend server.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support