Vault Raft Cluster High Availability Test in AWS

Опубликовано: 14 Октябрь 2024
на канале: TeKanAid
1,100
26

In this video, I demonstrate how to test the high availability of a Vault Raft cluster deployed in #AWS with a loadbalancer.

We will see how to configure the loadbalancer to only send requests to the active node.

Then, we will perform two scenarios of node failure: one where a follower node is terminated and one where a leader node is terminated. I will explain how the cluster handles the failure and elects a new leader, and how the loadbalancer detects the unhealthy node and routes the traffic to the leader node.

This video is useful for anyone who wants to learn how to use Vault #Raft as a storage backend and ensure high availability and fault tolerance for their secrets management.

This video is part of my Vault 202 for Operators course. If you're interested in checking it out, here is the link:

HashiCorp Vault 202 for Operators ► https://bit.ly/hc-vault-202

▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬

00:00 - Introduction
00:40 - Test Setup
04:28 - Terminating a Follower Node
06:04 - Autoscaling Group Recreates a Vault Node
08:47 - Vault Node added to Cluster
09:30 - Terminating the Leader Node
10:01 - Losing Data for 5 seconds
11:05 - Autoscaling Group Adds a Node
11:43 - 5 Seconds Timeout Explained
12:49 - Vault Node added to the Cluster
13:53 - Wrap-Up

▬▬▬▬▬▬▬▬ Useful Links 🛠 ▬▬▬▬▬▬▬
HashiCorp Vault 202 for Operators ► https://bit.ly/hc-vault-202

▬▬▬▬▬▬▬▬ Playgrounds 🎠 ▬▬▬▬▬▬▬▬
Free Playgrounds ► https://tekanaid.com/courses?category...

▬▬▬▬▬▬▬▬▬ Courses 🎓 ▬▬▬▬▬▬▬▬
TeKanAid Academy Subscription ► https://bit.ly/subscription-premium
Terraform 101 - Certified Terraform Associate ► https://bit.ly/hc-terraform-101
🎟️ Get 15% off of my Terraform 101 Course with this coupon ► YOUTUBE15TF101
HashiCorp Sentinel 101 ► https://bit.ly/hc-sentinel-101
HashiCorp Vault 101 - Certified Vault Associate ► https://bit.ly/hc-vault-101
🎟️ Get 15% off of my Vault 101 Course with this coupon ► YOUTUBE15VAULT101
HashiCorp Vault 201 - Vault for Apps in Kubernetes ► https://bit.ly/hc-vault-201
HashiCorp Vault 202 for Operators ► https://bit.ly/hc-vault-202

▬▬▬▬▬▬▬▬ Community 🌎 ▬▬▬▬▬▬▬▬▬
TeKanAid Community Forum ► https://tekanaid.com/community

▬▬▬▬▬▬▬▬ Connect 👋 ▬▬▬▬▬▬▬▬▬
TeKanAid Academy ► https://tekanaid.com/courses
Website ► https://bit.ly/TeKanAid_Website
Facebook Page ► https://bit.ly/TeKanAid_Facebook
Don't forget to subscribe ► https://bit.ly/TeKanAid_YouTube_Subsc...
MEDIUM ► https://bit.ly/Sam_Medium
TWITTER TeKanAid ► https://bit.ly/TeKanAid_Twitter
TWITTER Sam ► https://bit.ly/Sam_Twitter
LINKEDIN TeKanAid ► https://bit.ly/TeKanAid_LinkedIn
LINKEDIN Sam ► https://bit.ly/Sam_linkedin