
Vultr provides a library of standard ISOs and One-Click Apps for deploying popular operating systems and applications. However, you may need to install an operating system or tool not included in the library, such as a custom build of Kali Linux, OpenBSD, or pfSense. Upload and use your own custom ISO to cover these cases.
This guide explains how to upload a custom ISO to Vultr, deploy new instances with it, attach or detach it from running instances, and manage ISOs using the Vultr API.
Before you begin, have access to one of the following: the Vultr Console, a Vultr API key, or the Vultr CLI.
Upload a custom ISO to Vultr by providing a publicly accessible URL. Once uploaded, the ISO is available in your account and can be used to deploy new instances or attach to existing ones.
Keep the following requirements in mind before uploading a custom ISO:
.iso extension.Create an ISO from a public URL. Replace ISO_URL with the public link to your ISO file.
The response includes details about the ISO. Note the id value for later use.
Verify the upload status. Replace ISO_ID with the id value from the previous step.
Verify that the STATUS field shows completed before proceeding.
Create an ISO from a public URL. Replace ISO_URL with the direct link to your ISO file.
The response includes details about the ISO. Note the id value for later use.
Verify the upload status. Replace ISO_ID with the id value from the previous step.
Verify that the status field shows complete before proceeding.
If the ISO image requires authentication or includes query parameters in its download link, you cannot upload it directly. In such cases, download the ISO to your local system, upload it to Vultr Object Storage, make it publicly accessible, and then use that URL.
After uploading the ISO, deploy a new instance that boots from it. Complete the operating system installation through the VNC console, then detach the ISO so the instance boots from the installed OS on subsequent reboots.
After deploying the instance with the CLI, open the VNC console in the Vultr Console to complete the OS installation, then detach the ISO.
List all available ISOs in your account.
Note the id of the ISO you want to use.
Create a new instance using the desired ISO. Replace REGION, PLAN, ISO_ID, EXAMPLE_LABEL, and EXAMPLE_HOST with your values.
Log in to the Vultr Console.
Click Compute in the left sidebar and select Instances.
Select the newly created instance.
Click the View Console icon to open the VNC console and complete the installation.
Click the Settings tab, select Custom ISO from the left menu, and click Remove ISO to detach the ISO.
After creating the instance via the API, open the VNC console in the Vultr Console to complete the OS installation, then detach the ISO via the API.
List all available ISOs in your account and note the id of the ISO you want to use.
Create a new instance using the ISO. Replace REGION, PLAN, EXAMPLE_LABEL, ISO_ID, and EXAMPLE_HOST with your values.
Note the id of the newly created instance from the response.
Log in to the Vultr Console.
Click Compute in the left sidebar and select Instances.
Select the newly created instance.
Click the View Console icon to open the VNC console and complete the installation.
Detach the ISO so the instance boots from the installed OS. Replace INSTANCE_ID with the instance id from the previous step.
Vultr detaches the ISO and reboots the instance automatically.
Detach the Custom ISO after installation is complete. If left attached, the instance boots from the ISO after every reboot.
You have uploaded a custom ISO to Vultr and deployed instances using the Vultr Console, CLI, and API. The instance now boots from the installed operating system, with the custom ISO detached.
0 Comments
Be the first to comment and share your perspective with the community.