Virtual Machine Creation
Creation of a Ubuntu 22.04 LTS VM in Proxmox VE
If you looked at the Architecture page, you know that all my docker containers will be hosted on a VM and not directly on Proxmox. The advantage is that all the data is backed up periodically and we touch the proxmox system as little as possible.
In this part, we will therefore create a VM with Ubuntu 22.04 LTS.
Downloading ISO
Copy the link of the Ubuntu Server 22.04 LTS iso on the official page :
Then go to your Proxmox web page and upload the iso or download via link directly :

VM Creation
Click on "Create VM" on the top of your Proxmox interface then configure the vm with these parameters :

Choose a name for the virtual machine
Let the VM ID as it is, by default proxmox puts a value which is currently not in use
Don't select anything in Resource Pool

Select you Ubuntu Server iso image.

Let the default settings

Set the disk size that you need, to be sure to have enough space for my containers, please consider > 50Gb, it will be needed after years of exploitation of your server.
If your VM runs on SSD, you can check the Advanced checkbox and the SSD emulation checkbox, if not, don't touch anything.

Select how many cores you want to allow to this VM, know that they will not be taken from you host, it's just the "maximum" the VM can take if needed.
I think it's better to let 1 core minimum, but 2 cores recommended to proxmox host to handle ZFS and Virtualization stuff.
Personally I will allow 6 or 8 cores of my 12 cores (threads) CPU in case I need to create others VMs.
You can change this value after the creation but it will need reboot of the machine, therefore stopping all your containers.
Select "host" instead of kvm64 in the Type box.

Allow memory depending of what you can
4GB minimum is recommended in my opinion
Don't forget to let ram to the host for ZFS caching (for my case, I have 32GB of ram, I allow between 12 and 16GB to my VM).

Let default settings unless you have a specific architecture with switch and firewall at home.
This may be subject to change when I will be installing a firewall myself.
Then confirm all is good and you are ready for the next part : Ubuntu 22.04 LTS Installation
Last updated
