Terraform for OpenBSD VMs on AWS, Vultr, and Proxmox
Provision OpenBSD VMs with Terraform: AWS EC2 unofficial AMIs, Vultr official images, Proxmox install, and pf firewall bootstrap.
DevOps
Provision NetBSD VMs with Terraform on Proxmox, KVM, and Xen for cross-platform testing, embedded simulation, and portability research.
NetBSD is the most portable Unix in the world — it runs on more architectures than any other OS. Cloud providers don't ship official NetBSD images, so Terraform usually targets self-hosted hypervisors (Proxmox, KVM via libvirt). Use case in 2026: cross-platform CI, pkgsrc package validation, and embedded board emulation.
resource "proxmox_virtual_environment_vm" "netbsd" {
name = "netbsd-10"
node_name = "pve1"
cpu { cores = 2; type = "host" }
memory { dedicated = 1024 }
cdrom {
enabled = true
file_id = "local:iso/NetBSD-10.1-amd64.iso"
}
disk {
datastore_id = "local-lvm"
interface = "virtio0"
size = 16
}
network_device {
bridge = "vmbr0"
model = "virtio"
}
serial_device {}
}terraform {
required_providers {
libvirt = { source = "dmacvicar/libvirt", version = "~> 0.7" }
}
}
resource "libvirt_volume" "netbsd" {
name = "netbsd.qcow2"
pool = "default"
source = "/var/lib/libvirt/images/NetBSD-10.1-amd64-cloud.img"
format = "qcow2"
}
resource "libvirt_domain" "netbsd" {
name = "netbsd-10"
memory = "1024"
vcpu = 2
disk { volume_id = libvirt_volume.netbsd.id }
network_interface { network_name = "default" }
console { type = "pty"; target_type = "serial"; target_port = "0" }
}Provision OpenBSD VMs with Terraform: AWS EC2 unofficial AMIs, Vultr official images, Proxmox install, and pf firewall bootstrap.
Provision VMs on Proxmox VE with Terraform using the bpg/proxmox provider: API token auth, cloud-init, LXC containers, and storage pools.
Deploy OpenClaw AI on AWS EC2 with Terraform: Ubuntu 24.04, gp3 EBS for persistent agent data, SSH key pair, security group, and user-data bootstrap.
Provision AIX on IBM Power Systems Virtual Server with Terraform: PowerVS instances, NIM-style image management, SAN volumes, and hybrid VPN.