All Products
Search
Document Center

Alibaba Cloud Service Mesh:Associate an EIP with or disassociate an EIP from the control plane of an ASM instance

Last Updated:Jul 11, 2024

This topic describes how to associate an elastic IP address (EIP) with or disassociate an EIP from the control plane of a Service Mesh (ASM) instance.

Scenarios

If your cluster on the data plane cannot communicate with the virtual private cloud (VPC) where your ASM instance resides and you want to connect the data plane and the control plane of the ASM instance over the Internet, you can associate an EIP with the control plane of the ASM instance to expose the ports of the control plane to the Internet. If you no longer want to expose the control plane of the ASM instance to the Internet, you can disassociate the EIP from the control plane. This topic describes how to associate or disassociate an EIP for your reference.

Associate or disassociate an EIP in the ASM console

Associate or replace an EIP

  1. In the ASM instance list, click the name of the desired instance to open the ASM instance management console. In the left-side navigation pane, choose ASM Instance > Base Information. In the Basic Information section, click Bind EIP or Replace EIP on the right side of Istio Pilot Endpoint.

  2. In the Bind EIP dialog box, select an idle EIP from the Select an existing EIP drop-down list, and click OK to associate or replace the EIP.

Disassociate an EIP

  1. In the ASM instance list, click the name of the desired instance to open the ASM instance management console. In the left-side navigation pane, choose ASM Instance > Base Information. In the Basic Information section, click Unbind EIP on the right side of Istio Pilot Endpoint.

  2. In the Unbind EIP dialog box, click OK.

Associate or disassociate an EIP by calling API operations

Associate or replace an EIP

  1. Create an EIP that is used to expose the control plane of your ASM instance. For more information, see Apply for an EIP. If you have an idle EIP, skip this step.

  2. Set the following parameters and call the ModifyPilotEipResource operation in OpenAPI Explorer. If an EIP is already associated with the control plane, the existing EIP is disassociated and the EIP specified in the operation is associated.

Parameter

Value

ServiceMeshId

The ID of the ASM instance

Operation

BindEip

EipId

The ID of the EIP

Disassociate an EIP

  1. Set the following parameters and call the ModifyPilotEipResource operation in OpenAPI Explorer.

Parameter

Value

ServiceMeshId

The ID of the ASM instance.

Operation

UnBindEip

EipId

Do not specify this parameter.