Bachelor Tech
  • Home
  • Tutorials
  • Tips
  • Portfolio
  • About Jan
  • Contact Jan

Set up a Galera Witness on Hetzner VPS using Terraform + Ansible (AWX)

by Jan Bachelor November 21, 2025
120 views
121

In this tutorial, we will automate deployment of a VPS on Hetzner (a renowned EU cloud based provider) using Terraform and configure it using Ansible – all triggered from AWX. This is a definitive guide for anyone running Galera on hybrid cloud infrastructure!

Screenshot of AWX showing 3 templates.
The goal of this tutorial – set up 3 templates in AWX to provision a VPS, configure it with S2S VPN + Galera Arbitrator and then set up monitoring of the Galera DB cluster using Uptime Kuma
1. Proposed architecture + infrastructure requirements 2. Create the initial Terraform + Ansible scripts 3. Prepare your AWX environment – Credentials 4. Create a provisioning job in AWX [Template 1] 5. Create a Configuration job template in AWX [Template 2] 6. Create an Uptime Kuma restoration job [Template 3] 7. Create a Workflow Template to join the 3 jobs

0 FacebookWhatsappEmail
Jan Bachelor

previous post
Deploy Ansible AWX to automate OS patching
next post
How to configure High Availability for a Web Server using Syncthing and HAProxy (on OPNSense)

Course Steps

Other courses

Turn your Raspberry Pi into a Proxmox Backup...

July 13, 2025

Create an automated Gravity workflow that will allow...

January 19, 2024

Dynamically Populate Gravity Forms from Google Sheets (GSheets...

March 16, 2021

Concur Alternative: Import Employees’ Credit Card Expenses to...

January 19, 2024

Install iRedMail Mail Server As Proxmox VM With...

October 31, 2024

Buy Me a Coffee

Buy Me a Coffee Buy Me a Coffee

Recent Posts

  • How to get LXC containers for Proxmox outside of ready-made templates

  • How to join two Proxmox nodes into a cluster (PVE 8.x)

  • How to Rename a Proxmox Node

All Rights Reserved. The theme was customized from Soledad, see PenciDesign

Bachelor Tech
  • Home
  • Tutorials
  • Tips
  • Portfolio
  • About Jan
  • Contact Jan