What Are the Differences Between EIP, Private IP Address, and Virtual IP Address?
Different types of IP addresses have different functions.
IP Address Type |
Description |
Example Value |
---|---|---|
Private IP address |
Private IP addresses come with your ECSs and belong to the VPC subnets of the ECSs. They are used for private communication on the cloud. |
|
Virtual IP address |
A virtual IP address can be shared among multiple ECSs. Two ECSs can work as an active and standby pair to achieve high availability by using a virtual IP address and Keepalived. If the active ECS is faulty, the virtual IP address can be dynamically switched to the standby ECS to continue providing services. For more information about virtual IP addresses, see Virtual IP Address Overview. For details about how to set up a high availability cluster, see Building Highly Available Web Server Clusters with Keepalived. |
Bind virtual IP address (172.16.0.2) both ECS-A-01 and ECS-A-02. The active/standby switchover of ECS-A-01 and ECS-A-02 can be implemented by using Keepalived. |
EIP |
EIPs allow cloud resources to access the Internet. They can be flexibly bound to or unbound from instances.
For more information, see EIP Overview. |
|
Product Consultation FAQs
- What Is a Quota?
- How Do I Assign or Retrieve a Specific EIP?
- Why Is an EIP Newly Assigned the Same as the One I Released?
- What Are the Differences Between EIP, Private IP Address, and Virtual IP Address?
- Can an EIP That Uses Dedicated Bandwidth Be Changed to Use Shared Bandwidth?
- Can I Bind an EIP to Multiple ECSs?
- What Are the Differences Between the Primary and Extension NICs of ECSs?
- What Is the EIP Assignment Policy?
- Can I Buy a Specific EIP?
- Does an EIP Change Over Time?
- How Do I Query the Region of My EIPs?
- Can a Bandwidth Be Used by Multiple Accounts?
- How Do I Unbind an EIP from an Instance and Bind a New EIP to the Instance?
- What Are the Differences Among a Bandwidth Add-On Package, Shared Data Package, and Shared Bandwidth?
- Do I Need to Configure a Shared Data Package for Use After It Is Purchased?
- Why Can't I Find My Purchased EIP on the Management Console?
- Why My EIPs Are Frozen? How Do I Unfreeze My EIPs?
- How Do I Query the Traffic Usage of My EIP?
- When Should I Use Premium BGP and Are There Any Limitations on Using Premium BGP?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore