# How do you associate/disassociate floating IP in an instance?

### Overview

When talking about IPs, each instance can have a public/ floating IP address in addition to its private/fixed IP address. Public addresses are used to communicate with networks outside the cloud, such as the Internet, whereas private addresses are used to communicate amongst instances. An instance's private IP address is automatically assigned when it is launched and remains the same until the instance is specifically terminated. &#x20;

The floating IP addresses you can allot to a project are specified by its project quota. After a floating IP address has been assigned to a project, you can: &#x20;

* Associate or connect the floating IP address to a compute instance, where a single instance can only ever receive one floating IP address.&#x20;
* Dissociate or delete the connection between a floating IP address and a compute instance.&#x20;

### **a. How to Associate a Floating IP with an Instance?**&#x20;

Follow the steps to associate a Floating IP with a compute instance.&#x20;

**Step 1:** [Login](https://customer.acecloudhosting.com/index.php?m=ace_product_register_addon\&action=login) to your account.

**Step 2:** Navigate to **Compute** and then click on **Instances**.

<figure><img src="/files/rZJDg2ek17FdPJnnJ2n0" alt=""><figcaption></figcaption></figure>

**Step 3:** Click on the **drop-down menu** against the instance for which you want to associate the floating IP.

<figure><img src="/files/aUf0NDjLsB68l8ZQT3HD" alt=""><figcaption></figcaption></figure>

**Step 4**: Choose **Attach Floating IP** from the drop-down.

<figure><img src="/files/2kZvV7x543JTwHeOeXLv" alt=""><figcaption></figcaption></figure>

**Step 5:** You need to select an IP address from the pool of pre-defined available IP addresses and the port address, then click on the **Submit** button.

<figure><img src="/files/mcHJMDjoKrU5TiouGP3c" alt=""><figcaption></figcaption></figure>

### b. How to Disassociate a Floating IP from an Instance?

Follow the steps for disassociating the Floating IP from a compute instance.&#x20;

**Step 1:** Click on the **drop-down** against the instance for which you want to disassociate the floating IP.

<figure><img src="/files/UikliYXbxAsV8Bh8fsab" alt=""><figcaption></figcaption></figure>

**Step 2**: Choose **Detach Floating IP** from the drop-down.

<figure><img src="/files/iQ7QSi3dooSH1IjTXzr9" alt=""><figcaption></figcaption></figure>

**Step 3:** Select the **Floating IP** you want to disassociate from the drop-down menu and click the **Submit** button.

<figure><img src="/files/X846gSSVL9lm3op3cQMU" alt=""><figcaption></figcaption></figure>

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.acecloud.ai/knowledge-base/compute/how-do-you-associate-disassociate-floating-ip-in-an-instance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
