> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Elastic IP

Elastic IPs are static public IP addresses that you can allocate and associate with your bare metal servers. Unlike dynamic IPs, Elastic IPs persist across server restarts and can be remapped to different instances.

## Access Elastic IP

1. Click "**Elastic IP**" in the left sidebar under the "Networking" section

<img src="https://mintcdn.com/gmicloud/C_oWKvRRJe0Ppct5/assets/sidebar-elastic-ip-navigation.png?fit=max&auto=format&n=C_oWKvRRJe0Ppct5&q=85&s=1776c5d3a0d990209a1078884584b90c" alt="sidebar-elastic-ip-navigation.png" width="3024" height="1442" data-path="assets/sidebar-elastic-ip-navigation.png" />

2. You will see the Elastic IP list page

<img src="https://mintcdn.com/gmicloud/4bKHcorHjG5NZU1D/assets/elastic-ip-list-page.png?fit=max&auto=format&n=4bKHcorHjG5NZU1D&q=85&s=32017765e91acd231a3a71ec2dd6ae00" alt="elastic-ip-list-page.png" width="3024" height="1442" data-path="assets/elastic-ip-list-page.png" />

## Allocate an Elastic IP

1. Click the "**Allocate Elastic IP**" button
2. Configure the Elastic IP settings:

<img src="https://mintcdn.com/gmicloud/4bKHcorHjG5NZU1D/assets/elastic-ip-allocate-form.png?fit=max&auto=format&n=4bKHcorHjG5NZU1D&q=85&s=154b3ce3145c79b66770269b24e0f7fe" alt="elastic-ip-allocate-form.png" width="3024" height="1442" data-path="assets/elastic-ip-allocate-form.png" />

### Configuration

| Field              | Description                                                                     |
| ------------------ | ------------------------------------------------------------------------------- |
| **Billing Method** | Currently supports "Pay as you go" - charged by the minute with no upfront cost |
| **Data Center**    | Select the data center where the Elastic IP will be allocated                   |
| **Specification**  | Choose the bandwidth specification (available after selecting a data center)    |

### Basic Information

| Field                   | Description                                                |
| ----------------------- | ---------------------------------------------------------- |
| **Name**                | Auto-generated name for the Elastic IP (can be customized) |
| **Elastic IP Quantity** | Number of Elastic IPs to allocate (default: 1)             |

### Summary

The Summary panel shows:

* Billing method
* Selected data center
* Instance type
* EIP quantity
* Estimated monthly cost breakdown (List Price, Discount, Total)

3. Click "**Go to Pay**" to complete the allocation

## Associate an Elastic IP

You can associate an allocated Elastic IP with either a **Bare Metal** server or a **Container** instance.

1. On the Elastic IP list page, locate the EIP you want to associate
2. Click the "**Associate**" button in the Actions column

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/elastic-ip-list-associate-action.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=3daad30e7d3ef85eaf0973b03bc64dba" alt="elastic-ip-list-associate-action.png" width="3024" height="1440" data-path="assets/elastic-ip-list-associate-action.png" />

3. In the **Associate Elastic IP** dialog:

   * **Product Type**: Select **Container** (or Bare Metal)
   * **Target Instance**: Pick the instance to attach the EIP to

   The dialog shows the selected instance's details (Instance Name, Private IPv4 address, Creation Time) for confirmation.

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/elastic-ip-associate-container-dialog.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=c54c95c68e76d0ee2875c4bc08980b0a" alt="elastic-ip-associate-container-dialog.png" width="3024" height="1440" data-path="assets/elastic-ip-associate-container-dialog.png" />

4. Click "**Confirm**" to complete the association

After the association succeeds, the EIP row shows the **Associated Instance Name**, **Associated Product** (Container or Bare Metal), and **Status** updates to **Associated**:

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/elastic-ip-list-associated.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=2fc8bec577d1df5f6534105117158323" alt="elastic-ip-list-associated.png" width="3024" height="1440" data-path="assets/elastic-ip-list-associated.png" />

<Note>
  Only instances in the **same data center** as the Elastic IP will appear in the Target Instance list. If no instances are listed, make sure the EIP and the instance share the same data center.
</Note>

## Disassociate an Elastic IP

Detach an Elastic IP from its current instance while keeping the IP allocated to your account.

1. On the Elastic IP list page, locate an EIP with status **Associated**
2. Click the "**Disassociate**" button in the Actions column

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/elastic-ip-list-disassociate-action.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=cdf51a571f63e85fae90a1b805e11972" alt="elastic-ip-list-disassociate-action.png" width="3024" height="1440" data-path="assets/elastic-ip-list-disassociate-action.png" />

3. In the confirmation dialog, type **`DISASSOCIATE`** in the input field to confirm

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/elastic-ip-disassociate-dialog.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=ea71720f3cc320dfdfeb876f97e0af0b" alt="elastic-ip-disassociate-dialog.png" width="3024" height="1440" data-path="assets/elastic-ip-disassociate-dialog.png" />

4. Click "**Confirm**" to detach the Elastic IP

After disassociation, the EIP returns to the **Disassociated** state and remains in your account. You can associate it with another instance later or release it entirely.

<Note>
  Disassociated Elastic IPs **continue to incur charges**. Release the EIP if you no longer need it (see Manage Elastic IPs below).
</Note>

## Release an Elastic IP

Permanently release an Elastic IP back to the pool when you no longer need it. This stops all billing for the EIP.

<Warning>
  Once released, the EIP is **permanently returned to the pool** and you likely will not be able to get the same IP address back by allocating a new one. Make sure no instance or service depends on this IP before releasing.
</Warning>

1. On the Elastic IP list page, locate a **Disassociated** EIP (you must disassociate first if it's still attached)
2. Click the "**More actions**" button (three dots) in the Actions column and choose "**Release**"

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/elastic-ip-list-release-menu.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=1a5073b4427291bc8f2a31132bbee8a0" alt="elastic-ip-list-release-menu.png" width="3024" height="1440" data-path="assets/elastic-ip-list-release-menu.png" />

3. In the confirmation dialog, type **`RELEASE`** in the input field to confirm

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/elastic-ip-release-dialog.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=f1749a0c9ece381c804c28a867430a0e" alt="elastic-ip-release-dialog.png" width="3024" height="1440" data-path="assets/elastic-ip-release-dialog.png" />

4. Click "**Confirm**" to release the Elastic IP

After release, the EIP is removed from your account and billing stops immediately.

## Manage Elastic IPs

From the Elastic IP list page, you can:

* **Associate**: Attach an Elastic IP to a bare metal server or container
* **Disassociate**: Detach an Elastic IP from its current instance (the IP remains allocated)
* **Release**: Permanently release an Elastic IP back to the pool

## Best Practices

* **Use Elastic IPs for services that require consistent public addresses** - such as web servers, APIs, or any service that needs a stable endpoint
* **Release unused Elastic IPs** - You are charged for allocated Elastic IPs even when not associated with an instance
* **Plan your IP allocation** - Elastic IPs are limited resources; allocate only what you need
