# Managing IP Addresses

> Source: https://parallelworks.com/docs/compute/managing-ip-addresses

# Managing IP Addresses

When creating a cluster, an ephemeral IP address is automatically chosen and assigned to the cluster. Alternatively, you can create a static, shareable IP address. This feature is useful if these two conditions are true for you:
* Your application depends on having the same IP address each time you run it.
* You need to start and stop your cluster.

For example, you could be using a cluster to access a server that needs to whitelist your IP address before you can connect. If your IP address changes, the server firewall would need to be updated every time you access it. Instead, you could create an IP address to use each time and maintain your access.

Another example is assigning a domain name to your cluster. You could create a reliable IP address to use in DNS.

## Creating an IP Address

Navigate to **IP Addresses**.

![Screenshot of the user clicking IP Addresses in the navigation pane.](/content-images/docs/compute/managing-IP-addresses/click-IP-addresses.png)

Click **+ Add IP Address**.

![Screenshot of the user clicking the Add IP Address button.](/content-images/docs/compute/managing-IP-addresses/click-add-IP-address1.png)

You must select a provider (AWS, Azure, or Google) before you can select a **Cloud Infrastructure** and **Region**. 

A **Resource Name** is required. The **Description** and **Tags** are optional.

Click **Add IP Address**.

![Screenshot of the user clicking the + Add IP Address button.](/content-images/docs/compute/managing-IP-addresses/click-add-IP-address2.png)

The message *IP created* will appear in the bottom right corner of your screen. Your IP address will begin the provisioning process. 

![Screenshot of the user clicking the + Add IP Address button.](/content-images/docs/compute/managing-IP-addresses/IP-address-provisioning.png)

You can click the status to see a detailed provisioning log. 

![Screenshot of the user clicking the IP provisioning status.](/content-images/docs/compute/managing-IP-addresses/click-provisioning-status.png)

![Screenshot of the IP address provisioning log.](/content-images/docs/compute/managing-IP-addresses/active-provisioning-log.png)

Once the IP address is provisioned, you can click the copy icon  to share it. 

![Screenshot of the user clicking the copy icon for the provisioned IP address.](/content-images/docs/compute/managing-IP-addresses/click-copy-IP-address.png)

## Attaching an IP Address

Navigate to the **Definition** tab of the cluster you'd like to attach the IP address to. In **Controller Settings**, use the **IP Address** dropdown menu to select one of your IP addresses. 

![Screenshot of the user clicking IP Address dropdown menu.](/content-images/docs/compute/managing-IP-addresses/click-IP-address-dropdown.png)

Click **Save Changes**.

![Screenshot of the user clicking Save Changes.](/content-images/docs/compute/managing-IP-addresses/click-save-changes.png)

When your cluster has been provisioned, you'll see the attached IP address in the provisioning logs and at the top of the page. 

![Screenshot of the user clicking IP Address dropdown menu.](/content-images/docs/compute/managing-IP-addresses/IP-provisioned-on-cluster.png)

## Deleting an IP Address

Navigate to **IP Addresses**. 

![Screenshot of the user clicking IP Addresses in the navigation pane.](/content-images/docs/compute/managing-IP-addresses/click-IP-addresses.png)

Click the delete  icon.

![Screenshot of the user clicking IP Addresses in the navigation pane.](/content-images/docs/compute/managing-IP-addresses/click-delete-IP-address.png)

A dialog box will appear with the message _Are you sure you want to delete this IP address?_

Click **Delete**. 

The message _IP address is waiting to be destroyed. This may take a few minutes._ will appear in the bottom right corner of your screen. Your IP address will begin the provisioning process.
