A feature that allows you to upload and attach your own ISO image to Vultr instances for custom operating system installations.
ISO images allow you to install a specific operating system on an Vultr Cloud Compute instance. Custom ISOs enable you to deploy operating systems not available in the default Vultr installer list. They are useful for creating tailored environments or booting into specialized modes, such as rescue and recovery environments.
Follow this guide to attach a custom ISO to a Vultr Cloud Compute instance using the Vultr Customer Portal, API, CLI, or Terraform.
Send a GET
request to the List Instances endpoint and note your target instance's ID.
$ curl "https://api.vultr.com/v2/instances" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the List ISOs endpoint and note your target ISO ID.
$ curl "https://api.vultr.com/v2/iso" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a POST
request to the Attach ISO to Instance endpoint to attach the ISO to your target instance.
$ curl "https://api.vultr.com/v2/instances/{instance-id}/iso/attach" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"iso_id" : "<iso-id>"
}'
List all available instances and note your target instance's ID.
$ vultr-cli instance list
List all available ISO images and note your target ISO's ID.
$ vultr-cli iso list
Attach the ISO to your target instance.
$ vultr-cli instance iso attach <instance-id> \
--iso-id="<iso-id>"
Open your Terraform configuration for the existing Cloud Compute instance.
Add the iso_id
field to attach the desired ISO.
resource "vultr_instance" "cc" {
# ...existing fields (region, plan, os_id, label, etc.)
iso_id = "<iso-id>"
}
Apply the configuration and observe the following output:
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
No comments yet.