Updated on 2025-07-31 GMT+08:00

EIP Overview

EIP

The Elastic IP (EIP) service enables your cloud resources to communicate with the Internet using static public IP addresses and scalable bandwidths. If a resource has an EIP bound, it can directly access the Internet. If a resource only has a private IP address, it cannot directly access the Internet.

EIPs can be bound to or unbound from ECSs, BMSs, virtual IP addresses, NAT gateways, or load balancers.

Each EIP can be bound to only one cloud resource.

You can use public NAT gateways to enable ECSs in the VPC to share an EIP to access or be accessed by the Internet. For details, see Allowing a Private Network to Access the Internet Using SNAT.

Figure 1 Connecting to the Internet using an EIP

EIP Quotas

You can log in to the console to query your EIP quotas.

If you want to increase your quota, see How Do I Apply for a Higher Quota?
  • Your request for a larger quota will only be approved if your account has valid orders and you are continuously using cloud resources. If you have released resources immediately after subscribing to them multiple times, your request for quota increase will be declined.
  • If you have increased the EIP quota but you have not used the quota for a long time, Huawei Cloud will reduce the quota to the default value.

Constraints

  • If a yearly/monthly EIP is not renewed after it expires, or if the arrears of a pay-per-use EIP are not paid in time, the EIP may be released and cannot be recovered.
  • If the used EIP bandwidth exceeds the purchased size or is attacked (usually by a DDoS attack), the EIP will be blocked but can still be bound or unbound.
  • Restrictions on binding or unbinding an EIP to or from an instance:
    • An EIP can be bound to only one cloud resource.
    • An EIP that has already been bound to a cloud resource cannot be bound to another resource without first being unbound from the current resource.
  • The EIP remains unchanged:
    • No matter you start or stop the ECS.
    • When you modify its supported bandwidth.
    • When you modify its billing mode or supported bandwidth.

Binding an EIP to an Instance

Figure 2 Process for binding an EIP to an instance
Table 1 Process for binding an EIP to an instance

No.

Step

Description

1

Assigning an EIP

You can assign an EIP and bind it to cloud resources to allow them to access the Internet.

2

Binding an EIP to an Instance

  • The procedure for binding an EIP varies depending on the target instance.
  • The EIP and the instance to be bound must be in the same region.

Related Operations

Binding or Unbinding an EIP: After an EIP is assigned, you can bind it to cloud resources such as ECSs for Internet access.

Adding EIPs to or Removing EIPs from a Shared Bandwidth: After a shared bandwidth is assigned, you can add multiple pay-per-use EIPs to it so that all EIPs share the same bandwidth. Then, your network operation costs will be lowered and your system O&M as well as resource statistics will be simplified.