Manage endpoints
This lets clients access your cloud resources through the Anycast EIP, improving the public internet access experience.
Background
Supported endpoint types
Endpoint type | Description | Use cases |
SLB Instance |
| Ideal for scenarios that require high availability and handle large volumes of traffic. By associating an Anycast EIP with a CLB instance, you can provide more stable and reliable internet-facing services. For more information about CLB, see What is Classic Load Balancer (CLB)?. |
ENI |
| Suitable for scenarios that require both inbound and outbound internet access. |
To associate an Anycast EIP with an Application Load Balancer (ALB) or a Network Load Balancer (NLB), use the SLB console.
To learn how to associate an ALB instance, see Associate an ALB instance with an Anycast EIP to accelerate applications across regions.
To learn how to associate an NLB instance, see Associate an NLB instance with an Anycast EIP to accelerate applications across regions.
Custom forwarding rules for multi-region endpoints

An Anycast EIP can be associated with endpoints in multiple regions. You can define rules to route user requests. The following rules apply:
When you set a cloud resource as the default endpoint, the system routes requests from access points without a specific mapping to that endpoint.
If you do not specify a default endpoint, the first endpoint that you associate becomes the default endpoint. Requests from all access points are routed to this endpoint by default.
If you disassociate the default endpoint, the system randomly selects another associated endpoint as the new default.
If you associate endpoints from multiple regions, you can create custom mappings between access points and endpoints.
Automatic failover is not supported. If an endpoint fails, traffic is not automatically rerouted.
Use an Anycast EIP only for inbound services. If you use an Anycast EIP to initiate outbound connections to third-party services that also use anycast or similar technologies, you may experience connectivity issues.
Prerequisites
You have created the backend cloud resources to associate. Supported resources include Classic Load Balancer (CLB) instances in a VPC or elastic network interfaces (ENIs). For more information, see Create a CLB instance or Create and use an elastic network interface.
If the endpoint is an elastic network interface, ensure that it is attached to an ECS instance.
Associate a resource
- Log on to the Anycast EIP console.
On the Anycast Elastic IP Addresses page, find the Anycast EIP and click Actions in the Manage column.
On the Anycast EIP details page, on the Bound Instances tab, click Associate with Resource.
In the Associate Anycast EIP with Resource dialog box, configure the parameters and click OK.
Parameter
Description
Instance Type
Select the type of cloud resource.
SLB Instance (default)
ENI
ImportantYou can associate an Anycast EIP with only one cloud resource in a region.
You can associate an Anycast EIP only with Classic Load Balancer (CLB) instances deployed in a VPC.
If you select ENI, the elastic network interface must be attached to an ECS instance and not associated with a public IP address. Otherwise, the association fails.
Resource Group
Select the cloud resource's resource group.
Set as Default
Determines if the cloud resource is the default endpoint. Requests from unmapped access points are routed to the default endpoint.
Yes: Sets this cloud resource as the default endpoint.
No: Sets this cloud resource as a regular endpoint.
Region
Select the cloud resource's region. This is the endpoint region.
Supported endpoint regions include China (Hong Kong), Japan (Tokyo), Singapore, US (Silicon Valley), US (Virginia), and Germany (Frankfurt).
Areas
Specifies the access points for the endpoint region. This allows you to map access points to an endpoint.
This parameter is available only when you set Set as Default to No.
Select an instance to associate
Select the target resource instance.
More operations
Actions | Description |
Modify access areas | If an Anycast EIP is associated with endpoints in multiple regions, you can modify the mapping between access points and endpoints.
|
Disassociate a resource | If a cloud resource no longer requires public internet access, you can disassociate it from the Anycast EIP. Note that billing for the Anycast EIP continues after the resource is disassociated.
|
Related documentation
AssociateAnycastEipAddress: Associates an Anycast EIP with a cloud resource in a specified region.
UpdateAnycastEipAddressAssociations: Modifies the association information of an Anycast EIP.
UnassociateAnycastEipAddress: Disassociates an endpoint from an Anycast EIP.
.
.