---
title: Attachment
url: https://docs.vultr.com/products/network/reserved-ips/management/attachment
description: Add one or more reserved IPs to a Vultr instance as extra public addresses using the Console, API, CLI, or Terraform.
publish_date: 2024-09-23T20:22:02.195201Z
last_updated: 2026-10-23T19:52:03.285366Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

# How to Attach Reserved IPs to a Vultr Instance

Attaching a reserved IP to an instance enables a new public network address on the instance's main network interface. You can attach multiple reserved IPs on an instance to enable fast resolution and system management.

Follow this guide to attach reserved IPs to a Vultr instance using the Vultr Console, API, CLI, or Terraform.

=== "Vultr Console"

    1. Navigate to **Products**, expand the **Network** drop-down and select **Reserved IPs** from the list of options.
    1. Click your target reserved IP to open its management page.
    1. Click the **Attach to Server** drop-down, select your target instance and click **Attach**.
    1. Click **Attach Reserved IP** in the confirmation prompt to apply the reserved IP to your instance.

=== "Vultr API"

    1. Send a `GET` request to the [**List Reserved IPs** endpoint](https://www.vultr.com/api/#tag/reserved-ip/operation/list-reserved-ips) and note the target reserved IP's ID.

        ```console
        $ curl "https://api.vultr.com/v2/reserved-ips" \
           -X GET \
           -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

    1. Send a `GET` request to the [**List Instances** endpoint](https://www.vultr.com/api/#tag/instances/operation/list-instances) and note the target instance ID.

        ```console
        $ curl "https://api.vultr.com/v2/instances" \
          -X GET \
          -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

    1. Send a `POST` request to the [**Attach Reserved IP** endpoint](https://www.vultr.com/api/#tag/reserved-ip/operation/attach-reserved-ip) to attach the reserved IP to the instance.

        ```console
        $ curl "https://api.vultr.com/v2/reserved-ips/{reserved-ip}/attach" \
           -X POST \
           -H "Authorization: Bearer ${VULTR_API_KEY}" \
           -H "Content-Type: application/json" \
           --data '{
             "instance_id" : "<target-instance-id>"
           }'
        ```

=== "Vultr CLI"

    1. List all active reserved IPs in your Vultr account and note the target reserved IP ID.

        ```console
        $ vultr-cli reserved-ip list
        ```

    1. List all instances in your Vultr account and note the target instance ID.

        ```console
        $ vultr-cli instance list
        ```

    1. Attach the reserved IP to the instance.

        ```console
        $ vultr-cli reserved-ip attach <reserved-ip-id> --instance-id="<target-instance-id>"
        ```

=== "Terraform"

    1. Open your Terraform configuration for the existing instance and reserved IP.

    1. Set `instance_id` on the `vultr_reserved_ip` to attach, then apply.

        ```terraform
        resource "vultr_instance" "server" {
            # ...existing fields
        }

        resource "vultr_reserved_ip" "rip" {
            region      = "ewr"
            ip_type     = "v4"
            label       = "web-rip"
            instance_id = vultr_instance.server.id
        }
        ```

    1. Apply the configuration and observe:

        ```
        Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
        ```
