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.
Note: This tutorial is based on the 2019 version of HyperV running on Windows Server 2019.
Option 1: Via the Scaleway Dedibox Console
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.
1 . Access the server page of your Dedibox on the console and click on Install:
2 . Click on Server Distributions:
3 . Select Windows on the distribution menu, then windows standard_2012_r2 64BITS under Chose a Version and click on Install Windows:
4 . Complete the next steps by including your Partitioning and System Configuration preferences when requested and conclude installation.
Option 2: Via KVM over IP
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.
1 . To begin installation via KVM over IP, access the server page of your Dedibox on the console and click on Install.
2 . Click on KVM over IP.
3 . A Disclaimer window pops up. Make sure you have read and agreed to the terms displayed and click on I ACCEPT.
4 . You will be redirected to your server’s status page. Click on 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 Scaleway Dedibox KVM over IP documentation to conclude the installation.
1 . 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.
1 . From the Hyper-V Manager application click New in the Actions menu, then Virtual Machine to launch the virtual machine creation wizard:
2 . The VM creation wizard displays. Click on Next to begin with the configuration of the new virtual machine:
3 . Choose a name and a location for the virtual machine. If no specific configuration is required from your side, leave the default value:
4 . 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.
5 . Assign memory to the virtual machine. You can either define a static value or enable dynamic memory allocation, depending on your workloads:
6 . 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:
7 . 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:
8 . 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:
9 . A configuration summary displays. Click Finish to launch the creation of the virtual machine:
10 . 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 Scaleway Dedibox Console. Refer to the dedicated documentation for more information how to create a virtual MAC address. Click Settings in the VM section of the menu.
11 . Click on 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.
12 . 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.
13 . 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: