Although we offer several different operating system images and CDROMs at the UpCloud control panel, you might want to install an operating system from your own installation media. This process requires you to create a storage that contains the install image, define it as a CDROM at the control panel and then boot up the server from that CDROM-storage.
Deploying a new server
Start off by creating a new cloud server of your choice at your UpCloud control panel. The instructions in this guide are directed at a Linux system but the process would be largely the same on any server OS.
Make the required configurations by:
- Naming your server and giving it a description.
- Selecting the availability zone you wish to deploy the server.
- Choose the configuration for CPU core count and RAM amount.
- Add a second 10GB disk by clicking the text below the first.
- Pick the OS you are comfortable with for a one time boot.
- Include any SSH keys you wish if available to allow password-free login.
- Check the miscellaneous options to choose a password delivery method.
- Confirm your selections and click the Deploy server button.
Once your server has finished deploying, you can log in with SSH using any keys selected at deployment or the root password displayed in the notifications at your UpCloud control panel.
Preparing the install media
When logged in, check that you have the storage space required to continue with the command underneath.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 253:0 0 25G 0 disk `-vda1 253:1 0 25G 0 part / vdb 253:16 0 10G 0 disk
The first disk will show up with the regular operating system partition which is mounted at the root and the second disk should be a simple empty disk with no partitions.
Download the installation image you wish to use to the server, for example using curl and wait for the download to finish.
curl -o ~/image.iso https://example.com/install-image.iso
When you have the desired image saved on the server, copy the file contents to the empty storage device with the following command. Check that the image name and the target disk are set correctly and that the image is copied directly.
dd if=~/image.iso of=/dev/vdb bs=16M oflag=direct
This operation is quite fast and when the image file has been copied to the storage, shut down the server either from your UpCloud Control Panel or with the command below.
shutdown -h now
With the server powered down, open the Disks tab at your Server settings.
Change the Disk Controller of the installation media disk to a CDROM.
This will tell the server to boot up from the media disk so that you may start the installation. Confirm your selection by checking that the previously secondary disk is now listed as the first device on the Disks list.
Installing from the image disk
You can now start the server again and go through the installation process with the disk image you downloaded. You will need to use either the Web Console at your Server settings or a VNC connection to access the server during the installation. You can find more information about how to use these methods in our guide for connecting to your server.
When you have finished installing the new operating system, shut down the server again and detach or delete the installation device from the Disks menu.
If you should need any further instructions with the operation, please do not hesitate to contact us and ask for assistance.