Complete Service Mesh and HashiCorp Consul tutorial - Real life demo of setting up Consul in Kubernetes multi cluster, multi cloud with failover 🚀
💜 Complete DevSecOps Bootcamp:
bit.ly/3tToJxt 💙 Complete DevOps Bootcamp:
bit.ly/471xVhQ 🧡 GitLab Course with K8s, Microservices, Multi-Stage:
bit.ly/3QwWRbi #servicemesh #hashicorp #techworldwithnana HashiCorp Consul is a service mesh solution. A service mesh is a dedicated infrastructure layer that controls service-to-service communication in a microservices architecture. It manages the routing of service requests to other services, performs load balancing, encrypts data, and discovers other services.
▬▬▬▬▬▬ R E F E R E N C E S 🔗▬▬▬▬▬▬
► Git repo:
gitlab.com/twn-youtube/consul-crash-course ► Helm Chart Reference:
developer.hashicorp.com/consul/docs/k8s/helm ► Required Ports for Consul:
developer.hashicorp.com/consul/docs/install/ports ▬▬▬▬▬▬ Course Pre-Requisites ▬▬▬▬▬▬
💡 Kubernetes, Terraform, AWS
👉 Microservices explained:
• Microservices explained - the What, W... 👉 Service Mesh explained:
• Istio & Service Mesh - simply explain... 👉 Istio Setup Demo:
• Istio Setup in Kubernetes | Step by S... 👉 Kubernetes Crash Course:
• Kubernetes Crash Course for Absolute ... ▬▬▬▬▬▬ What you’ll learn in 2 Hours ✅ ▬▬▬▬▬▬
► What service mesh is, what problems it solves in microservices architecture
► How service mesh and Consul specifically works
► How Consul works in Kubernetes multi-cluster, hybrid environments with VMs
► Consul Architecture (Control Plane and Data Plane)
► Learn about
- Proxy containers
- Dynamic Service Discovery
- Health Checks and Fault Tolerance
► Learn about secure networking - creating a zero-trust network:
- Mutual TLS - mTLS
- Authenticated Communication
- Control Traffic with Service Intentions
► Hands-on demo 🧑🏽💻
- create 2 K8s clusters on 2 different cloud platforms
- deploy microservices application and Consul on it
- configure failover, so in case one service is unhealthy or unreachable it routes the traffic to the healthy service instance on the other cloud platform
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
00:00 - Intro and Course Overview
01:24 - Why we need a service mesh?
08:49 - What is a Service Mesh? What is Consul?
09:52 - How it works without Consul - a K8s city
13:42 - How it works with Consul Service Mesh
20:12 - Secure Networking - How mTLS works
24:10 - Zero-Trust Network - Authentication and Communication Rules
26:29 - Observability
28:16 - Consul Architecture - Consul Servers
29:51 - Consul Architecture - Control Plane and Data Plane
31:06 - Consul in multi-cluster environment
33:47 - Consul in hybrid environment
37:46 - Consul Multi-Cluster Multi-Cloud DEMO
37:48 - Demo Overview
40:15 - Create K8s cluster on AWS EKS
52:14 - Deploy Microservices App on EKS
1:00:54 - Deploy Consul on EKS
1:23:50 - Configure Access Rules
1:28:16 - Create on connect to 2nd K8s cluster
1:32:28 - Deploy Consul and Microservices on LKE
1:36:28 - Connect the clusters - Add peer connection
1:42:18 - Configure failover to other cluster 🎉
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
INSTAGRAM ►
bit.ly/2F3LXYJ TWITTER ►
bit.ly/3i54PUB LINKEDIN ►
bit.ly/3hWOLVT Facebook group ►
bit.ly/32UVSZP
@TechWorldwithNana
6 months ago
If this course was helpful for you, please like and share it with others, highly appreciate it😊💙 ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬ 00:00 - Intro and Course Overview 01:24 - Why we need a service mesh? 08:49 - What is a Service Mesh? What is Consul? 09:52 - How it works without Consul - a K8s city 13:42 - How it works with Consul Service Mesh 20:12 - Secure Networking - How mTLS works 24:10 - Zero-Trust Network - Authentication and Communication Rules 26:29 - Observability 28:16 - Consul Architecture - Consul Servers 29:51 - Consul Architecture - Control Plane and Data Plane 31:06 - Consul in multi-cluster environment 33:47 - Consul in hybrid environment 37:46 - Consul Multi-Cluster Multi-Cloud DEMO 37:48 - Demo Overview 40:15 - Create K8s cluster on AWS EKS 52:14 - Deploy Microservices App on EKS 1:00:54 - Deploy Consul on EKS 1:23:50 - Configure Access Rules 1:28:16 - Create on connect to 2nd K8s cluster 1:32:28 - Deploy Consul and Microservices on LKE 1:36:28 - Connect the clusters - Add peer connection 1:42:18 - Configure failover to other cluster
17 |