Assigning an EIP
Scenarios
You can assign an EIP and bind it to cloud resources to allow them to access the Internet. This section describes how to assign a new or specific EIP.
- By default, new EIPs are assigned at random.
- If you assign a new EIP within 24 hours after releasing an EIP, the released EIP will be assigned first.
- Other users can call APIs to assign the released EIP 24 hours after it is released.
- You can call APIs to assign a specific EIP.
Assigning a New EIP
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Click
in the upper left corner and choose Network > Elastic IP. - On the displayed page, click Assign EIP.
- Configure parameters as prompted.
Table 1 Parameter descriptions Parameter
Description
Example Value
Region
The desired region. Resources in different regions cannot communicate with each other over internal networks. For low network latency and quick resource access, select the region nearest to where your services will be accessed. The region selected for the EIP is its geographical location.
-
EIP Type
Dynamic BGP: Dynamic BGP provides automatic failover and chooses the optimal path when a network connection fails.
Dynamic BGP
Billed By
The following options are available:- Bandwidth: You specify a maximum bandwidth and pay for the amount of time you use the bandwidth. This is suitable for scenarios with heavy or stable traffic.
- Traffic: You specify a maximum bandwidth and pay for the total outbound traffic you use. This is suitable for scenarios with light or sharply fluctuating traffic.
- Shared Bandwidth: A shared bandwidth can be shared by multiple EIPs. It controls the data transfer rate on these EIPs in a centralized manner. This is suitable for scenarios with staggered traffic.
Bandwidth
Bandwidth
The bandwidth size in Mbit/s.
100
Bandwidth Name
The name of the bandwidth.
bandwidth
Tag
The EIP tags. Each tag contains a key and value pair.
The tag key and value must meet the requirements listed in Table 3.
- Key: Ipv4_key1
- Value: 3005eip
Quantity
The number of EIPs to be assigned.
1
Enterprise Project
The enterprise project that the EIP belongs to.
An enterprise project facilitates project-level management and grouping of cloud resources and users. The default project is default.
For details about creating and managing enterprise projects, see the Enterprise Management User Guide.
default
Table 2 Parameter descriptions Parameter
Description
Example Value
Region
The desired region. Resources in different regions cannot communicate with each other over internal networks. For low network latency and quick resource access, select the region nearest to where your services will be accessed. The region selected for the EIP is its geographical location.
-
Bandwidth
The bandwidth size in Mbit/s.
100
Bandwidth Name
The name of the bandwidth.
bandwidth
Table 3 EIP tag requirements Parameter
Requirement
Example Value
Key
- Cannot be left blank.
- Must be unique for each EIP.
- Can contain a maximum of 36 characters.
- Can contain letters, digits, underscores (_), and hyphens (-).
Ipv4_key1
Value
- Can contain a maximum of 43 characters.
- Can contain letters, digits, underscores (_), periods (.), and hyphens (-).
eip-01
- Click Create Now.
- Click Submit.
Assigning a Specific EIP
If you want to retrieve an EIP that you have released within seven days (inclusive) or assign a specific EIP, you can use APIs.
You can set the value of ip_address to the one that you want to assign. For details, see section "Assigning an EIP" in Elastic IP API Reference.
- If the EIP has been assigned to another user, you will fail to assign your required EIP.
- The management console does not support assigning a specific EIP.
Why Can't I Find My Assigned EIP on the Management Console?
You can perform the following operations to locate an EIP if you cannot find it on the management console.
EIPs Not in the Current Region
- Log in to the management console.
- In the upper left corner of the console, select the region that the EIP to be queried belongs to.
- In the EIP list, view your EIPs.
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.
Chatbot