⛰️OpsRunbooksCreating A New Vm

Create the VM

  1. go to proxmox console

  2. open a shell on radish

  3. run these commands

qm clone 666 $new_vm_id_number --name $new_vm_name
qm set $new_vm_id_number --sshkey ~/.ssh/<name>.pub

666 is the template to clone. see the farm
$new_vm_id_number must be set manually. use the next available integer
$new_vm_name must also be set manually. use the pattern owner-description (ex bunk-postgres-shared)
(substitute your name for the public ssh key)

Configure the VM

  1. find vm by id and description in the console and select

  2. go to cloud-init > ip config

  3. assign a static ip in the proxmox ui. document ip address in ops/assigned_ips

  4. go to hardware

  5. grow memory, disk, and processor as necessary

WARNING do not change processor type. it should be x86-64-v2-AES

  1. to grow the disk, select hard disk (scsi0) and then click disk action drop down and select resize

    • the value in this form will be an incremental change from the current size

  1. start the vm by clicking the start button