Create a VM on Proxmox enrolled in a FreeIPA domain with Terraform

Terraform is a widely used tool for Infrastructure as Code (IaC). It can be used to define and provision all kinds of resources, from VMs to databases and DNS records. In collaboration with Proxmox it can be used to create VMs and LXC containers. However one thing I struggled with for a long time was automatically enrolling a newly created VM in a FreeIPA domain. To do this three steps are needed....

June 4, 2022 · 7 min · Me

Setting up Nextcloud with Nginx, PHP-FPM and Docker-Compose

Goals and Prerequisites In this post I’ll detail the migration of a Nextcloud instance hosted directly on a server, to an installation using Docker containers. Of course this can also be done to setup a new instance of Nextcloud. Nginx will be used as a webserver and to serve the static content. While PHP-FPM will be used to run Nextcloud’s PHP code. The user data will be stored on an NFS mount....

May 20, 2022 · 9 min · Me

FreeIPA High-Availability with Keepalived

Goal and Prerequisites FreeIPA is a popular application which can be used for centralized user and host management, DNS and even certificates. While multiple replicas of the FreeIPA server can provide failover, it is not truly highly-available unless the client switches over to the replica server. Therefore we will configure the web interface and the LDAP server to automatically failover and be available under the same address/hostname at all times....

May 9, 2022 · 8 min · Me