Similar to a private IP, HAVIP binding can also be configured in the console. Binding an HAVIP refers to EIP operations. You can skip this section if no public network connection is needed.
Note
Binding an EIP
1. Log in to the Virtual Private Cloud Console, and on the left sidebar, select IP & Network Interface > Highly Available Virtual IP.
2. Select the target region on the HAVIP management page.
3. Select the HAVIP to which you want to bind the EIP, and click Bind in the operation column on the right.
4. In the pop-up dialog box, select an EIP to bind.
Note
An HAVIP can only be bound with one EIP. If no EIP is available, you must first create an EIP in the console.
If the HAVIP is not bounded with any CVM instance, the corresponding EIP will be in idle status and incur an idle fee. Please configure the HAVIP correctly and bind it to an instance by referring to the following cases:Best Practices - Building a Highly Available Primary-Secondary Cluster with HAVIP + Keepalived
5. Click OK to complete the EIP binding.
Unbinding an EIP
1. Log in to the Virtual Private Cloud Console, and on the left sidebar, select IP & Network Interface > Highly Available Virtual IP.
2. Select the target region on the HAVIP management page.
3. Select the HAVIP from which the EIP will be unbound, and click Unbind EIP under the operation column on the right.
4. In the pop-up dialog box, read the notes and click OK to unbind the EIP.
Note
Your public network business may be affected after unbinding the EIP. Please get ready in advance.
After being unbound, the EIP will become idle and incur an idle fee. You can directly release unused EIPs to avoid costs.