No description
Find a file
Mauritz Uphoff e4c810dea7
Some checks failed
CI / Terraform Format & Validate (push) Failing after 43s
CI / TruffleHog Secrets Scan (push) Successful in 1m4s
clean up repo
2025-06-12 12:26:59 +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 clean up repo 2025-06-12 12:26:59 +02:00
.terraform.lock.hcl clean up repo 2025-06-12 12:26:59 +02:00
00-provider.tf clean up repo 2025-06-12 12:26:59 +02:00
01-config.tf clean up repo 2025-06-12 12:26:59 +02:00
02-user_data Initial commit 2025-06-10 16:32:16 +02:00
03-network.tf clean up repo 2025-06-12 12:26:59 +02:00
04-master.tf clean up repo 2025-06-12 12:26:59 +02:00
05-backup.tf clean up repo 2025-06-12 12:26:59 +02:00
06-ha.tf clean up repo 2025-06-12 12:26:59 +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: