Community Tutorials Proxmox VE How to Create Your First VM in Proxmox VE
How to Create Your First VM in Proxmox VE
PROXMOX VE

How to Create Your First VM in Proxmox VE

SKYLINE Knowledge Base
Photo by Taylor Vick on Unsplash

A field-tested, step-by-step guide. How to Create Your First VM in Proxmox VE — prerequisites, the actual commands, verification, and links to related Proxmox VE topics.

This guide creates your first virtual machine in Proxmox VE — a barebones Ubuntu 24.04 server you can use as a template later. You will go from "fresh Proxmox install" to "SSHing into a VM" in about 15 minutes.

Prerequisites

  • Proxmox VE 8 installed (see Install Proxmox VE 8).
  • Logged into the web UI as a user with VM permissions.
  • The Ubuntu 24.04 server ISO on hand.

Step 1: Upload the ISO

In the web UI:

  • Select your node → local (pve) storage → ISO ImagesUpload.
  • Pick the Ubuntu ISO. Wait for the upload to finish.

Or via SSH (faster on a fast network):

cd /var/lib/vz/template/iso/
wget https://releases.ubuntu.com/24.04/ubuntu-24.04-live-server-amd64.iso
sha256sum ubuntu-24.04-live-server-amd64.iso

Step 2: Create the VM

Click Create VM at the top-right.

  • General:
    • VM ID: 100
    • Name: ubuntu-template
    • Resource Pool: empty
  • OS:
    • Storage: local
    • ISO image: the file you just uploaded
    • Type: Linux 6.x - 2.6 Kernel
  • System:
    • Graphic card: Default
    • Machine: q35
    • BIOS: OVMF (UEFI) for modern, or SeaBIOS for legacy
    • Add EFI Disk: yes, store on local-lvm, format raw
    • SCSI Controller: VirtIO SCSI single
  • Disks:
    • Storage: local-lvm
    • Disk size: 32 GiB
    • Cache: Write back (safer with battery-backed RAID/UPS; use Default otherwise)
    • Discard: on (lets the guest tell the host to free unused blocks)
    • SSD emulation: on for SSD-backed pools
  • CPU:
    • Sockets: 1
    • Cores: 2
    • Type: host (pass-through, max performance) or x86-64-v2-AES (better for migration between mixed hosts)
  • Memory:
    • 4096 MiB; tick Ballooning Device
  • Network:
    • Bridge: vmbr0
    • Model: VirtIO (paravirtualized, fastest)
    • Firewall: ticked
  • Confirm: tick Start after created if you're ready.

Step 3: Install Ubuntu inside

Open the VM's Console. Follow the Ubuntu installer same as bare metal — see Install Ubuntu Server 24.04 for the recipe.

When asked about SSH server, tick Install OpenSSH and paste your SSH public key (Ubuntu's installer offers GitHub key import too).

After install, eject the ISO (Hardware → CD/DVD Drive → Edit → "Do not use any media") and reboot.

Step 4: Install qemu-guest-agent inside the VM

The guest agent lets Proxmox cleanly shut down, snapshot consistent disks, and report the VM's IP back to the web UI:

ssh ubuntu@<vm-ip>
sudo apt update && sudo apt install -y qemu-guest-agent
sudo systemctl enable --now qemu-guest-agent

Back on the host, in the web UI VM → Options → QEMU Guest Agent → Edit → Enabled.

Step 5: Convert to a template (optional but useful)

Shut the VM down. In the UI: right-click → Convert to template. Now clone from this template for every future VM — much faster than re-running the Ubuntu installer.

# CLI alternative
qm shutdown 100
qm template 100

# Linked clone (instant, shared blocks)
qm clone 100 101 --name web01 --full 0

# Full clone (independent copy)
qm clone 100 102 --name db01 --full 1

Edit each clone's MAC + hostname before booting.

Step 6: Snapshots and backups

qm snapshot 101 pre-upgrade --description "Before patching to 24.04.2"
qm listsnapshot 101
qm rollback 101 pre-upgrade
qm delsnapshot 101 pre-upgrade

For backups, configure the Datacenter → Backup schedule pointing at your Proxmox Backup Server.

Verify

qm status 101
qm config 101 | head -20
qm guest cmd 101 ping             # only works with guest agent up
qm list

Conclusion

A Proxmox VM is just a qm command set on top of QEMU/KVM. The UI is great for first-time setup; once you know the workflow, the CLI (qm, pvesh) is faster and scriptable.

Next steps

SKYLINE Engineering

@skyline

The engineering team at SKYLINE Industrial Solutions. We publish field-tested guides drawn from real KSA and GCC deployments.

See author profile
SKYLINE engineering services

Need this implemented for you?

Reading is free — building it right takes a team. SKYLINE engineers ship Proxmox VE for Aramco vendors, banks, hospitals and government agencies across Saudi Arabia. Talk to us before you start.

Aramco Approved Contractor ISO 9001 · ISO 27001 SAMA CSF aligned NCA ECC ready 247+ KSA clients

Comments

0 total · 0 threads
Be the first to leave a comment.