# Assign Floating IP Address to Instance

You can assign a floating IP address to an instance to make it available outside of a tenant network. A floating IP address is allocated from a pool of IP addresses based on the routable network selected by you. If IP addresses from the pool are exhausted, the request for creation of a new floating IP address fails. The newly created floating IP address can be assigned to the instance.

You must be a self-service user or an administrator to perform this operation.

To assign a floating IP address to an instance, follow the steps given below.

1\. Log in to Clarity.

2\. Click Instances in the left panel.

3\. Select the checkbox for the instance to which you want to assign a floating IP address.

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

4\. Click Network on the toolbar seen above the list of instances.

5\. Click Assign Floating IP.

6\. Select the Create new floating IP address check box.

7\. Select an external network and the instance to which the floating IP address is to be assigned.

8\. Click Assign Floating IP.

A floating IP address is assigned to the instance from the pool of IP addresses for the selected external network. The instance can now be accessed over the external network by using the floating IP address assigned to the instance.


---

# 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.platform9.com/managed-openstack/instances/virtual-machines-assign-floating-ip.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.
