AWS Load Balancer Setup on a Self-Hosted Kubernetes Cluster

AWS Load Balancer Setup on a Self-Hosted Kubernetes Cluster

This video will guide you on how to configure and control an AWS Load Balancer for your Kubernetes cluster. I’ll deploy a web app on the Kubernetes cluster and expose it via the Load Balancer, which I’ll access over the internet using a subdomain.

Like, subscribe, and leave a comment below if you enjoyed the video.
00:00 Introduction
00:38 Infrastructure Diagram
01:24 GitHub Repository for This Demo
02:35 Script to Create the Cluster
05:06 Terraform Code to Provision Infrastructure
05:27 Terraform Variables
07:15 Terraform Code for VPC and Security Groups
09:06 Terraform Code for IAM Roles for Cluster Nodes
09:53 Terraform Code for Cluster Nodes
11:21 Terraform Outputs
11:46 Creating the Infrastructure for Kubernetes
13:43 Preparing and Connecting to the Bastion Host
16:35 Connecting to Cluster Nodes
17:45 Preparing Nodes for Kubeadm Using a Bash Script
19:57 Installing the Network CNI Plugin
21:14 Joining Worker Nodes
23:20 Setting Up Kubectl on the Bastion Host
25:34 Installing the Load Balancer Controller
26:32 Web App Manifests
29:48 Creating Deployments and Services for the Web App
32:35 SSL Certificate
34:29 Ingress Manifest for Load Balancer
38:45 Creating the Ingress
41:30 Accessing the App and Reviewing the Load Balancer
44:10 Cleaning Up the Resources

Other videos on kubernetes:
Create a self-hosted cluster – https://youtu.be/Ca4_xBr0BwQ
Create an EKS cluster with terraform – https://youtu.be/ziJxFW-iL6o

Documentation:
AWS load balancer controller https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/
Ingress https://kubernetes.io/docs/concepts/services-networking/ingress/
Create a cluster with kubeadm https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/

#kubernetes #devops