How to Manage ISO Images for Vultr Instances
-
by Blog Admin
- 8
How to Manage ISO Images for Vultr Instances
The process of setting up and configuring a new server or service to make it ready for use.
ISO Images for Vultr instances are compressed copies of an operating system’s installer. These images allow you to install custom operating systems on Cloud Compute instances. The ISO files may contain pre-configured settings and software according to specific needs to streamline server setup. The Vultr library also allows you to choose and install various public standard ISOs including Finnix, GParted, Hiren’s BootCD PE, and SystemRescue.
Follow this guide to manage ISO Images for Vultr instances using the Vultr Customer Portal, API, CLI, or Terraform.
Vultr Customer Portal
- Navigate to Products and select Orchestration. Then, choose ISOs.
- Click Add ISO.
- Enter the remote URL of your ISO file and click Upload.
Vultr API
- Send a
POST
request to the Create ISO endpoint and specify the remote ISO file URL.console$ curl "https://api.vultr.com/v2/iso" \ -X POST \ -H "Authorization: Bearer ${VULTR_API_KEY}" \ -H "Content-Type: application/json" \ --data '{ "url" : "https://example.com/remote_iso_file_url.iso" }'
Visit the Create ISO endpoint to view additional attributes to add to your request.
- Send a
GET
request to the List ISOs endpoint to list all ISOs.console$ curl "https://api.vultr.com/v2/iso" \ -X GET \ -H "Authorization: Bearer ${VULTR_API_KEY}"
Vultr CLI
- Create an ISO from an URL by defining the URL where you want to download the ISO file.
console
$ vultr-cli iso create --url https://releases.ubuntu.com/24.04/ubuntu-24.04-live-server-amd64.iso
- List all ISOs.
console
$ vultr-cli iso list
- List specific details about an ISO by specifying the ISO ID.
console
$ vultr-cli iso get iso_id
Run
vultr-cli iso create --help
to view all options.
Terraform
- Define a custom ISO by URL and apply.
terraform
resource "vultr_iso" "custom_iso" { url = "https://example.com/remote_iso_file_url.iso" }
- Attach the ISO when creating an instance. Remember to set
os_id = 159
for custom ISO boot.terraformresource "vultr_instance" "server" { region = "ewr" plan = "vc2-2c-4gb" label = "iso-boot" os_id = 159 # required for custom ISO iso_id = vultr_iso.custom_iso.id }
- Apply the configuration and observe the following output:
Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
How to Manage ISO Images for Vultr Instances The process of setting up and configuring a new server or service to make it ready for use. ISO Images for Vultr instances are compressed copies of an operating system’s installer. These images allow you to install custom operating systems on Cloud…
How to Manage ISO Images for Vultr Instances The process of setting up and configuring a new server or service to make it ready for use. ISO Images for Vultr instances are compressed copies of an operating system’s installer. These images allow you to install custom operating systems on Cloud…