No description
Find a file
Mauritz Uphoff 7f2d6e56e7
All checks were successful
CI / TruffleHog Secrets Scan (push) Successful in 16s
CI / Terraform Format & Validate (push) Successful in 13s
add lock file
2025-06-11 15:11:21 +02:00
.forgejo/workflows Initial commit 2025-06-10 16:32:16 +02:00
docs Initial commit 2025-06-10 16:32:16 +02:00
.gitignore add lock file 2025-06-11 15:11:21 +02:00
.terraform.lock.hcl add lock file 2025-06-11 15:11:21 +02:00
00-provider.tf cleanup repository 2025-06-11 15:07:19 +02:00
01-config.tf cleanup repository 2025-06-11 15:07:19 +02:00
02-user_data Initial commit 2025-06-10 16:32:16 +02:00
03-network.tf cleanup repository 2025-06-11 15:07:19 +02:00
04-master.tf cleanup repository 2025-06-11 15:07:19 +02:00
05-backup.tf cleanup repository 2025-06-11 15:07:19 +02:00
06-ha.tf cleanup repository 2025-06-11 15:07:19 +02:00
example.env Initial commit 2025-06-10 16:32:16 +02:00
keepalive.conf Initial commit 2025-06-10 16:32:16 +02:00
README.md add hint for cli guide 2025-06-11 15:10:06 +02:00
STACKIT-CLI-GUIDE.md cleanup repository 2025-06-11 15:07:19 +02:00

Basic High Availability (HA) Setup Using VRRP

This guide provides step-by-step instructions for setting up a basic active/passive Virtual Router Redundancy Protocol (VRRP) high availability (HA) cluster using the STACKIT CLI. This configuration ensures one virtual machine (VM) acts as the active primary node while the other remains on standby as a failover.

See STACKIT Cli-Guide to perform setup via CLI instead of terraform!

Overview of Core Components

  • Two virtual machines in an active/passive configuration.
  • VRRP synchronization between the nodes.
  • Security group rules for VRRP and ICMP traffic.
  • A dedicated internal virtual IP (vIP) bound to a shared NIC port.
  • Public IP binding for external access to HA endpoint.

Diagrams:

  • HA Traffic Flow:

  • vIP Binding Concept: