Creating a Proxmox Virtual Machine: First VM Guide
Create your first Linux virtual machine on Proxmox. Adjust ISO, CPU, RAM, disk and network settings; check startup, access and recovery from backup.
You have installed Proxmox and logged in to the panel. Now you can create your first virtual machine. The Create VM button starts the job; you need to make disk, network and operating system selections according to your infrastructure. We will use a small Linux test machine for this guide. At the end of the article, the VM will boot, you will know how to check the network connection and you will be able to test it by restoring the backup.
If you don't have a working Proxmox VE host yet, follow the Proxmox installation guide first. If the concepts of VM and container are new, the article What is Proxmox? is a more suitable place to start. This guide explains how to create a KVM virtual machine on a host that is already set up.
A small test plan for your first VM
Do not migrate customer data initially. Build a system that you can lose without interrupting a service. This way, when you choose the wrong disk or network setting, you can find out the cause of the error instead of trying to repair an actual service.
In our example, we will create a Linux VM named linux-deneme-01, using 2 vCPUs, 2 GB RAM and 24 GB disk. These values are for a lightweight test; they are not capacity recommendations for a database, control panel, or production application. The requirements of the distribution you will use take priority.
Free RAM in the panel is not enough on its own. Leave capacity for host services and your storage system. Do not calculate memory based on VMs alone, especially on servers with ZFS or Ceph. You can find basic hardware requirements at Proxmox's official requirements page.
Where should you upload the ISO file?
Download the ISO file of the Debian or Ubuntu Server version you will install from the official website of the distribution. Compare the file's checksum with the published value. Then, open the relevant node and the storage that can store ISO content in the Proxmox panel and upload it from the ISO Images section.
There are two areas that are often confused here: where the installation media resides and where the VM disk is created. The ISO file may be on one storage, the virtual disk may be on another. For example, in some installations you will see ISO under local and VM disks under local-lvm. The names or content types on your server may be different; do not make your choice just by looking at the name.
Fill in the Create VM screen
Press the Create VM button in the top right. Select an unused VMID and enter the name. Select the ISO you uploaded in the OS step. Then complete the disk, processor, memory and network settings. Tab names may vary depending on version or interface language.
| Field | Example in this article | What to check before choosing |
|---|---|---|
| Name | linux-deneme-01 | Could it be confused with another VM name? |
| CPU | 2 vCPU | Current host load |
| RAM | 2 GB | Memory left for the host and other VMs |
| Disk | 24 GB | Free space of the selected storage |
| Network | Bridge suitable for your infrastructure | IP, VLAN and gateway plan |
Consider the BIOS/UEFI and disk controller selections on the System tab together with the operating system you will install. Seeing a different setting in a screenshot on the internet is not reason enough to change your own setup. Ensure compatibility first. When choosing the CPU model, consider the possibility of moving the VM to another host in the future.
Make sure you select the correct storage in the Disks step. A VM booting successfully does not prove that it is using the storage scheme you expect. If you are still undecided, check the ZFS, LVM-thin and Ceph guide. On the last screen, review the allocated resources once more and finish the creation process.
Linux installation and first reboot
Start the VM, open the console and follow the installation steps of the distribution. The capacity on the disk partitioning screen should match the virtual disk you just created. After completing the user, time zone and network selections, reboot the system.
If the installation screen appears again, first check the ISO connection and boot order on the CD/DVD device. Do not immediately start a second installation. If the VM remains on the blank screen, the first places to examine are the system disk, boot order and the BIOS/UEFI layout you chose during installation.
When you log in, these commands will help you understand the resources visible to the Linux guest. Run these in the VM you installed, not on the Proxmox host:
free -h
lsblk
df -h
free shows memory, lsblk shows disks and partitions, and df shows space on mounted file systems. It is normal that the disk capacity and the available space of the file system are not exactly the same; partitions and the file system also use space. After applying the distribution's updates, reboot once again and see that the installed system boots without any problems.
The VM boots but cannot access the internet
First check the network interfaces and addresses:
ip -br address
ip route
An interface, an IP address and a default route are three separate checks. If the interface appears but there is no address, examine the DHCP service or fixed IP configuration. If there is an address but no route, check the gateway information. If domain names cannot be resolved while accessing via IP, investigate DNS.
The bridge in Proxmox acts like a virtual switch. Selecting a bridge does not automatically assign an IP address to the VM. A local network with DHCP and a data centre where the provider allocates IP addresses require different configurations. If you are going to use a fixed address, enter only the IP, prefix and gateway information allocated to you.
If you are using a VLAN, defining the tag only on the VM may not be enough; the host and switch must also follow the same network plan. See the official Proxmox network documentation for a description of network layouts, and our bridge and VLAN guide for service planning. When troubleshooting, identify the blocked connection rather than turning off the firewall entirely.
Can you restore the backup?
Create a small text file in the VM and write the date and a sentence you can recognize in it. Take a backup. Once you see success in the task log, restore the backup with a different VMID; do not connect the copy to the production network with the same IP.
Check that the restored system boots and that your file contains the content you expect. This tests both taking a backup and restoring from it. This small test does not verify all of your application's data; when you start using the application, additional acceptance steps are required for the database and other dependencies.
You can review the backup and restore options from Proxmox's Backup/Restore description. The RPO and RTO planning guide is the next step for defining retention periods and acceptable data loss.
If you are going to do the same installation again
Once you have tested boot, networking and restoration on the first machine, save the settings you used. Instead of installing new machines manually each time, you can prepare a template. Do not leave a personal SSH key, test password, or customer data in the template. Also plan how the machine ID and access information for the copies will be produced.
The Cloud-Init template preparation article discusses this process. The panel retrieving guest information and configuring the first boot are separate tasks. See Guest Agent and Cloud-Init differences.
If you are going to offer hosting services, it is necessary to map this template to the product package and customer service record. The Proxmox automation guide explains the workflow, and the WHMCS and WISECP pages explain VMRobot connections. First create an instance that you verify manually; you can compare automatically provisioned machines with it.
Frequently asked questions
Is a cluster required for the first VM?
No, you can create a virtual machine on a single Proxmox node. Clustering and high availability are planned separately based on your outage expectations.
How do I choose between a VM and LXC?
This article describes the KVM virtual machine. A VM runs its own guest kernel, while LXC shares the host's Linux kernel. They suit different needs. You can read the KVM and LXC comparison to choose according to workload.
Can disk and RAM be increased later?
Resources can be changed; how changes take effect depends on the guest and its configuration. Expanding the virtual disk does not always automatically expand the partition and file system inside the guest. For this process, follow the Linux and Windows disk expansion guide.