Jump toUpdate content
Deploying Virtual Machines with Hyper-V on Scaleway Dedibox
Microsoft Hyper-V is a hypervizor which allows to create virtual machines on x86-64 systems.
It is available since the release of Windows Server 2012.
A free stand-alone, but command-line only, version of Hyper-V Server is also available.
This tutorial is based on the 2019 version of HyperV running on Windows Server 2019.
When installing Windows automatically via the console, a monthly subscription to a license is required.
Scaleway Dedibox offers monthly subscriptions to different versions of Microsoft Windows Standard Server licenses, but to benefit from HyperV it is recommended to install the 2012 R2 English (64-bit) version.
Access the server page of your Dedibox on the console and click Install:
Click Server Distributions:
Select Windows on the distribution menu, then windows standard_2012_r2 64BITS under Chose a Version and click Install Windows:
Complete the next steps by including your Partitioning and System Configuration preferences when requested and conclude installation.
Your server can also be booted from a Windows Server ISO file through a KVM over IP device if included in your Dedibox. This type of installation gives you the possibility of installing your own licenses or remote ISO files.
You can download Windows and HyperV ISO images from Microsoft’s evaluation center.
To begin installation via KVM over IP, access the server page of your Dedibox on the console and click Install.
Click on KVM over IP.
A Disclaimer window pops up. Make sure you have read and agreed to the terms displayed and click I ACCEPT.
You will be redirected to your server’s status page. Click the third button on the right. The model of the KVM over IP device is determined by the brand of your Dedibox chassis. For a Dell chassis, you will use IDRAC.
The process from this step forward may differ according to the KVM model being used. Please refer to the technical documentation of your machine to conclude the installation.
Once the installation is complete, connect to your server using the Remote Desktop Protocol and launch the Application Hyper-V Manager from the Windows Administrative Tools section of the start menu:Note:
In case you can not find the Hyper-V Manager application on your machine, the Hyper-V role might not be installed. You can install the role from the Windows Server Manager.
From the Hyper-V Manager application click New in the Actions menu, then Virtual Machine to launch the virtual machine creation wizard:
The VM creation wizard displays. Click Next to begin with the configuration of the new virtual machine:
Choose a name and a location for the virtual machine. If no specific configuration is required from your side, leave the default value:
Choose the generation of the virtual machine. You can either use the older Generation 1 for compatiblity avec older versions of Hyper-V or the newer Generation 2. For more information about the different generations, refer to the official documentation.
Assign memory to the virtual machine. You can either define a static value or enable dynamic memory allocation, depending on your workloads:
Choose the network for the virtual machine. If your Dedibox has more than one network interface, choose the public Internet facing network adapter from the drop-down list:
Connect the virtual hard disk to the virtual machine. Either create a new virtual disk, or choose an existing disk to restore a machine from a previous backup. By default all virtual disks are stored in the directory
C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\. Choose the disk size for the virtual machine towards your requirements:
Choose the installation options for the virtual machine. You can either specify to create the machine without operating system, specify a local ISO file or provide information for a network based installation server. If you have downloaded an ISO file to install your OS, choose the second option and specify the file path before clicking Next:
A configuration summary displays. Click Finish to launch the creation of the virtual machine:
To make sure that the virtual machine is allowed to communicate on the Internet, a virtual MAC address has to be assigned to the failover IP from the Dedibox Console. Refer to the [dedicated documentation](ADD LINK HERE) for more information how to create a virtual MAC address. Click Settings in the VM section of the menu.
Click Network Adapter (1), Advanced Features (2), then on Static in the MAC Address section. Enter the virtual MAC address of the failover IP in the form and validate by clicking on Apply, then OK to leave the settings window.
Start the Virtual Machine by clicking on Start in the side menu. The virtual machine will boot from the ISO file and the installtion wizard of the operating system displays. Follow the steps of the wizard to complete the installation.
Once the installation of the guest OS has completed, configure the virtual networking as described in our documentation. Once configured, you may run a ping test to check the connectivity of the virtual machine: