2. Deployment
The deployment guide describes the full Terraform workflow. Follow the sections in order for a new installation; return to the LXC and bootstrap sections when adding guests later.
Chapter index
- Prerequisites — inventory, templates, credentials, backups, and host access.
- Configure and initialize — shared settings, provider initialization, local checks, and initial guest settings.
- Extra VM disks — data disks, storage overrides, backups, and mounting inside the guest.
- LXC guests and storage — templates, mount volumes, backups, nesting, SSH, and migration.
- Apply Proxmox host routing — forwarding, aggregate routes, and startup ordering.
- Declare local DNS records — explicit Pi-hole records and wildcard migration.
- Provision stopped guests — saved plans, routing outputs, and stopped-guest inspection.
- Start inspected guests — activation after inspection.
- Bootstrap guest SSH — temporary setup access.
- Debian guest setup — login proxy variables, APT downloads, and Docker proxy and log rotation settings.
- Live acceptance and removal — packet checks, persistence, and cleanup.
Use the firewall and access chapter alongside this guide when configuring services and dependencies.