How to Convert an Existing Vultr Instance IP Address to a Reserved IP
-
by Blog Admin
- 24
How to Convert an Existing Vultr Instance IP Address to a Reserved IP
Learn how to convert an existing IP address on your Vultr instance to a different type of IP address.
Converting an existing instance IP address to a reserved IP enables it as a dedicated address you can attach or detach to other instances in your Vultr account. A reserved IP is compatible with any instance you can attach or detach it to.
Follow this guide to convert an existing Vultr instance IP Address to a reserved IP using the Vultr Customer Portal, API, or CLI.
Vultr Customer Portal
- Navigate to Products, expand the Network drop-down and select Reserved IPs from the list of options.
- Click Add Reserved IP to set up a new reserved IP address.
- Click the IPv4 Address or IPv6 subnet drop-down to select your existing IP and click Convert.
- Click Convert IP Address in the confirmation prompt to create a new reserved IP using the existing IP.
Vultr API
- Send a
GET
request to the List Instances endpoint and note the target instance IP.console$ curl "https://api.vultr.com/v2/instances" \ -X GET \ -H "Authorization: Bearer ${VULTR_API_KEY}"
- Send a
POST
request to the Convert Existing IP endpoint to create a new reserved IP using the instance’s IP address.console$ curl "https://api.vultr.com/v2/reserved-ips/convert" \ -X POST \ -H "Authorization: Bearer ${VULTR_API_KEY}" -H "Content-Type: application/json" \ --data '{ "ip_address": "<instance-ip>", "label": "<label>" }'
Vultr CLI
- List all instances in your Vultr account and note the target instance’s IP.
console
$ vultr-cli instance list
- Convert the target instance IP to a reserved IP address.
console
$ vultr-cli reserved-ip convert --ip="<instance-ip>" --label="<label>"
How to Convert an Existing Vultr Instance IP Address to a Reserved IP Learn how to convert an existing IP address on your Vultr instance to a different type of IP address. Converting an existing instance IP address to a reserved IP enables it as a dedicated address you can…
How to Convert an Existing Vultr Instance IP Address to a Reserved IP Learn how to convert an existing IP address on your Vultr instance to a different type of IP address. Converting an existing instance IP address to a reserved IP enables it as a dedicated address you can…