Deploying Virtual Machines with Proxmox on Scaleway Dedibox

Proxmox - Overview

Proxmox Virtual Environment (Proxmox VE) is a open-source management platform for virtual machines, based on Debian Linux. It integrates both, Linux Kernel Virtual Machines (KVM) as well as LXC containers. KVM provides full virtualization for complete Windows and Linux images whilst LXC containers are lightweight and perfect to run conflict-free Linux applications. Proxmox is an alternative hypervisor to VMWare ESXi or Microsoft HyperV. You can easily host Virtual Machines (VM) on a dedicated server.

The software provides an intuitive web interface as well as a complete REST-API to deploy and manage infrastructures.

Requirements

This tutorial assumes that you have already installed Proxmox VE on your Scaleway Dedibox. The automatic installation of Proxmox VE is available from your Scaleway Dedibox console or manually unsing the KVM-over-IP device of your server.

Connecting to Proxmox

1 . Open a web browser on your computer and go to the Proxmox web interface, available at https://your_dedibox_ip:8006/

2 . Log into the web interface with the root user and the password you have set during the installation of Proxmox.

3 . The Proxmox dashboard displays:

Proxmox Image Store

Downloading LXC Container Images

LXC uses pre-built containers. Proxmox provides a selection of the most common containers for download directly from their servers. Before creating a container, an image needs to be downloaded onto the Proxmox host.

1 . Click on Storage > local to enter the local storage.

2 . Click on Templates to download an image from Proxmox:

3 . Choose the image to download and click Download:

Uploading ISO-Files

KVM uses a virtual CD-ROM drive to boot the OS installation system from an ISO file. ISO files are archive files that contain identical copies of the data found on optical discs. To create a KVM virtual machine, an installation media has to be uploaded first.

1 . Click on Storage > local to enter the local storage.

2 . Click on Upload to upload an ISO file from your local computer:

3 . Choose a local file and upload it to the Proxmox server:

Deploying a Virtual Machine

Creating a LXC Container

1 . Click Create CT to launch the LXC container creation wizard:

2 . Enter the Hostname for the container, a Password and its confirmation. Optionally you can enter or upload a public SSH key for authentication:

3 . Choose the template for the LXC container:

4 . Configure the virtual disk for the cluster. You can set the type of the storage as well as the capacity of the virtual disk:

5 . Set the number of virtual CPU cores available for the container:

6 . Set the amount of available RAM and Swap space for the container towards your requirements:

7 . Configure the network for the container. Set the parameters as follows to ensure your container has network access:

  • Name: Set this value to eth0
  • MAC Address: Set this value to the virtual MAC address associated to the failover IP of the container.
  • Bridge: Set this value to vmbr0.
  • IPv4: Configure the IPv4 of the container as Static, enter the failover IP in CIDR notation and configure the unique gateway 62.210.0.1.

8 . Set the resolving DNS servers for the container. You can either configure the DNS servers provided by Scaleway Dedibox (62.210.16.6 and 62.210.16.7) or set your preferred DNS resolvers:

9 . A summary of the containers’ configuration displays. If everything is set correctly, click Finish to create the container:

10 . Start the container from the Proxmox web interface. You can use the web console to connect to your virtual machine and test the network connectivity using a ping-test:

Creating a KVM Virtual Machine

1 . Click Create VM to launch the KVM virtual machine creation wizard:

2 . Enter a Name for the virtual machine. The Node and VM ID values are pre-filled, leave them as they are.

3 . Choose the installation media for the virtual machine. Select CD/DVD disc image file (iso), choose the local storage and select the ISO-file downloaded previously. Choose the Guest OS type. For a recent Linux distribution, select Type Linux and Version 5.x - 2.6 Kernel. For other OS types set the values according to the requirements of your operating system.

4 . Configure graphics card and SCSI controller available for the virtual machine. If no special requirements are needed, leave the default settings:

5 . Set the parameters of the virtual hard drive. You can go with the default settings and set the disk size towards your requirements:

6 . Choose the CPU settings for the virtual machine. You may set the number of Sockets and Cores as well as the Type towards your requirements:

7 . Set the amount of RAM for the virtual machine towards your requirements:

8 . Configure the network interface. Set the bridge to vmbr0, the model to VirtIO (paravirtualized) and configure the virtual MAC address assigned to the failover IP of the virtual machine. The static network configuration is done in a later step, during the installation of the operating system.

9 . A configuration summary displays. Click Finish if all settings are correct to launch the creation of the virtual machine.

10 . Start the virtual machine from the Proxmox panel. It boots from the chosen ISO file. Connect to the virtual machine using the console and follow the steps of the operating systems’ setup wizard to complete the installation:

Follow the official documentation to learn more about VM templates and Clones or watch tutorials on the official Youtube canal?

Discover New Bare Metal Cloud servers

Deploy 100% dedicated servers that are billed by the hour and available in minutes.